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

20921 Commits

Author SHA1 Message Date
Volker Lendecke
55dc4741cf r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker
2007-10-10 12:15:54 -05:00
Gerald Carter
d7179d945c r19764: set version in 3.0 branch to 3.0.25 2007-10-10 12:15:53 -05:00
Gerald Carter
c787983336 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
2007-10-10 12:15:53 -05:00
Gerald Carter
e37132f219 r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup) 2007-10-10 12:15:53 -05:00
Gerald Carter
3eddae2f20 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()
2007-10-10 12:15:53 -05:00
Lars Müller
85d8c73fbb r19748: Ensure to link against the required libraries. 2007-10-10 12:15:53 -05:00
Lars Müller
8d50fb3f51 r19747: Ensure to link with the required objects. 2007-10-10 12:15:52 -05:00
Günther Deschner
8a2dded7fb r19745: For the fun of it, add an CLDAP client written in perl.
Guenther
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
fe61e6ebf7 r19744: merge from samba4
metze
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
18171cf54b r19741: fix compiler warnings
metze
2007-10-10 12:15:52 -05:00
Stefan Metzmacher
b7965ac26c r19739: fix compiler warning
metze
2007-10-10 12:15:51 -05:00
Stefan Metzmacher
b61269d7e3 r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23

metze
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
207643e9c9 r19725: sync samba3's ldb with samba4
metze
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
d8f9c20055 r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
2007-10-10 12:15:49 -05:00
Jeremy Allison
1af18f613b 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.
2007-10-10 12:15:48 -05:00
Jeremy Allison
b167785cbd 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.
2007-10-10 12:15:48 -05:00
Jeremy Allison
57c60103e7 r19705: Fix blocker bug for 3.0.23d - find_forced_group could
return an uninitialized sid.
Jeremy.
2007-10-10 12:15:48 -05:00
Simo Sorce
3fed72ac3e r19703: Don't free a string if you want to return it! 2007-10-10 12:15:48 -05:00
Simo Sorce
a86a56fed3 r19692: Another fix. 2007-10-10 12:15:47 -05:00
Simo Sorce
fd70972ad9 r19691: Fix the build 2007-10-10 12:15:47 -05:00
Simo Sorce
3ef6ef7cc8 r19690: Remove this ancient module, I never realized it was ported over. 2007-10-10 12:15:47 -05:00
Volker Lendecke
287d68daab 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
2007-10-10 12:15:47 -05:00
Volker Lendecke
afd7f12124 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
2007-10-10 12:15:47 -05:00
Volker Lendecke
b7dc9b8169 r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
2007-10-10 12:15:47 -05:00
Volker Lendecke
28ac023581 r19686: Fix the build 2007-10-10 12:15:46 -05:00
Volker Lendecke
577d0ff658 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
2007-10-10 12:15:46 -05:00
Volker Lendecke
53eaa603eb r19669: set_share_security does not need a mem_ctx passed 2007-10-10 12:15:46 -05:00
Volker Lendecke
609dbec600 r19668: Convert the locking params to use struct share_param instead of snum 2007-10-10 12:15:46 -05:00
Volker Lendecke
dc9cdf37e9 r19667: Fix incorrect null check 2007-10-10 12:15:46 -05:00
Volker Lendecke
36a7bf738a r19666: Talloc_guide text on multithreading by Remi Turboult 2007-10-10 12:15:45 -05:00
Volker Lendecke
bc6d4e5280 r19665: Fix a memleak 2007-10-10 12:15:45 -05:00
Jeremy Allison
78c1c43523 r19659: Fix bug #4187. Possible crash in signing on/off code.
Jeremy.
2007-10-10 12:15:45 -05:00
Volker Lendecke
e5b5c9b058 r19657: Correctly check for malloc failure 2007-10-10 12:15:45 -05:00
Volker Lendecke
3d0661b039 r19656: Correctly check for malloc failure 2007-10-10 12:15:45 -05:00
Jim McDonough
fb8e43fb49 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.
2007-10-10 12:15:44 -05:00
Günther Deschner
45d6d30076 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
2007-10-10 12:15:44 -05:00
Günther Deschner
ff004f7284 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
2007-10-10 12:15:44 -05:00
Jim McDonough
1bc834455d r19648: whoops, forgot to increment the vfs version number with the added flock
call.
2007-10-10 12:15:43 -05:00
Jim McDonough
0620658890 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.
2007-10-10 12:15:43 -05:00
Günther Deschner
4ec896cdbe r19646: Fix memleak in the default_ou_string handling. Thanks to David Hu
<david.hu@hp.com>. Fixes #4212.

Guenther
2007-10-10 12:15:43 -05:00
Jeremy Allison
eb78ce1f55 r19627: Fix for bug #4211 - logic error in acl_group_override()
function. Fix from Jim Wang of Wesoft.
Jeremy.
2007-10-10 12:15:43 -05:00
James Peach
9a51fba71c r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
in core dump path.
2007-10-10 12:15:42 -05:00
Jeremy Allison
02a0ac0bac r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
2007-10-10 12:15:42 -05:00
Jelmer Vernooij
68fc15a5e0 r19591: Use import' and include' in the IDL and regenerate. 2007-10-10 12:15:42 -05:00
Gerald Carter
5b3ac400a7 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'
2007-10-10 12:15:42 -05:00
Jeremy Allison
3b5ab8ab82 r19577: Fix from Nils Nordman for bug #4085. Thanks !
Jeremy.
2007-10-10 12:15:42 -05:00
James Peach
a0ada1aa34 r19576: Correct trivial typo. 2007-10-10 12:15:42 -05:00
Jelmer Vernooij
b533620f04 r19552: Fix names of known failing tests. 2007-10-10 12:15:41 -05:00
Jelmer Vernooij
759c1b0fd2 r19542: Regenerate IDL. 2007-10-10 12:15:41 -05:00
Jeremy Allison
e8bf421c01 r19533: Add a suffix to the program name if this is a process with a
non-default configuration file name.
Jeremy.
2007-10-10 12:15:41 -05:00