1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1439 Commits

Author SHA1 Message Date
Richard Sharpe
ef59740060 Remove a wayward file. 0001-01-01 00:00:00 +00:00
Gerald Carter
0fb724b321 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
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
Jeremy Allison
3aea32c8e6 Don't touch data after a free.
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
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
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
Andrew Bartlett
5fc90b6cf4 Merge from HEAD - whitespace :-) 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
Gerald Carter
a8db1b611d patch to include support for daemontools from Michael Handler 0001-01-01 00:00:00 +00:00
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
9e5297131c Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
353c6b2423 Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
aa8439a49e Finish adding strings to all talloc_init() calls.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
35d00bacdc talloc_init_named -> talloc_init.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
09a218a9f6 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
077c515ee9 merge from 2.2
actually print args for %g and %e
0001-01-01 00:00:00 +00:00
Jeremy Allison
bcd22a9039 The name pointer in the talloc context must not be a talloced entry as
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
ec4ed45563 Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
199c9fcbb9 The _abs time functions should not be converting from/to GMT.
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to>
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
0ff254264e Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
0001-01-01 00:00:00 +00:00
Jim McDonough
eda83b6d13 fns for retrieving dns host name and domain name (get rid of lp_realm hacks). 0001-01-01 00:00:00 +00:00
Andrew Bartlett
24fb89da51 Merge from HEAD, struct in_addr is always in network byte order, so we don't
need a little-endian case here.
0001-01-01 00:00:00 +00:00
Tim Potter
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
0001-01-01 00:00:00 +00:00
Jeremy Allison
5d5762d178 Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
58fa6bfee8 merged the %U changes to 3.0 0001-01-01 00:00:00 +00:00
Andrew Bartlett
aa41fb8703 Merge from HEAD:
- heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
f755711df8 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9a6c694619 Fix all returns to be size_t (they are all unsigned). Fixup strlen being
done on ucs2 strings.
Jeremy.
0001-01-01 00:00:00 +00:00
Simo Sorce
2c9e8b79d9 sync with head
was:
consolidate alla error mapping functions in one file
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
1175b62337 Last sync with HEAD 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
1a25dc776d Sync with HEAD 0001-01-01 00:00:00 +00:00
Gerald Carter
850b185a6e patches from Urban 0001-01-01 00:00:00 +00:00
Simo Sorce
cf67981e73 port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
0001-01-01 00:00:00 +00:00
Andrew Bartlett
2044d60bbe Merge passdb from HEAD -> 3.0
The work here includes:
 - metze' set/changed patch, which avoids making changes to ldap on unmodified
attributes.

 - volker's group mapping in passdb patch

 - volker's samsync stuff
 - volkers SAMR changes.

 - mezte's connection caching patch

 - my recent changes (fix magic root check, ldap ssl)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
a64affffb2 Sync with HEAD 0001-01-01 00:00:00 +00:00
Jim McDonough
60b9e352b3 Move guid formatting functions over from HEAD. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
4ae350671e Sync with HEAD 0001-01-01 00:00:00 +00:00
Andrew Bartlett
9fa1863d8e Try to catch up on the code I've put into HEAD that should be in 3.0:
- vorlan's hosts allow with DNS names patch
 - use x_fileno() in debug.c, not the struct directly.
 - check for server timeout on password change (was reporting success)
 - better error/status loggin in both the pam_winbind client and winbindd_pam
server code.
 - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway.
0001-01-01 00:00:00 +00:00
Jeremy Allison
40eafb9dde First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
5a6ab85ea5 Bugfix for pidfile_create() from Kelledin. 0001-01-01 00:00:00 +00:00
Jeremy Allison
597c461009 Start to merge the new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9fe3c0b90d Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
66531969df Added const. Anal formatting fixup.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
3de09e5cf1 syncing up with HEAD. Seems to be a lot of differences creeping in
(i ignored the new SAMBA stuff, but the rest of this looks like it should
have been merged already).
0001-01-01 00:00:00 +00:00
Andrew Bartlett
83973c3893 Updates from Samba HEAD:
- Fix segfaults in the 'net ads' commands when no password is provided
 - Readd --with-ldapsam for 2.2 compatability.  This conditionally compiles the
   old options, but the actual code is available on all ldap systems.
 - Fix shadow passwords (as per work with vl)
 - Fix sending plaintext passwords to unicode servers (again vl)
 - Add a bit of const to secrets.c functions
 - Fix some spelling and grammer by vance.
 - Document the -r option in smbgroupedit.

There are more changes in HEAD, I'm only merging the changes I've been involved
with.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
7ba5636897 Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9c17faefa5 Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
495e6e3287 Don't zero out numwritten before using.... Found by Pierre Belanger belanger@pobox.com
Jeremy.
0001-01-01 00:00:00 +00:00