1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00

1437 Commits

Author SHA1 Message Date
Andrew Bartlett
d645041d63 Merge from HEAD:
- remove useless #else
 - signed/unsigned fixes
 - use an fstring for LM hash buffer.

Andrew Bartlett
(This used to be commit c0fb53c31fd7341745d14640e761affc5dae5230)
2003-01-14 08:26:54 +00:00
Jeremy Allison
f504cc4e10 Don't touch data after a free.
Jeremy.
(This used to be commit 3aea32c8e6d204e41776b4bce79234d2159867b3)
2003-01-13 23:15:14 +00:00
Richard Sharpe
2a6bc4302e More janitorial duties. Pulling these in from samba-head.
(This used to be commit f2529a35a7b60c16e229cc3bf22afc726035f15d)
2003-01-13 20:37:46 +00:00
Jeremy Allison
dd510e0547 Added new message_send_pid() code that uses tdb append to reduce locking
contention on the messaging tdb.
Jeremy.
(This used to be commit ee0ceeff99f32146bebd4b49d346abdaa20aa10c)
2003-01-11 00:17:41 +00:00
Jeremy Allison
6dea813728 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.
(This used to be commit b752c0340f96669b2b2573cf7d3d10f99580b070)
2003-01-10 20:17:02 +00:00
Andrew Bartlett
aff13f53af Merge from HEAD - whitespace :-)
(This used to be commit 5fc90b6cf438480c9fcf8d01f0a319a52c5914cc)
2003-01-04 09:08:47 +00:00
Andrew Bartlett
2a9c68cdc8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
(This used to be commit c8a809a2a83974330bc1015d07d69f40a4a09610)
2003-01-04 08:49:20 +00:00
Andrew Bartlett
863e9ca2c6 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
(This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
2003-01-04 08:48:15 +00:00
Gerald Carter
f5d5df9644 patch to include support for daemontools from Michael Handler
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03 17:39:30 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Andrew Bartlett
43059acb95 Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
2003-01-03 03:24:23 +00:00
Andrew Bartlett
a63aa62bdd Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
(This used to be commit 353c6b24234444c5430de183c3a4b1318bfce02c)
2003-01-03 01:41:44 +00:00
Jeremy Allison
98ac4503ac Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
2002-12-23 23:54:10 +00:00
Jeremy Allison
fa997c54eb talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
2002-12-22 16:03:28 +00:00
Jeremy Allison
ef8bd7c4f7 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-20 20:21:31 +00:00
Herb Lewis
d81a04b410 merge from 2.2
actually print args for %g and %e
(This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9)
2002-12-19 19:57:37 +00:00
Jeremy Allison
73b5be5de6 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.
(This used to be commit bcd22a9039b0fb3697ebc4377898cc7ecfd853cc)
2002-12-14 00:57:45 +00:00
Jeremy Allison
39c78bf516 Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
(This used to be commit ec4ed45563f9d8e25fcfd88840944a90b3139c3e)
2002-12-11 23:54:40 +00:00
Jeremy Allison
f35d43a7d2 The _abs time functions should not be converting from/to GMT.
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to>
Jeremy.
(This used to be commit 199c9fcbb9e9a5d4b75ac370d358f54e91808e76)
2002-12-10 00:46:52 +00:00
Jeremy Allison
ccdfed5587 Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
(This used to be commit 0ff254264e6e43399404595bc87b5bd889e17952)
2002-12-06 19:59:04 +00:00
Jim McDonough
4225a857c9 fns for retrieving dns host name and domain name (get rid of lp_realm hacks).
(This used to be commit eda83b6d13f5f73136363d165e9396725b923873)
2002-12-03 19:36:53 +00:00
Andrew Bartlett
755893ba3c Merge from HEAD, struct in_addr is always in network byte order, so we don't
need a little-endian case here.
(This used to be commit 24fb89da51f54cc547f7f963b094b0f3178632e4)
2002-12-01 03:07:42 +00:00
Tim Potter
f3e3a56ea9 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
(This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-29 02:58:59 +00:00
Jeremy Allison
de474974ea Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-23 02:52:36 +00:00
Andrew Tridgell
91b7ac9fb9 merged the %U changes to 3.0
(This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
2002-11-20 00:53:24 +00:00
Andrew Bartlett
4b117b8917 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
(This used to be commit aa41fb8703db4a4ecd3b353874c99a994e8ed630)
2002-11-15 14:06:35 +00:00
Jeremy Allison
2f194322d4 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.
(This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-12 23:20:50 +00:00
Jeremy Allison
da45fbf635 Fix all returns to be size_t (they are all unsigned). Fixup strlen being
done on ucs2 strings.
Jeremy.
(This used to be commit 9a6c6946193289eac5b91fe6fd236c0742ec6f8c)
2002-11-11 22:13:05 +00:00
Simo Sorce
115f859a85 sync with head
was:
consolidate alla error mapping functions in one file
(This used to be commit 2c9e8b79d94e3276e9eb9bd676af0a68ee3908ff)
2002-11-10 04:34:03 +00:00
Jelmer Vernooij
f09109c7bc Last sync with HEAD
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09 17:08:58 +00:00
Jelmer Vernooij
dc5297f413 Sync with HEAD
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-11-09 16:57:45 +00:00
Gerald Carter
698fe3f07a patches from Urban
(This used to be commit 850b185a6e33fa924fa59cdd6316c9160ba65270)
2002-11-08 18:45:38 +00:00
Simo Sorce
d12baf7bf7 port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02 12:53:13 +00:00
Andrew Bartlett
6d7195d1d7 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
(This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-02 03:47:48 +00:00
Jelmer Vernooij
2f367b091e Sync with HEAD
(This used to be commit a64affffb2acf68956dc25be45c0559e6139a571)
2002-10-29 17:31:00 +00:00
Jim McDonough
e5fda27b09 Move guid formatting functions over from HEAD.
(This used to be commit 60b9e352b3c0769d0d3fe3067399bb3441f29502)
2002-10-29 14:45:41 +00:00
Jelmer Vernooij
3a53724d1c Sync with HEAD
(This used to be commit 4ae350671ef8aeae52995b3ca79e135cf444ae39)
2002-10-28 19:44:11 +00:00
Andrew Bartlett
35ac9d287f 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.
(This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
2002-10-26 02:20:59 +00:00
Jeremy Allison
f735551b9e 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.
(This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
2002-10-23 01:22:32 +00:00
Tim Potter
051286cd46 Bugfix for pidfile_create() from Kelledin.
(This used to be commit 5a6ab85ea5479d103026032bdab8b2355b9c564c)
2002-10-21 00:20:12 +00:00
Jeremy Allison
e9cc37b0bb Start to merge the new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
(This used to be commit 597c4610090d711fd30c1ffacc97212cf399a264)
2002-10-18 19:46:32 +00:00
Jeremy Allison
3665777a5b Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)
2002-10-04 22:53:18 +00:00
Jeremy Allison
a0cddf2493 Added const. Anal formatting fixup.
Jeremy.
(This used to be commit 66531969dfe0935be2c9c4d89f5bba80d862a52f)
2002-10-02 19:12:14 +00:00
Gerald Carter
f2d1f19a66 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).
(This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
2002-10-01 18:26:00 +00:00
Andrew Bartlett
ad8a22e570 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
(This used to be commit 83973c389355a5cc9ca74af467dfd8b5dabd2c8f)
2002-10-01 13:10:57 +00:00
Jeremy Allison
88e481ec13 Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
(This used to be commit 7ba5636897ea57669c62d22bb399bcfe5e3a9907)
2002-10-01 05:54:40 +00:00
Jeremy Allison
4d2d5c4ace Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
(This used to be commit 9c17faefa5cb0ed450578ae5bbcca44e3058bc9b)
2002-09-30 21:17:18 +00:00
Jeremy Allison
f6bdffbf8d Don't zero out numwritten before using.... Found by Pierre Belanger belanger@pobox.com
Jeremy.
(This used to be commit 495e6e3287152a7ec218a38b3133f7ae16d5a8d1)
2002-09-30 05:24:12 +00:00
Gerald Carter
7d1eb6f7b6 sync with HEAD
(This used to be commit ee9cbf58071adb627a49a94c6340aaba330486b5)
2002-09-26 18:58:34 +00:00
Gerald Carter
a834a73e34 sync'ing up for 3.0alpha20 release
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-25 15:19:00 +00:00