kai/samba.git
16 years agoFix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
Volker Lendecke [Thu, 5 Jun 2008 08:25:02 +0000 (10:25 +0200)]
Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails

This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(This used to be commit df8d089bc63c2a52cbdf3504cded8df620a59902)

16 years agonetdomjoin-gui: disable annoying "reboot now" dialog.
Günther Deschner [Wed, 4 Jun 2008 23:11:23 +0000 (01:11 +0200)]
netdomjoin-gui: disable annoying "reboot now" dialog.

Guenther
(This used to be commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)

16 years agolibnetjoin: correctly copy returned lsa policy sid.
Günther Deschner [Wed, 4 Jun 2008 16:05:15 +0000 (18:05 +0200)]
libnetjoin: correctly copy returned lsa policy sid.

Guenther
(This used to be commit f9e5450c9492b0f35bd90040739007963e765ab1)

16 years agonetdomjoin-gui: some minor fixes + hunting down typecast bugs.
Günther Deschner [Tue, 3 Jun 2008 13:19:46 +0000 (15:19 +0200)]
netdomjoin-gui: some minor fixes + hunting down typecast bugs.

Guenther
(This used to be commit 0fa6c8c6a3efd026154e8af54ba73b3d3de1affa)

16 years agonet: fix popt context memleak.
Günther Deschner [Wed, 4 Jun 2008 00:44:24 +0000 (02:44 +0200)]
net: fix popt context memleak.

Guenther
(This used to be commit 60bce925746590aabf489f0c771afd732c32f5a0)

16 years agolibnetjoin: only close existing policy handles while unjoining.
Günther Deschner [Wed, 4 Jun 2008 00:43:41 +0000 (02:43 +0200)]
libnetjoin: only close existing policy handles while unjoining.

Guenther
(This used to be commit 6dbed6e7b7300962e11fdce1a713e6f3ea2cb619)

16 years agolibnetjoin: delete possible "realm" leftover parameter.
Günther Deschner [Tue, 3 Jun 2008 23:32:15 +0000 (01:32 +0200)]
libnetjoin: delete possible "realm" leftover parameter.

Guenther
(This used to be commit d7ba98cc3f2d037ec01e079220a66da508b104b0)

16 years agonet: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".
Günther Deschner [Tue, 3 Jun 2008 23:30:37 +0000 (01:30 +0200)]
net: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".

Guenther
(This used to be commit 420390ba0ef6b45f18a8fd37974b1fbee0bd1502)

16 years agoutil_str: add talloc_asprintf_strlower_m().
Günther Deschner [Tue, 3 Jun 2008 23:29:22 +0000 (01:29 +0200)]
util_str: add talloc_asprintf_strlower_m().

Guenther
(This used to be commit 7f8b0b4d151fa4d07758b6fd7b47b0b7c07dda17)

16 years agonetapi: remove unrequired headers.
Günther Deschner [Tue, 3 Jun 2008 18:42:58 +0000 (20:42 +0200)]
netapi: remove unrequired headers.

Guenther
(This used to be commit f8fec49ce10cbd663cb30ac94a543b4a76a8dc57)

16 years agoAlways set "registry shares = yes" for "include = registry"
Volker Lendecke [Tue, 3 Jun 2008 18:51:42 +0000 (20:51 +0200)]
Always set "registry shares = yes" for "include = registry"

This fixes the case where "include = registry" is set in the smb.conf text file
and *only* shares (no [global] settings) are present in the registry.

Michael, please check!

Thanks,

Volker
(This used to be commit 6c80362e291d8c5e748b987a583e8e32acc36354)

16 years agobuild: fix build warning.
Günther Deschner [Tue, 3 Jun 2008 18:41:55 +0000 (20:41 +0200)]
build: fix build warning.

Guenther
(This used to be commit 62fcad0c0548ab53e9c20cfd6301972c68172b95)

16 years agobuild: fix the build (missing protoype for lp_ldap_connection_timeout()).
Günther Deschner [Tue, 3 Jun 2008 18:41:29 +0000 (20:41 +0200)]
build: fix the build (missing protoype for lp_ldap_connection_timeout()).

Guenther
(This used to be commit 06b597213a25c3370d3b7e29cf80ddd42fa35e0c)

16 years agowinbindd_cm: Replace the use of lp_realm() with our_domain->alt_name.
Gerald W. Carter [Tue, 3 Jun 2008 16:18:44 +0000 (11:18 -0500)]
winbindd_cm: Replace the use of lp_realm() with our_domain->alt_name.

Reduce the use of config parameters with run time information after discussion
with Guenther.
(This used to be commit 57d596395db287301eefd34e62c9aaf857c34c69)

16 years agoRelease scripts: Update create-tarball to include docs and other packaging details.
Gerald W. Carter [Tue, 27 May 2008 21:27:21 +0000 (16:27 -0500)]
Release scripts: Update create-tarball to include docs and other packaging details.

I've updated the create-tarball script to support command line options,
docs build (or copy and existing build), and to run the packaging update
scripts.

  $ release-scripts/create-tarball --help
  Usage release-scripts/create-tarball [options]
      --help             Print command usage
      --branch <name>    Specify the branch to to create the archive file from
      --copy-docs <dir>  Copy documentation from <dir> rather than building
      --tag <name>       Tag name for release
      --keyid <email>    The GnuPG key ID used to sign the release tag
(This used to be commit 7c96795e5954b6a716beb6f5a30d6c7bb1647717)

16 years agoman pages: Add documentation for new parameter 'ldap connection timeout'.
Karolin Seeger [Tue, 3 Jun 2008 14:44:59 +0000 (16:44 +0200)]
man pages: Add documentation for new parameter 'ldap connection timeout'.

Karolin
(This used to be commit f7bfa1330cef34b1bbe7969bddbce2ff895321ed)

16 years agoAdd ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be controll...
Björn Jacke [Mon, 26 May 2008 09:29:24 +0000 (11:29 +0200)]
Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544
(This used to be commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)

16 years agoFix empty input fields in SWAT; [#5515].
Andreas Schneider [Tue, 3 Jun 2008 13:26:42 +0000 (15:26 +0200)]
Fix empty input fields in SWAT; [#5515].

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit e1579c90fb27c07f95889dd8778daeef53e2ac16)

16 years agoFix saving of the config file in SWAT; [#5516].
Andreas Schneider [Tue, 3 Jun 2008 13:05:50 +0000 (15:05 +0200)]
Fix saving of the config file in SWAT; [#5516].

The strlen of the source string passed to convert_string_allocate was too
short :)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit ac3597ef8b7781499ab55f1039670ec82202e32c)

16 years agoFix bug reported by David Eisner <deisner@gmail.com>. When allocating cli
Jeremy Allison [Tue, 3 Jun 2008 01:37:16 +0000 (18:37 -0700)]
Fix bug reported by David Eisner <deisner@gmail.com>. When allocating cli
buffers for large read/write - make sure we take account of the large
read/write SMB headers as well as the buffer space.
Jeremy.
(This used to be commit 19519bca9b64b736d2fe0447b7cd495f00dba60a)

16 years agonetapi: fix some build warnings.
Günther Deschner [Mon, 2 Jun 2008 23:37:55 +0000 (01:37 +0200)]
netapi: fix some build warnings.

Guenther
(This used to be commit 45cd78030f18a792d0761160bb96116d19801109)

16 years agonetapi: use libnetapi_samr_lookup_and_open_alias().
Günther Deschner [Mon, 2 Jun 2008 22:42:00 +0000 (00:42 +0200)]
netapi: use libnetapi_samr_lookup_and_open_alias().

Guenther
(This used to be commit d8fad6bf442ac6f218c1c4572da9f1e9932c9cee)

16 years agonetapi: add libnetapi_samr_lookup_and_open_alias().
Günther Deschner [Mon, 2 Jun 2008 22:41:36 +0000 (00:41 +0200)]
netapi: add libnetapi_samr_lookup_and_open_alias().

Guenther
(This used to be commit 890d63f31c0ff3931b8efb627c3a375850a59a9a)

16 years agonetapi: use libnetapi_samr_open_builtin_domain().
Günther Deschner [Mon, 2 Jun 2008 22:13:59 +0000 (00:13 +0200)]
netapi: use libnetapi_samr_open_builtin_domain().

Guenther
(This used to be commit d1bf8c5ae6f4e3ade2000dd884c8384fb4b9f12c)

16 years agonetapi: add libnetapi_samr_open_builtin_domain().
Günther Deschner [Mon, 2 Jun 2008 22:13:39 +0000 (00:13 +0200)]
netapi: add libnetapi_samr_open_builtin_domain().

Guenther
(This used to be commit f15a7f9ab1da88369185beda267f3e67a3b36191)

16 years agonetapi: let libnetapi_samr_open_domain return WERROR.
Günther Deschner [Mon, 2 Jun 2008 21:55:45 +0000 (23:55 +0200)]
netapi: let libnetapi_samr_open_domain return WERROR.

Guenther
(This used to be commit 3d037a07e015a3af75dde054cef4c0bb7795fbb5)

16 years agonetapi: add public header for NetLocalGroupSetInfo().
Günther Deschner [Mon, 2 Jun 2008 21:37:42 +0000 (23:37 +0200)]
netapi: add public header for NetLocalGroupSetInfo().

Guenther
(This used to be commit cb20271012e7713a28c302e199b676bdb821e5e4)

16 years agonetapi: Implement NetLocalGroupSetInfo().
Günther Deschner [Mon, 2 Jun 2008 21:36:25 +0000 (23:36 +0200)]
netapi: Implement NetLocalGroupSetInfo().

Guenther
(This used to be commit f991b4d58ed660e648f29c3f25195072f91643ba)

16 years agonetapi: add NetLocalGroupSetInfo() example code.
Günther Deschner [Mon, 2 Jun 2008 20:37:03 +0000 (22:37 +0200)]
netapi: add NetLocalGroupSetInfo() example code.

Guenther
(This used to be commit abd3f701340a31d9c3779cfe37c639f9105dfdb3)

16 years agonetapi: add NetLocalGroupSetInfo() skeleton.
Günther Deschner [Mon, 2 Jun 2008 20:29:32 +0000 (22:29 +0200)]
netapi: add NetLocalGroupSetInfo() skeleton.

Guenther
(This used to be commit 325f419636a69c40ee25c068787866384ef52279)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 20:26:01 +0000 (22:26 +0200)]
re-run make idl.

Guenther
(This used to be commit 68cad7322fe7a6bad7c9378f0d610a3b713b4b18)

16 years agonetapi: add NetLocalGroupSetInfo() to IDL.
Günther Deschner [Mon, 2 Jun 2008 20:25:07 +0000 (22:25 +0200)]
netapi: add NetLocalGroupSetInfo() to IDL.

Guenther
(This used to be commit 0e02b40ae8a63a299f221dce82725b9151a7e499)

16 years agonetapi: implement NetLocalGroupGetInfo().
Günther Deschner [Mon, 2 Jun 2008 20:20:14 +0000 (22:20 +0200)]
netapi: implement NetLocalGroupGetInfo().

Guenther
(This used to be commit d735ee79fa5b9b7ec409ea387e4ff10357e417e7)

16 years agonetapi: add NetLocalGroupGetInfo() example code.
Günther Deschner [Mon, 2 Jun 2008 18:28:31 +0000 (20:28 +0200)]
netapi: add NetLocalGroupGetInfo() example code.

Guenther
(This used to be commit 591003b109d936b62cc80827971c201b3ea79e39)

16 years agonetapi: add NetLocalGroupGetInfo() to public headers.
Günther Deschner [Mon, 2 Jun 2008 18:27:49 +0000 (20:27 +0200)]
netapi: add NetLocalGroupGetInfo() to public headers.

Guenther
(This used to be commit 4d40d8b51a5323c36ff78ccfc4d7405ac97dde6b)

16 years agonetapi: add NetLocalGroupGetInfo() skeleton.
Günther Deschner [Mon, 2 Jun 2008 18:20:27 +0000 (20:20 +0200)]
netapi: add NetLocalGroupGetInfo() skeleton.

Guenther
(This used to be commit f70e37a7fe1915f557e194237a8bb26bcf9635d7)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 18:19:36 +0000 (20:19 +0200)]
re-run make idl.

Guenther
(This used to be commit 39e3a29cb9a57d5f79e503f7d4873b5c8a844976)

16 years agonetapi: add NetLocalGroupGetInfo() to IDL.
Günther Deschner [Mon, 2 Jun 2008 18:19:18 +0000 (20:19 +0200)]
netapi: add NetLocalGroupGetInfo() to IDL.

Guenther
(This used to be commit c817c0c5bcf2578aa7f26403c0ce567281e4b019)

16 years agonetapi: add NetLocalGroupDel() example code.
Günther Deschner [Mon, 2 Jun 2008 17:46:04 +0000 (19:46 +0200)]
netapi: add NetLocalGroupDel() example code.

Guenther
(This used to be commit 6ebd618cc768df142b035362cc648d8bc2c1bc89)

16 years agonetapi: add NetLocalGroupDel() to public headers.
Günther Deschner [Mon, 2 Jun 2008 17:45:23 +0000 (19:45 +0200)]
netapi: add NetLocalGroupDel() to public headers.

Guenther
(This used to be commit efd4a899f5d139b5e3e22660f5fb1c12f59525fc)

16 years agonetapi: Implement NetLocalGroupDel().
Günther Deschner [Mon, 2 Jun 2008 17:44:32 +0000 (19:44 +0200)]
netapi: Implement NetLocalGroupDel().

Guenther
(This used to be commit d2426f53fabaf75d130fb99216b71299f4371253)

16 years agonetapi: add NetLocalGroupDel() skeleton.
Günther Deschner [Mon, 2 Jun 2008 17:20:25 +0000 (19:20 +0200)]
netapi: add NetLocalGroupDel() skeleton.

Guenther
(This used to be commit 4234c87c6c30434bc5bcfcc003fdaa0114e9d74a)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 17:17:53 +0000 (19:17 +0200)]
re-run make idl.

Guenther
(This used to be commit 929ecc693a44fbadadcbb9000220bce9dfa6904d)

16 years agonetapi: add NetLocalGroupDel() to IDL.
Günther Deschner [Mon, 2 Jun 2008 17:17:13 +0000 (19:17 +0200)]
netapi: add NetLocalGroupDel() to IDL.

Guenther
(This used to be commit b4fafdeebf43a8bd65d5c99432de373594f36180)

16 years agonetapi: add NetLocalGroupAdd() example.
Günther Deschner [Mon, 2 Jun 2008 17:13:26 +0000 (19:13 +0200)]
netapi: add NetLocalGroupAdd() example.

Guenther
(This used to be commit ce60450d831ee2f4ab18c3ce09decee548ec4543)

16 years agonetapi: add NetLocalGroupAdd to public api.
Günther Deschner [Mon, 2 Jun 2008 17:12:54 +0000 (19:12 +0200)]
netapi: add NetLocalGroupAdd to public api.

Guenther
(This used to be commit 05ded246426415b61597d003ffac519847c08620)

16 years agonetapi: Implement NetLocalGroupAdd().
Günther Deschner [Mon, 2 Jun 2008 17:02:52 +0000 (19:02 +0200)]
netapi: Implement NetLocalGroupAdd().

Guenther
(This used to be commit f68f75a6e4b4ba8b38cac7578c65dc7361315b28)

16 years agonetapi: add NetLocalGroupAdd() skeleton.
Günther Deschner [Mon, 2 Jun 2008 15:34:53 +0000 (17:34 +0200)]
netapi: add NetLocalGroupAdd() skeleton.

Guenther
(This used to be commit 528544d4ce8fa27940a2f5e3c989cf37ef888f94)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 15:31:58 +0000 (17:31 +0200)]
re-run make idl.

Guenther
(This used to be commit 8d865b9a53da70d613425a8dc2ee1b0ca12843ac)

16 years agonetapi: add NetLocalGroupAdd() to IDL.
Günther Deschner [Mon, 2 Jun 2008 15:31:38 +0000 (17:31 +0200)]
netapi: add NetLocalGroupAdd() to IDL.

Guenther
(This used to be commit fa86b2cf5c6f5654fc7545de467c47626573f97c)

16 years agonetapi: use libnetapi_samr_open_domain().
Günther Deschner [Mon, 2 Jun 2008 15:31:00 +0000 (17:31 +0200)]
netapi: use libnetapi_samr_open_domain().

Guenther
(This used to be commit b07445e86f43d6e9e45b7c502ab7998bca4db14f)

16 years agonetapi: add libnetapi_samr_open_domain().
Günther Deschner [Mon, 2 Jun 2008 15:29:55 +0000 (17:29 +0200)]
netapi: add libnetapi_samr_open_domain().

Guenther
(This used to be commit a99906f661faa104da4b40707597ceb4542548f8)

16 years agonetapi: Add NetGroupDelUser() example.
Günther Deschner [Mon, 2 Jun 2008 12:58:43 +0000 (14:58 +0200)]
netapi: Add NetGroupDelUser() example.

Guenther
(This used to be commit 1a8df720306662c2109654c8666cd33dcb769ec4)

16 years agonetapi: Implement NetGroupDelUser().
Günther Deschner [Mon, 2 Jun 2008 12:58:01 +0000 (14:58 +0200)]
netapi: Implement NetGroupDelUser().

Guenther
(This used to be commit 10f69b3ce58be06d95e4dfd5782d9481f4af76bf)

16 years agonetapi: add NetGroupAddUser() example.
Günther Deschner [Mon, 2 Jun 2008 12:48:45 +0000 (14:48 +0200)]
netapi: add NetGroupAddUser() example.

Guenther
(This used to be commit 7ebe949643a53f636a942171147f0be5e32b4a37)

16 years agonetapi: implement NetGroupAddUser().
Günther Deschner [Mon, 2 Jun 2008 12:46:56 +0000 (14:46 +0200)]
netapi: implement NetGroupAddUser().

Guenther
(This used to be commit c727a49519b2da6c5eb9ccc5025ab844fe8330ad)

16 years agoerrors: add more WERRORs.
Günther Deschner [Mon, 2 Jun 2008 12:45:08 +0000 (14:45 +0200)]
errors: add more WERRORs.

Guenther
(This used to be commit 973de861c98c62ba31ceb63b3434dc201ae8bf06)

16 years agonetapi: add dummy implementation for NetGroupAddUser() and NetGroupDelUser().
Günther Deschner [Mon, 2 Jun 2008 11:43:21 +0000 (13:43 +0200)]
netapi: add dummy implementation for NetGroupAddUser() and NetGroupDelUser().

Guenther
(This used to be commit 6eba84edc60829f0cdf3508520625e66fe88afde)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 11:41:58 +0000 (13:41 +0200)]
re-run make idl.

Guenther
(This used to be commit b18ef7ce05a3ea009c7779b498921bdd1e6ac294)

16 years agonetapi: add NetGroupAddUser() and NetGroupDelUser() to IDL.
Günther Deschner [Mon, 2 Jun 2008 11:41:35 +0000 (13:41 +0200)]
netapi: add NetGroupAddUser() and NetGroupDelUser() to IDL.

Guenther
(This used to be commit 7fe8735104b8306734dd12ae87eed430e0ba4d37)

16 years agonetapi: add NetGroupGetInfo() example code.
Günther Deschner [Mon, 2 Jun 2008 11:07:02 +0000 (13:07 +0200)]
netapi: add NetGroupGetInfo() example code.

Guenther
(This used to be commit 99c8f7e90c6ac512dbb0c3eefb55c74b4d097d62)

16 years agonetapi: Implement NetGroupGetInfo_r().
Günther Deschner [Mon, 2 Jun 2008 11:04:58 +0000 (13:04 +0200)]
netapi: Implement NetGroupGetInfo_r().

Guenther
(This used to be commit a8baa45aecc22763a9f86e722ca1c6b7bc88b150)

16 years agonetapi: add dummy implementation of NetGroupGetInfo().
Günther Deschner [Mon, 2 Jun 2008 11:04:15 +0000 (13:04 +0200)]
netapi: add dummy implementation of NetGroupGetInfo().

Guenther
(This used to be commit 88d03b1645d78334eb6f1fee52838a08539a6aba)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 11:00:59 +0000 (13:00 +0200)]
re-run make idl.

Guenther
(This used to be commit 47a1db09a2d2eb78b4bcd27394d15bae29ca0d52)

16 years agonetapi: add NetGroupGetInfo() to IDL.
Günther Deschner [Mon, 2 Jun 2008 11:00:17 +0000 (13:00 +0200)]
netapi: add NetGroupGetInfo() to IDL.

Guenther
(This used to be commit 68a727302002ca53f41ed282abc1c18a8559579e)

16 years agonetapi: Add NetGroupSetInfo() example code.
Günther Deschner [Mon, 2 Jun 2008 10:59:30 +0000 (12:59 +0200)]
netapi: Add NetGroupSetInfo() example code.

Guenther
(This used to be commit a81b302953eca90d5fb2998fb655406324f67865)

16 years agonetapi: implement NetGroupSetInfo_r().
Günther Deschner [Mon, 2 Jun 2008 10:58:02 +0000 (12:58 +0200)]
netapi: implement NetGroupSetInfo_r().

Guenther
(This used to be commit 4d11c32874f4cbc64c7bcb2092970fa5c07b1d0e)

16 years agonetapi: Add dummy implementation of NetGroupSetInfo().
Günther Deschner [Mon, 2 Jun 2008 10:54:17 +0000 (12:54 +0200)]
netapi: Add dummy implementation of NetGroupSetInfo().

Guenther
(This used to be commit 7e47bdc0829d7ac856028a99389310f721a265ce)

16 years agore-run make idl.
Günther Deschner [Mon, 2 Jun 2008 10:48:46 +0000 (12:48 +0200)]
re-run make idl.

Guenther
(This used to be commit cbaaa2972bb3bf1f67af3ca5d8acf9c2e5029ae1)

16 years agonetapi: add NetGroupSetInfo to IDL.
Günther Deschner [Mon, 2 Jun 2008 10:47:54 +0000 (12:47 +0200)]
netapi: add NetGroupSetInfo to IDL.

Guenther
(This used to be commit febcbd2127183740a7d536fd26a65c3ed1d0df9e)

16 years agonetapi: let NetGroupAdd_l and NetGroupDel_l call the remote functions.
Günther Deschner [Wed, 28 May 2008 23:44:21 +0000 (01:44 +0200)]
netapi: let NetGroupAdd_l and NetGroupDel_l call the remote functions.

Guenther
(This used to be commit d62eae5705e001ed7e39832b52ae139c19549ab8)

16 years agonetapi: add NetGroupDel() example code.
Günther Deschner [Wed, 28 May 2008 23:43:52 +0000 (01:43 +0200)]
netapi: add NetGroupDel() example code.

Guenther
(This used to be commit 08f345741110c6e25fa6a4349885c3066acf5205)

16 years agonetapi: implement NetGroupDel_r().
Günther Deschner [Wed, 28 May 2008 23:43:06 +0000 (01:43 +0200)]
netapi: implement NetGroupDel_r().

Guenther
(This used to be commit bcf3df6ca96845755eee6c762f57548de8aba610)

16 years agonet: Use NetGroupAdd() for adding domain groups.
Günther Deschner [Wed, 28 May 2008 12:57:35 +0000 (14:57 +0200)]
net: Use NetGroupAdd() for adding domain groups.

Guenther
(This used to be commit 3f0ce34c626e7d4199239faee2ea3b4933c9df26)

16 years agonetapi: add NetGroupAdd() example code.
Günther Deschner [Wed, 28 May 2008 12:56:45 +0000 (14:56 +0200)]
netapi: add NetGroupAdd() example code.

Guenther
(This used to be commit 53272e29ad9c2a6c81ab35a405c57b1799f3f832)

16 years agonetapi: implement NetGroupAdd_r().
Günther Deschner [Wed, 28 May 2008 12:48:30 +0000 (14:48 +0200)]
netapi: implement NetGroupAdd_r().

Guenther
(This used to be commit b00bff961ea786b0cbd8ec7faf554efae72169ea)

16 years agodoserr: Add WERR_GROUP_EXISTS and WERR_SPECIAL_ACCOUNT.
Günther Deschner [Wed, 28 May 2008 11:57:21 +0000 (13:57 +0200)]
doserr: Add WERR_GROUP_EXISTS and WERR_SPECIAL_ACCOUNT.

Guenther
(This used to be commit 058cf7001e8a57ff0a1e19aadf3e0e068b7e69f4)

16 years agonetapi: Add NetGroupDel/NetGroupAdd header.
Günther Deschner [Tue, 27 May 2008 23:18:05 +0000 (01:18 +0200)]
netapi: Add NetGroupDel/NetGroupAdd header.

Guenther
(This used to be commit 84104cb900774fd2987636e59e562477c3ed2977)

16 years agolibnetapi: add dummy implementation for NetGroupAdd() and NetGroupDel().
Günther Deschner [Tue, 27 May 2008 10:11:28 +0000 (12:11 +0200)]
libnetapi: add dummy implementation for NetGroupAdd() and NetGroupDel().

Guenther
(This used to be commit d690f9e9f8b8a0aeda311913589ae48805f7e3b8)

16 years agore-run make idl.
Günther Deschner [Tue, 27 May 2008 10:09:26 +0000 (12:09 +0200)]
re-run make idl.

Guenther
(This used to be commit aaa439e1d16607caa320e55fc3963281993637ce)

16 years agoidl: add NetGroupDel() to libnetapi.
Günther Deschner [Tue, 27 May 2008 10:09:01 +0000 (12:09 +0200)]
idl: add NetGroupDel() to libnetapi.

Guenther
(This used to be commit d86cd8816c6a6458b6f4f9c33200faf627bd2e7a)

16 years agore-run make idl.
Günther Deschner [Tue, 27 May 2008 10:06:44 +0000 (12:06 +0200)]
re-run make idl.

Guenther
(This used to be commit bad8b5e010adcd9df85c4b3a58678112d328e6b7)

16 years agoidl: add NetGroupAdd() to libnetapi.
Günther Deschner [Tue, 27 May 2008 10:05:31 +0000 (12:05 +0200)]
idl: add NetGroupAdd() to libnetapi.

Guenther
(This used to be commit 7d1ca6f73407d9752402c84da4b41e224a434181)

16 years agoFix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain child
Jeremy Allison [Mon, 2 Jun 2008 22:26:37 +0000 (15:26 -0700)]
Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain child
not keeping primary domain online status up to date.
Jeremy.
(This used to be commit 0621c7c8161b7b94cc9249ab3e71855d3030b6fb)

16 years agoFix location of smbldap-tools
Volker Lendecke [Mon, 2 Jun 2008 08:42:27 +0000 (10:42 +0200)]
Fix location of smbldap-tools

Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out
(This used to be commit 359b8d53d839bbf503915004c52bce9f09e6d785)

16 years agoSplit the winbindd_passdb backend into a 'builtin' and a 'sam'
Jeremy Allison [Sat, 31 May 2008 06:49:36 +0000 (23:49 -0700)]
Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to
correctly answer wbinfo -u lists and other queries.
Jeremy.
(This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)

16 years agominor memory leak fix
Chere Zhou [Fri, 30 May 2008 20:16:51 +0000 (13:16 -0700)]
minor memory leak fix
(This used to be commit 0c61631f345436bf88e93219c139af8cfbeea18b)

16 years agoFix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy Allison [Sat, 31 May 2008 00:53:16 +0000 (17:53 -0700)]
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy.
(This used to be commit 25e76a19f22cdf726928d6c4b165745de9e455d6)

16 years agoFix bug #5504. winbindd children and parent were handing SIGTERM in the same way...
Jeremy Allison [Sat, 31 May 2008 00:52:54 +0000 (17:52 -0700)]
Fix bug #5504. winbindd children and parent were handing SIGTERM in the same way - deleting the socket!
Jeremy.
(This used to be commit 3ab5a3883e33eba159152aa02544d71f047c7e45)

16 years agoMerge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
Jeremy Allison [Fri, 30 May 2008 17:09:22 +0000 (10:09 -0700)]
Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
(This used to be commit 3d01248f63d0d476c16236453983ffe759d0b2c2)

16 years agoFrom Michael R Sweet <mike@easysw.com>.
Jeremy Allison [Fri, 30 May 2008 17:08:27 +0000 (10:08 -0700)]
From Michael R Sweet <mike@easysw.com>.

All,

Noticed that smbspool.c still has my Easy Software Products copyright
on it.  The following patch fixes it to match the other code I've
contributed over the years...

Jeremy.
(This used to be commit 9f5897e28dfa0d0563cd2568b4bedc601681e41b)

16 years agoWorking on bug #5475
Derrell Lipman [Fri, 30 May 2008 14:38:35 +0000 (10:38 -0400)]
Working on bug #5475

- Add code to test whether smbc_stat() munges future smbc_getxattr() results.

Derrell
(This used to be commit 5f6b301f92e9e9d5ee1dab9ef8eca2cc77e12941)

16 years agoUpdate libsmbclient examples to match new libraries
Derrell Lipman [Fri, 30 May 2008 14:24:55 +0000 (10:24 -0400)]
Update libsmbclient examples to match new libraries

- talloc and tdb have been moved to separate libraries.  Link with those.

Derrell
(This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)

16 years agoFix security=server, bug 5502
Volker Lendecke [Fri, 30 May 2008 09:46:34 +0000 (11:46 +0200)]
Fix security=server, bug 5502

This has brown paper bag quality and is definitely needed for 3.2.0.

Thanks to Orion Poplawski for reporting this!

Volker
(This used to be commit 3b31f8cce3703645a57778bc752bc9b9e853df5d)

16 years agoTiny memory leak
Marc VanHeyningen [Thu, 29 May 2008 17:00:46 +0000 (10:00 -0700)]
Tiny memory leak
(This used to be commit e7f76a0c65085dd1e7b50ea3537e11922e7d9ecd)

16 years agoFix winbindd on a PDC by reverting : 83b04c60fac76ccd2d5aecb14f8896a07d488b1f..6e6651...
Jeremy Allison [Thu, 29 May 2008 17:37:52 +0000 (10:37 -0700)]
Fix winbindd on a PDC by reverting : 83b04c60fac76ccd2d5aecb14f8896a07d488b1f..6e66512d5beb256a44c6703cdb8c7fa7e0fd8537.
We still need to address https://bugzilla.redhat.com/show_bug.cgi?id=429024, but this
will come later.
Jeremy.
(This used to be commit 41e20becf3b976656f60aaec9175df329803b012)

16 years agoSecurity fix for CVE-2008-1105: Boundary failure when parsing SMB responses
Jeremy Allison [Wed, 28 May 2008 16:31:42 +0000 (09:31 -0700)]
Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses
can result in a buffer overrun.
Jeremy.
(This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)

16 years agoFix Bug #5285. (libcap header mismatch)
Günther Deschner [Wed, 28 May 2008 11:20:16 +0000 (13:20 +0200)]
Fix Bug #5285. (libcap header mismatch)

Can someone with gpfs available test this ? The only codepath using this
function is the modules/gpfs.c module. The fix resolves at least the build
issues Samba has with recent kernel / libcap versions by using the portable
cap_get_proc()/cap_set_proc() interface (instead of using capget/capset).

Guenther
(This used to be commit 177955141247a4eb56ba0d82dc1add7f52175c40)

16 years agolib/events: use mem_context given to event_context_init().
Michael Adam [Tue, 27 May 2008 22:59:14 +0000 (00:59 +0200)]
lib/events: use mem_context given to event_context_init().

Michael
(This used to be commit f872a1f4428ed64bcfd832d981eea6446f05339e)

16 years agofix build: add missing prototype of msg_close_file()
Michael Adam [Tue, 27 May 2008 23:08:54 +0000 (01:08 +0200)]
fix build: add missing prototype of msg_close_file()

Michael
(This used to be commit 1a6f91755c412ab683c09f54e8ce76a66ed2bd19)