1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

9641 Commits

Author SHA1 Message Date
Herb Lewis
04adfa001b IRIX uses libns_winbind.so instead of libnss_winbind.so 0001-01-01 00:00:00 +00:00
Gerald Carter
c8266011b7 removing unused variable and unused file 0001-01-01 00:00:00 +00:00
Gerald Carter
5d821c0e23 make -i flag work lik eit did in 2.2 0001-01-01 00:00:00 +00:00
Andrew Bartlett
1df808ac89 Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,
and probably SWAT too..

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7d52f011e7 Merge from HEAD:
Keep all the const warnings in one place, by adding a utility function to
make the TDB_DATA.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
9b70fa868e Merge from HEAD:
- fstring/pstring mixups
 - the detection code that found them (disabled)
 - a bit of whitespace
 - a static

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
c0fb53c31f Merge from HEAD:
- remove useless #else
 - signed/unsigned fixes
 - use an fstring for LM hash buffer.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
6dd474d845 Merge from HEAD - eliminated unused arguments.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
2a1adb8f81 Merge indirection, signed/unsigned and uninitialiased-value fixes from HEAD.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Tridgell
20ebdee36d merge alt_name patch from head 0001-01-01 00:00:00 +00:00
Jeremy Allison
3aea32c8e6 Don't touch data after a free.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
67a0b30f50 Merge of indirection fixes from HEAD.
Jeremy
0001-01-01 00:00:00 +00:00
Richard Sharpe
f2529a35a7 More janitorial duties. Pulling these in from samba-head. 0001-01-01 00:00:00 +00:00
Richard Sharpe
fd847aa936 Now that I am running config.developer, I decided to get rif of some warnings:
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD
   4.3 from system includes.

2. Added a bit of const to places.

3. Made sure internal functions were declared where needed.
0001-01-01 00:00:00 +00:00
Gerald Carter
f8a915b14d [merge] make sure to update print queue cache during timeout_processing() to send notify events; CR 1491 0001-01-01 00:00:00 +00:00
Gerald Carter
d1c97738ba fix tdb_append() prototype 0001-01-01 00:00:00 +00:00
Jeremy Allison
ee0ceeff99 Added new message_send_pid() code that uses tdb append to reduce locking
contention on the messaging tdb.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
724cefabb0 Added tdb_append() call. Efficiently adds to an entry. Used by new messaging
code. Also added torture tests for it.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b752c0340f First part of efficiency fixes for message sending to pid's (cutting down
the amount of time we hold tdb locks). Gulp down all messages at once rather
than reading/re-writing one at a time. NOTE: All dispatch routines *must*
be able to cope with incoming message on *odd* byte boundaries (all current
handlers do).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
6cb9f6ccb1 Don't delete jobs subitted after the lpq time.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
47c1709425 a 0 length printer data value is not a memory allocation error; fix CR601 0001-01-01 00:00:00 +00:00
Herb Lewis
9151cd7d64 Moved smbd process counting functions from smbd/server.c to smbd/process.c
so that bin/vfstest can link.  merge from head
0001-01-01 00:00:00 +00:00
Jeremy Allison
2a974bc284 Ensure we return disk full by default on short writes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e048259472 Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
48774e77ac Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
01757e8b51 cannot assign to const 0001-01-01 00:00:00 +00:00
Jeremy Allison
1cff725e37 Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
0001-01-01 00:00:00 +00:00
Volker Lendecke
434e496289 Fix memory leak. Thanks, Herb!
Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
7977a025ae Merge from HEAD.
Volker
0001-01-01 00:00:00 +00:00
Christopher R. Hertel
a10195b711 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
0001-01-01 00:00:00 +00:00
Jeremy Allison
44ab8dc55e Fix memory leaks in pdb_ code.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
cd16064784 removed idpool from schema file (experimental) to remove the dependency
on nis.schema.

add $(LDFLAGS) to libsmbclient build
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7b95151ddc Merge from HEAD - handle VFS module load failures, change some error returns to
avoid sending NT_STATUS_UNSUCCESSFUL.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
c3a779fc0d Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
71b09408ef Some more profiles merges from HEAD (cvsignore and a stray const). 0001-01-01 00:00:00 +00:00
Richard Sharpe
2636b2231c Add profiles utility support to Samba 3.0.x 0001-01-01 00:00:00 +00:00
Andrew Bartlett
32a1802a99 Merge from HEAD - updates to correctly recognise LMv2, and NT# in LM feild.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
4b1a316e79 Merge from HEAD - get the test the right way around, so that we can change
passwords over RAP again.

(found by the build farm)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
3b24da8f99 The last of the merge of idra's shutdown changes from head...
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
5fc90b6cf4 Merge from HEAD - whitespace :-) 0001-01-01 00:00:00 +00:00
Andrew Bartlett
8129529c4f Merge from HEAD - vl's fix to my const patch. Also update the 'not have_krb5'
case.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
0d2da98590 The winbind in Samba 3.0 doesn't use the 'proof' for ntlm_auth_crap, so don't
include it in the struct.  (Important becouse it currently has the same version
number as the one in HEAD, which also doesn't have this).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
123ae99c7d Merge from HEAD - do an nt_errstr(nt_status) *after* assiging nt_status with
the actual error value :-)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
610be8d483 Make it clear that the credentials are being setup on the NETLOGON channel, and
may not be to our PDC (might be BDC, or trusted DC).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
91ca4771c6 Merge from HEAD - we already have one function for converting a unistr2 to a
static 'unix' string, so we don't need a second pdb specific version.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
f5850928a0 Merge from HEAD - extract user's list of SIDs from their NT_TOKEN and return
this as thier list of groups, rather than do a seperate lookup.  This NT_TOKEN
is originally initgroups() (or equiv) based.

We currently send all sids in our domain, perhaps this should be further
restricted, but this works for now.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
f3432869b9 Merge from HEAD - don't base RID on a name being the lp_guest_account(), let
the actual passdb modules decide that.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
c8a809a2a8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
f79324f730 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
d9417b08d1 Merge from HEAD - move user password changes into the NTSTATUS era, and add
suppport for the 'min password age' and 'min passwd len' concepts.
0001-01-01 00:00:00 +00:00