1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

17943 Commits

Author SHA1 Message Date
Volker Lendecke
9bb1f909fd r19775: Fix typo
(This used to be commit 370e29ebb9da92c9072bdd4eec84980b5753089a)
2007-10-10 12:15:54 -05:00
Volker Lendecke
e37200a82e r19774: Fix typo
(This used to be commit 842599a7fd1217b498dc2d241d39ed604cf0da7d)
2007-10-10 12:15:54 -05:00
Volker Lendecke
5e48602456 r19773: TALLOC_FREE checks for NULL itself
(This used to be commit fb3983ae1fdd1935333ffee80bceb747228ac0f3)
2007-10-10 12:15:54 -05:00
Volker Lendecke
5f3b7ee713 r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker
(This used to be commit 55dc4741cfead0f21deb7ea2d28afb240505686b)
2007-10-10 12:15:54 -05:00
Gerald Carter
d596aa931b r19764: set version in 3.0 branch to 3.0.25
(This used to be commit d7179d945c24f1aa4fff243cc6c29a5545ce692a)
2007-10-10 12:15:53 -05:00
Gerald Carter
c2aae726ea r19762: libaddns/*[ch] code fixes donated by Centeris Corporation
(http://www.centeris.com/) under my copyright.

* Rework error reporting to use DNS_ERROR instead
  of int32
* Convert memory allocation to use talloc()
* Generalize the DNS request/response packet marshalling
* Fix the secure update requests
(This used to be commit c78798333616c3f823514df0f58da2eb3a30a988)
2007-10-10 12:15:53 -05:00
Gerald Carter
9a88644bb5 r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
(This used to be commit e37132f219bb9ef52c7fc9b396bd272dd5abca70)
2007-10-10 12:15:53 -05:00
Gerald Carter
8fa0a80b49 r19754: * When using a krb5 session setup, we don't fill in the server_name
string the clis_state struct.  So call saf_store() after we
  have the short domain name in the lsa_query_inof_policy code.

* Remove unused server string in saf_delete()
(This used to be commit 3eddae2f2080f8dafec883cb9ffa2e578c242607)
2007-10-10 12:15:53 -05:00
Lars Müller
f5a1ec7407 r19748: Ensure to link against the required libraries.
(This used to be commit 85d8c73fbbf86f4d22244f8e2bb2fdd51fa6680b)
2007-10-10 12:15:53 -05:00
Lars Müller
571aca9927 r19747: Ensure to link with the required objects.
(This used to be commit 8d50fb3f5152b5daa62fde5bbf34f585631be397)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
9e7e5938ab r19744: merge from samba4
metze
(This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
5a77ccfbfc r19741: fix compiler warnings
metze
(This used to be commit 18171cf54b22f9f2d73753db580934bd10e95e3d)
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
0fa75c6797 r19739: fix compiler warning
metze
(This used to be commit b7965ac26cbfdfe60f929e2fa3a295b8c57d220d)
2007-10-10 12:15:51 -05:00
Stefan Metzmacher
81cf0a5cd8 r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23

metze
(This used to be commit b61269d7e39382d395e84bf2b488f6b40a8049a6)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
866a3b6e40 r19725: sync samba3's ldb with samba4
metze
(This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
06715191dd r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
(This used to be commit d8f9c200551038dad73be52bb066523312508089)
2007-10-10 12:15:49 -05:00
Jeremy Allison
8f723972ae r19710: Fix memory leak in get_conf_item_string(). As
we're just doing strchr on a const string there's
no need to strdup it before, we're never modifying
it. Just remove the variable "parm".
Jeremy.
(This used to be commit 1af18f613b1399220e38e7ab40665c2ca177c5a7)
2007-10-10 12:15:48 -05:00
Jeremy Allison
46e59a57eb r19709: Fix bug #4224 - 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 #4187. 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 #4212.

Guenther
(This used to be commit 4ec896cdbe441b17d91895a50ac9be61efe2f9c1)
2007-10-10 12:15:43 -05:00
Jeremy Allison
892d07b30b r19627: Fix for bug #4211 - 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 #4085. 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