James Peach [Thu, 23 Nov 2006 06:44:05 +0000 (06:44 +0000)]
r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
James Peach [Thu, 23 Nov 2006 06:07:03 +0000 (06:07 +0000)]
r19851: Disable gcc PIE options on Darwin.
Jelmer Vernooij [Wed, 22 Nov 2006 21:40:23 +0000 (21:40 +0000)]
r19849: Fix compilation after idl changes.
Jelmer Vernooij [Wed, 22 Nov 2006 18:57:07 +0000 (18:57 +0000)]
r19848: Sync with Samba4 - no top-level unique pointers.
Volker Lendecke [Wed, 22 Nov 2006 16:53:28 +0000 (16:53 +0000)]
r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions
Volker Lendecke [Wed, 22 Nov 2006 16:39:07 +0000 (16:39 +0000)]
r19840: Fix an uninitialized variable
Volker Lendecke [Wed, 22 Nov 2006 15:55:48 +0000 (15:55 +0000)]
r19839: Fix the build, we are not there yet :-)
Volker Lendecke [Wed, 22 Nov 2006 15:41:29 +0000 (15:41 +0000)]
r19838: We have to delete the value record as well, otherwise the old values pop up
again if the key is re-created.
Volker
Volker Lendecke [Wed, 22 Nov 2006 15:10:46 +0000 (15:10 +0000)]
r19837: Some reformatting (Jerry, I hope you do not mind
Volker Lendecke [Wed, 22 Nov 2006 14:17:36 +0000 (14:17 +0000)]
r19835: Some net sam policy improvements.
Thanks to Karolin Seeger <ks@sernet.de>
Volker
Volker Lendecke [Tue, 21 Nov 2006 21:19:51 +0000 (21:19 +0000)]
r19828: Add a helper function to pull *and* unparse local registry values
Volker Lendecke [Tue, 21 Nov 2006 21:18:53 +0000 (21:18 +0000)]
r19827: Move registry_push/pull_value to lib/util_reg.c
Jim McDonough [Tue, 21 Nov 2006 20:44:09 +0000 (20:44 +0000)]
r19826: Fix typo
Volker Lendecke [Tue, 21 Nov 2006 20:10:39 +0000 (20:10 +0000)]
r19825: To create a key, smbd also needs read privs assigned
Volker Lendecke [Tue, 21 Nov 2006 19:47:48 +0000 (19:47 +0000)]
r19824: Fix the max value calculation in QueryInfoKey
Jeremy Allison [Tue, 21 Nov 2006 19:45:53 +0000 (19:45 +0000)]
r19823: "log" is an internal define in older versions of gcc.
Rename to log_ctx.
Jeremy.
Volker Lendecke [Tue, 21 Nov 2006 15:33:55 +0000 (15:33 +0000)]
r19822: Implement net rpc registry createkey, deletekey and deletevalue
Volker Lendecke [Tue, 21 Nov 2006 14:01:03 +0000 (14:01 +0000)]
r19821: Make net_rpc_registry use net_run_function2.
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>.
Thanks :-)
Volker
Volker Lendecke [Tue, 21 Nov 2006 13:42:31 +0000 (13:42 +0000)]
r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>
Volker
Volker Lendecke [Tue, 21 Nov 2006 13:28:27 +0000 (13:28 +0000)]
r19819: Windows returns an empty string instead of NULL here
Volker Lendecke [Tue, 21 Nov 2006 10:48:11 +0000 (10:48 +0000)]
r19818: Remove reg_split_hive, make use of registry_openkey
Volker Lendecke [Tue, 21 Nov 2006 10:32:08 +0000 (10:32 +0000)]
r19817: Implement net rpc registry setvalue (only dword and sz so far)
Volker Lendecke [Tue, 21 Nov 2006 02:23:43 +0000 (02:23 +0000)]
r19812: dump_regval_buf is not needed anymore
Volker Lendecke [Tue, 21 Nov 2006 02:21:45 +0000 (02:21 +0000)]
r19811: Decode REG_MULTI_SZ and REG_BINARY
Gerald Carter [Tue, 21 Nov 2006 00:00:43 +0000 (00:00 +0000)]
r19809: remove winbind blacklist parameter
Gerald Carter [Tue, 21 Nov 2006 00:00:18 +0000 (00:00 +0000)]
r19808: remove old smbwrapper references
Volker Lendecke [Mon, 20 Nov 2006 23:20:07 +0000 (23:20 +0000)]
r19807: First attempt at wrapping something sane around the registry API. Will be
extended.
Volker
Volker Lendecke [Mon, 20 Nov 2006 18:51:00 +0000 (18:51 +0000)]
r19804: Fix a valgrind error
Volker Lendecke [Mon, 20 Nov 2006 13:39:01 +0000 (13:39 +0000)]
r19803: Fix problem reported by Chetan S: QueryInfoKey needs to report the max name
length in *bytes* for UTF-16, not the string length. This got lost during the
conversion.
This took a while to figure out :-)
Thanks to Chetan!
Volker
Gerald Carter [Sun, 19 Nov 2006 19:01:14 +0000 (19:01 +0000)]
r19800: * Remove exmpty aix directory
* remove old, commented out commands from 'make clean'
Volker Lendecke [Sun, 19 Nov 2006 18:57:52 +0000 (18:57 +0000)]
r19797: Convert the remaining pipes to the "new" unique out ptr handling
Volker Lendecke [Sun, 19 Nov 2006 18:22:20 +0000 (18:22 +0000)]
r19794: Convert DFS
Volker Lendecke [Sun, 19 Nov 2006 18:06:08 +0000 (18:06 +0000)]
r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.
Volker
Volker Lendecke [Sun, 19 Nov 2006 17:56:35 +0000 (17:56 +0000)]
r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)
Nevertheless, Jelmer & Jerry, please take a look!
Thanks,
Volker
Volker Lendecke [Sun, 19 Nov 2006 17:07:59 +0000 (17:07 +0000)]
r19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys against
W2k3. The server requires that size==0 in the [in] name. Somehow I get the
feeling that something is badly wrong here....
I did not yet recreate the gen_ndr equivalent, see next mail.
Volker
Volker Lendecke [Sun, 19 Nov 2006 11:11:01 +0000 (11:11 +0000)]
r19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a talloc ctx is
misleading here. This needs fixing properly :-)
Volker
Volker Lendecke [Sun, 19 Nov 2006 10:54:57 +0000 (10:54 +0000)]
r19779: Fail properly on talloc_strdup failure
Volker Lendecke [Sun, 19 Nov 2006 10:50:33 +0000 (10:50 +0000)]
r19778: Make regkey_open_internal take a talloc ctx
Volker Lendecke [Sat, 18 Nov 2006 17:46:32 +0000 (17:46 +0000)]
r19777: Make regsubkey_ctr_addkey return WERROR. Nobody checks this so far, but this
will change.
Volker
Volker Lendecke [Sat, 18 Nov 2006 17:07:15 +0000 (17:07 +0000)]
r19776: Hmmm. I should have done one instead of three commits. Sorry :-)
Volker Lendecke [Sat, 18 Nov 2006 17:06:43 +0000 (17:06 +0000)]
r19775: Fix typo
Volker Lendecke [Sat, 18 Nov 2006 17:06:02 +0000 (17:06 +0000)]
r19774: Fix typo
Volker Lendecke [Sat, 18 Nov 2006 17:05:50 +0000 (17:05 +0000)]
r19773: TALLOC_FREE checks for NULL itself
Volker Lendecke [Sat, 18 Nov 2006 11:29:29 +0000 (11:29 +0000)]
r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker
Gerald Carter [Fri, 17 Nov 2006 23:31:45 +0000 (23:31 +0000)]
r19764: set version in 3.0 branch to 3.0.25
Gerald Carter [Fri, 17 Nov 2006 21:46:26 +0000 (21:46 +0000)]
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
Gerald Carter [Fri, 17 Nov 2006 01:25:23 +0000 (01:25 +0000)]
r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
Gerald Carter [Thu, 16 Nov 2006 23:48:46 +0000 (23:48 +0000)]
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()
Lars Müller [Thu, 16 Nov 2006 18:29:36 +0000 (18:29 +0000)]
r19748: Ensure to link against the required libraries.
Lars Müller [Thu, 16 Nov 2006 18:16:57 +0000 (18:16 +0000)]
r19747: Ensure to link with the required objects.
Günther Deschner [Thu, 16 Nov 2006 11:55:16 +0000 (11:55 +0000)]
r19745: For the fun of it, add an CLDAP client written in perl.
Guenther
Stefan Metzmacher [Thu, 16 Nov 2006 11:18:05 +0000 (11:18 +0000)]
r19744: merge from samba4
metze
Stefan Metzmacher [Thu, 16 Nov 2006 11:11:09 +0000 (11:11 +0000)]
r19741: fix compiler warnings
metze
Stefan Metzmacher [Thu, 16 Nov 2006 11:02:34 +0000 (11:02 +0000)]
r19739: fix compiler warning
metze
Stefan Metzmacher [Thu, 16 Nov 2006 06:29:18 +0000 (06:29 +0000)]
r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23
metze
Stefan Metzmacher [Wed, 15 Nov 2006 17:34:20 +0000 (17:34 +0000)]
r19725: sync samba3's ldb with samba4
metze
Stefan Metzmacher [Wed, 15 Nov 2006 15:31:11 +0000 (15:31 +0000)]
r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
Jeremy Allison [Wed, 15 Nov 2006 02:06:58 +0000 (02:06 +0000)]
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.
Jeremy Allison [Wed, 15 Nov 2006 01:06:45 +0000 (01:06 +0000)]
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.
Jeremy Allison [Tue, 14 Nov 2006 20:21:23 +0000 (20:21 +0000)]
r19705: Fix blocker bug for 3.0.23d - find_forced_group could
return an uninitialized sid.
Jeremy.
Simo Sorce [Tue, 14 Nov 2006 16:50:29 +0000 (16:50 +0000)]
r19703: Don't free a string if you want to return it!
Simo Sorce [Mon, 13 Nov 2006 14:22:56 +0000 (14:22 +0000)]
r19692: Another fix.
Simo Sorce [Mon, 13 Nov 2006 14:01:15 +0000 (14:01 +0000)]
r19691: Fix the build
Simo Sorce [Mon, 13 Nov 2006 13:38:04 +0000 (13:38 +0000)]
r19690: Remove this ancient module, I never realized it was ported over.
Volker Lendecke [Mon, 13 Nov 2006 10:50:55 +0000 (10:50 +0000)]
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
Volker Lendecke [Mon, 13 Nov 2006 10:43:12 +0000 (10:43 +0000)]
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
Volker Lendecke [Mon, 13 Nov 2006 10:34:59 +0000 (10:34 +0000)]
r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
Volker Lendecke [Mon, 13 Nov 2006 09:58:51 +0000 (09:58 +0000)]
r19686: Fix the build
Volker Lendecke [Mon, 13 Nov 2006 09:34:55 +0000 (09:34 +0000)]
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
Volker Lendecke [Sat, 11 Nov 2006 18:07:51 +0000 (18:07 +0000)]
r19669: set_share_security does not need a mem_ctx passed
Volker Lendecke [Sat, 11 Nov 2006 17:05:11 +0000 (17:05 +0000)]
r19668: Convert the locking params to use struct share_param instead of snum
Volker Lendecke [Sat, 11 Nov 2006 17:04:08 +0000 (17:04 +0000)]
r19667: Fix incorrect null check
Volker Lendecke [Sat, 11 Nov 2006 17:02:08 +0000 (17:02 +0000)]
r19666: Talloc_guide text on multithreading by Remi Turboult
Volker Lendecke [Sat, 11 Nov 2006 16:50:38 +0000 (16:50 +0000)]
r19665: Fix a memleak
Jeremy Allison [Sat, 11 Nov 2006 00:23:44 +0000 (00:23 +0000)]
r19659: Fix bug #4187. Possible crash in signing on/off code.
Jeremy.
Volker Lendecke [Fri, 10 Nov 2006 15:56:20 +0000 (15:56 +0000)]
r19657: Correctly check for malloc failure
Volker Lendecke [Fri, 10 Nov 2006 15:55:06 +0000 (15:55 +0000)]
r19656: Correctly check for malloc failure
Jim McDonough [Fri, 10 Nov 2006 15:43:29 +0000 (15:43 +0000)]
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.
Günther Deschner [Fri, 10 Nov 2006 13:46:19 +0000 (13:46 +0000)]
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
Günther Deschner [Fri, 10 Nov 2006 12:42:50 +0000 (12:42 +0000)]
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
Jim McDonough [Thu, 9 Nov 2006 21:40:40 +0000 (21:40 +0000)]
r19648: whoops, forgot to increment the vfs version number with the added flock
call.
Jim McDonough [Thu, 9 Nov 2006 20:29:31 +0000 (20:29 +0000)]
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.
Günther Deschner [Thu, 9 Nov 2006 10:16:38 +0000 (10:16 +0000)]
r19646: Fix memleak in the default_ou_string handling. Thanks to David Hu
<david.hu@hp.com>. Fixes #4212.
Guenther
Jeremy Allison [Tue, 7 Nov 2006 18:35:41 +0000 (18:35 +0000)]
r19627: Fix for bug #4211 - logic error in acl_group_override()
function. Fix from Jim Wang of Wesoft.
Jeremy.
James Peach [Tue, 7 Nov 2006 17:18:00 +0000 (17:18 +0000)]
r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
in core dump path.
Jeremy Allison [Tue, 7 Nov 2006 02:33:10 +0000 (02:33 +0000)]
r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
Jelmer Vernooij [Mon, 6 Nov 2006 23:20:35 +0000 (23:20 +0000)]
r19591: Use `import' and `include' in the IDL and regenerate.
Gerald Carter [Mon, 6 Nov 2006 19:46:50 +0000 (19:46 +0000)]
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'
Jeremy Allison [Mon, 6 Nov 2006 19:21:44 +0000 (19:21 +0000)]
r19577: Fix from Nils Nordman for bug #4085. Thanks !
Jeremy.
James Peach [Mon, 6 Nov 2006 18:39:48 +0000 (18:39 +0000)]
r19576: Correct trivial typo.
Jelmer Vernooij [Sat, 4 Nov 2006 13:28:19 +0000 (13:28 +0000)]
r19552: Fix names of known failing tests.
Jelmer Vernooij [Fri, 3 Nov 2006 20:00:14 +0000 (20:00 +0000)]
r19542: Regenerate IDL.
Jeremy Allison [Thu, 2 Nov 2006 09:37:52 +0000 (09:37 +0000)]
r19533: Add a suffix to the program name if this is a process with a
non-default configuration file name.
Jeremy.
Jeremy Allison [Wed, 1 Nov 2006 17:18:08 +0000 (17:18 +0000)]
r19529: Added showacls togle. Previously was vendor-specific code.
Merging these in - should have been merged back before (will
be tidied up later).
Jeremy.
Günther Deschner [Wed, 1 Nov 2006 11:19:33 +0000 (11:19 +0000)]
r19528: Fix container handling for "net ads user" and "net ads group" functions
along with some memleaks.
Guenther
Günther Deschner [Wed, 1 Nov 2006 11:08:05 +0000 (11:08 +0000)]
r19527: Fix double free in "net ads group add".
Guenther
Günther Deschner [Wed, 1 Nov 2006 11:04:28 +0000 (11:04 +0000)]
r19526: Fix minor memleak.
Guenther
Günther Deschner [Wed, 1 Nov 2006 10:59:28 +0000 (10:59 +0000)]
r19525: Fix the same error in "net ads group delete".
Guenther
Günther Deschner [Wed, 1 Nov 2006 10:38:54 +0000 (10:38 +0000)]
r19524: Stop "net ads user delete" from doing funny things.
Guenther
Simo Sorce [Tue, 31 Oct 2006 12:57:56 +0000 (12:57 +0000)]
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.