1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

17926 Commits

Author SHA1 Message Date
Jeremy Allison
46e59a57eb r19709: Fix bug - deadtime timeout was broken
because of this. Probably a show-stopper for 3.0.23d.
Thanks to Alain GORLIER <alain.gorlier@altissemiconductor.com>
for the fix.
Jeremy.
(This used to be commit b167785cbd7911940e16fd2a54ec665857feef5e)
2007-10-10 12:15:48 -05:00
Jeremy Allison
d988af921d r19705: Fix blocker bug for 3.0.23d - find_forced_group could
return an uninitialized sid.
Jeremy.
(This used to be commit 57c60103e7dd8f9907bc2954369ea8db8b3b69ff)
2007-10-10 12:15:48 -05:00
Simo Sorce
b903eb231a r19703: Don't free a string if you want to return it!
(This used to be commit 3fed72ac3efd1fa7df8fb7d1e2cb9772d66bb4bd)
2007-10-10 12:15:48 -05:00
Simo Sorce
4d12d3a5c8 r19692: Another fix.
(This used to be commit a86a56fed3eb06b4b4a04329d42a9f57bad16271)
2007-10-10 12:15:47 -05:00
Simo Sorce
cccf8f0633 r19691: Fix the build
(This used to be commit fd70972ad943411f58ad9698b33b32e15eae88e4)
2007-10-10 12:15:47 -05:00
Simo Sorce
750947dbe4 r19690: Remove this ancient module, I never realized it was ported over.
(This used to be commit 3ef6ef7cc89b6421b9e8ec301cbd55ccd09e4d20)
2007-10-10 12:15:47 -05:00
Volker Lendecke
64bab725f0 r19689: Fix a NULL dereference found by coverity (the call to strlen).
Jerry, please check this. The way I understood alpha_strcpy the last arg needs
to be the size of the target, not of the source.

Thanks,

Volker
(This used to be commit 287d68daab89c78748b90849c9782473784b6a84)
2007-10-10 12:15:47 -05:00
Volker Lendecke
82cd90292f r19688: Fix a deadcode warning by Coverity.
Simo, I'm not sure this is the correct fix. So I'd like you to look at it and
merge to 4 if appropriate.

Volker
(This used to be commit afd7f12124b02b594063535f93903a8a598a0587)
2007-10-10 12:15:47 -05:00
Volker Lendecke
bae1fcd20f r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
(This used to be commit b7dc9b81696aa5434419c5378a47b41c6dee3dfa)
2007-10-10 12:15:47 -05:00
Volker Lendecke
782d33e1c8 r19686: Fix the build
(This used to be commit 28ac0235810c53eccb449201ac933d7eaf8eb38f)
2007-10-10 12:15:46 -05:00
Volker Lendecke
3a1ada7635 r19685: Two changes inspired by problems with huge tdbs. tdbtool's list command now
prints the hash on every record for easier awk'ing, and tdbbackup allows a
different hash chain length on the backed up tdb.

Jeremy, Günther, this might be interesting for you huge domains. Not only
locking.tdb, also the winbind ones might grow huge.

In the installation I fixed with this winbind spent a huge amount of CPU
spinning through a degenerated winbindd_idmap.tdb with entries for more than
15.000 users. With a default number of hash chains of 131 on that tdb you can
imagine that the lists get large.

Not merging to 4, I don't get tdbbackup to compile there right now.

What about changing the global default hash chain number to be dramatically
larger? Disk is cheap these days.

Volker
(This used to be commit 577d0ff658596f8246f120e0342cc5c9e4077ece)
2007-10-10 12:15:46 -05:00
Volker Lendecke
bef92ebb25 r19669: set_share_security does not need a mem_ctx passed
(This used to be commit 53eaa603eb84047263c27d57b8c0f5ce8e157189)
2007-10-10 12:15:46 -05:00
Volker Lendecke
b6b84f98c0 r19668: Convert the locking params to use struct share_param instead of snum
(This used to be commit 609dbec600048718b86cd1ecdc2ce49bbdeb803c)
2007-10-10 12:15:46 -05:00
Volker Lendecke
5f3a692748 r19667: Fix incorrect null check
(This used to be commit dc9cdf37e9e2d33d46f0f6da34a3df372eede982)
2007-10-10 12:15:46 -05:00
Volker Lendecke
dd8f8c01b7 r19666: Talloc_guide text on multithreading by Remi Turboult
(This used to be commit 36a7bf738afd466e378fb2f09d1ce0b47ec924a4)
2007-10-10 12:15:45 -05:00
Volker Lendecke
b6fda7f8bd r19665: Fix a memleak
(This used to be commit bc6d4e52806eb1ace282e983566660928214374c)
2007-10-10 12:15:45 -05:00
Jeremy Allison
58406b0d1c r19659: Fix bug . Possible crash in signing on/off code.
Jeremy.
(This used to be commit 78c1c43523d787825bdb6d52e128bf0af5eccaae)
2007-10-10 12:15:45 -05:00
Volker Lendecke
bf6bb74985 r19657: Correctly check for malloc failure
(This used to be commit e5b5c9b058b7f2a6188684019ffe42e497ac6b6c)
2007-10-10 12:15:45 -05:00
Volker Lendecke
8371c0e44c r19656: Correctly check for malloc failure
(This used to be commit 3d0661b0393804707eb42d9ee9377a622333f252)
2007-10-10 12:15:45 -05:00
Jim McDonough
3e8809cb4c r19655: Jeremy, please review:
I updated the vfs version in 3.0.24 from 16 to 17, beacuse 16 was the
latest released code, but on SAMBA_3_0, I reverted my earlier change
back from 19 to 18, because we've not had any released code with 18.

This is related to the kernel_flock call addition.
(This used to be commit fb8e43fb493b486c31fc141b5240a7dd36c9219f)
2007-10-10 12:15:44 -05:00
Günther Deschner
c9567f2f22 r19652: Trying to track down which caller tries to store a 0 length domain name
in the affinity cache (which happens all the time here).

Guenther
(This used to be commit 45d6d300767d5b99aff332bdfb0a8f464fd103e0)
2007-10-10 12:15:44 -05:00
Günther Deschner
61a38bd4b8 r19651: Fix interesting bug with the automatic site coverage in Active Directory:
When having DC-less sites, AD assigns DCs from other sites to that site
that does not have it's own DC. The most reliable way for us to identify
the nearest DC - in that and all other cases - is the closest_dc flag in
the CLDAP reply.

Guenther
(This used to be commit ff004f7284cb047e738ba3d3ad6602e8aa84e883)
2007-10-10 12:15:44 -05:00
Jim McDonough
331cafd30f r19648: whoops, forgot to increment the vfs version number with the added flock
call.
(This used to be commit 1bc834455de0088941609ed46fcecde5b796fe77)
2007-10-10 12:15:43 -05:00
Jim McDonough
4fe70bcee2 r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890fa9c68a9848538728023192319c81a)
2007-10-10 12:15:43 -05:00
Günther Deschner
e513fb27d6 r19646: Fix memleak in the default_ou_string handling. Thanks to David Hu
<david.hu@hp.com>. Fixes .

Guenther
(This used to be commit 4ec896cdbe441b17d91895a50ac9be61efe2f9c1)
2007-10-10 12:15:43 -05:00
Jeremy Allison
892d07b30b r19627: Fix for bug - logic error in acl_group_override()
function. Fix from Jim Wang of Wesoft.
Jeremy.
(This used to be commit eb78ce1f550377bfb1fd43f550641cf8a606e973)
2007-10-10 12:15:43 -05:00
James Peach
9a02736348 r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
in core dump path.
(This used to be commit 9a51fba71c5fa7082c331e1a78a98638d9aa06cf)
2007-10-10 12:15:42 -05:00
Jeremy Allison
ea705fb345 r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
(This used to be commit 02a0ac0bacafe91e4fa3ca0cae2f05a25215efbc)
2007-10-10 12:15:42 -05:00
Jelmer Vernooij
482603735d r19591: Use import' and include' in the IDL and regenerate.
(This used to be commit 68fc15a5e025348dee4bf14aa4498e20905cb377)
2007-10-10 12:15:42 -05:00
Gerald Carter
cd41945acc r19579: BUG 4075: patch from Dmitry Butskoy <dmitry@butskoy.name>.
Allow smbd to use winbindd to lookup uids/gids outside the
idmap range if 'winbind trusted domains only = yes'
(This used to be commit 5b3ac400a7d51dfc818563189bdf6649b2dc3a52)
2007-10-10 12:15:42 -05:00
Jeremy Allison
f8fc3f9158 r19577: Fix from Nils Nordman for bug . Thanks !
Jeremy.
(This used to be commit 3b5ab8ab8296339ad0e62d8564d706b5a446dcf3)
2007-10-10 12:15:42 -05:00
James Peach
3dcb61adcb r19576: Correct trivial typo.
(This used to be commit a0ada1aa342722fa7f90715a312b5d81f02f937b)
2007-10-10 12:15:42 -05:00
Jelmer Vernooij
2e1307bbc8 r19552: Fix names of known failing tests.
(This used to be commit b533620f04758636db6ae5fcea932bb392bc039a)
2007-10-10 12:15:41 -05:00
Jelmer Vernooij
ddc7dd256e r19542: Regenerate IDL.
(This used to be commit 759c1b0fd24aa23802432a0b9447435044d2a11c)
2007-10-10 12:15:41 -05:00
Jeremy Allison
27c4b072b0 r19533: Add a suffix to the program name if this is a process with a
non-default configuration file name.
Jeremy.
(This used to be commit e8bf421c018ed829b9dba7c0872693080b77d49d)
2007-10-10 12:15:41 -05:00
Jeremy Allison
b7bf248985 r19529: Added showacls togle. Previously was vendor-specific code.
Merging these in - should have been merged back before (will
be tidied up later).
Jeremy.
(This used to be commit 1e9284590f42b61bd730104920bc535bf7dfcbf4)
2007-10-10 12:15:41 -05:00
Günther Deschner
31a63ab19f r19528: Fix container handling for "net ads user" and "net ads group" functions
along with some memleaks.

Guenther
(This used to be commit 4bad52c5b3a983418d4216a2c3f5e04926e37e94)
2007-10-10 12:15:41 -05:00
Günther Deschner
4e0f560f60 r19527: Fix double free in "net ads group add".
Guenther
(This used to be commit 08db3d3b04d91238b739e88e817bd3f800b768ee)
2007-10-10 12:15:41 -05:00
Günther Deschner
6b65a1c26d r19526: Fix minor memleak.
Guenther
(This used to be commit 61ebedc82ee7d7a98e2a52b0677d723a801ab30f)
2007-10-10 12:15:40 -05:00
Günther Deschner
25fb86570d r19525: Fix the same error in "net ads group delete".
Guenther
(This used to be commit 94ed3e9de8671d677451d2a16977caeeb7e744d1)
2007-10-10 12:15:40 -05:00
Günther Deschner
8a9c4331a3 r19524: Stop "net ads user delete" from doing funny things.
Guenther
(This used to be commit a20e7c0315f9a06ce2139f99d035b409b066d722)
2007-10-10 12:15:40 -05:00
Simo Sorce
2c14cf3b2b r19516: Fix the DN, to make searches using the domain as base
the DN must be rid,domain and not domain,rid

Also use member and not memberOf for group members
following conventions.
(This used to be commit 7c0ea791d21d914e882b56a849766d966ce8ed1a)
2007-10-10 12:15:40 -05:00
Gerald Carter
c101ce569d r19497: Thought I already fixes the etags target. Ignore .svn
and not CVS (since we don't use CVS anymore
(This used to be commit 782298cd03f3fd79a46e65626ed2864e46ce3daf)
2007-10-10 12:15:40 -05:00
Günther Deschner
99433b1f7b r19494: When building with a static Heimdal, make sure not to link against
-lgssapi_krb5. With that change I could sucessfully verify that Heimdal
support is still working nicely after the changes from jpeach.

Guenther
(This used to be commit 53d09487a003c00b7bb6c1a4824bda799b928bfc)
2007-10-10 12:15:39 -05:00
Günther Deschner
78f977f746 r19493: There is no point in prompting for a user's password in "net ads" when
we can't find a domain controller at all.

Guenther
(This used to be commit e691ae7da3620a7d4c0e0b1217aaae44db0b8db3)
2007-10-10 12:15:39 -05:00
Simo Sorce
151237477b r19491: backport changes from samba4
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)
2007-10-10 12:15:39 -05:00
Volker Lendecke
e6b56f9f0c r19487: Fix coverity # 313
(This used to be commit 0eb5a0f7b8dd26dae489b74e1d2a88188ae9e48d)
2007-10-10 12:15:39 -05:00
Volker Lendecke
3a22bdf89e r19486: Probably Coverity is wrong here, but this fixes their ID 317. Not sure whether
to merge it to 4_0. I want it in 3_0 because it took a bit to persuade myself
that el can not be NULL here.

Volker
(This used to be commit c0c035b1c8b9d80cd205cde16ad3e838e2d44459)
2007-10-10 12:15:39 -05:00
Volker Lendecke
1fd4184da7 r19485: Fix Coverity # 319
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)
2007-10-10 12:15:38 -05:00
Volker Lendecke
16e98a60d1 r19484: Fix Coverity
(This used to be commit c3f860e55da8877131f149ca213b311c215e8a6e)
2007-10-10 12:15:38 -05:00