samba.git
12 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Simo Sorce [Fri, 1 Feb 2008 19:24:31 +0000 (14:24 -0500)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 7dbfc7bdc65314466a83e8121b35c9bcb24b2631)

12 years agoFix winbindd running on a Samba DC,
Simo Sorce [Fri, 1 Feb 2008 18:50:04 +0000 (13:50 -0500)]
Fix winbindd running on a Samba DC,
This patch make sure we do not try to contact smbd in the main dameon
to avoid deadlocks.
All the operations that require connecting to smbd are performed in
the domain child anyway.
(This used to be commit 9347d34b502bef70cdae8f3e8acd9796dba49581)

12 years agoRemove unused marshalling for SAMR_CREATE_USER.
Günther Deschner [Fri, 1 Feb 2008 13:53:58 +0000 (14:53 +0100)]
Remove unused marshalling for SAMR_CREATE_USER.

Guenther
(This used to be commit 69e8a83093149201c36ffc2b7fadfa469aabf7bd)

12 years agoUse rpccli_samr_CreateUser2() all over the place.
Günther Deschner [Fri, 1 Feb 2008 13:21:54 +0000 (14:21 +0100)]
Use rpccli_samr_CreateUser2() all over the place.

Guenther
(This used to be commit 701af69118c9634c7dc0d5c10152ce776787694d)

12 years agoUse pidl for _samr_CreateUser2().
Günther Deschner [Fri, 1 Feb 2008 13:50:33 +0000 (14:50 +0100)]
Use pidl for _samr_CreateUser2().

Guenther
(This used to be commit 36f52b631c013f885ed25ea741a52f763d27198b)

12 years agoRemove unused marshalling for SAMR_CREATE_DOM_GROUP.
Günther Deschner [Fri, 1 Feb 2008 13:52:05 +0000 (14:52 +0100)]
Remove unused marshalling for SAMR_CREATE_DOM_GROUP.

Guenther
(This used to be commit 2882d48dfed2cd9783833d010d126d7b3cfb4899)

12 years agoUse rpccli_samr_CreateDomainGroup() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 12:42:28 +0000 (13:42 +0100)]
Use rpccli_samr_CreateDomainGroup() in net and rpcclient.

Guenther
(This used to be commit 7b7b10adcaa94de3fed9b5e925eeee714ffd1c50)

12 years agoUse pidl for _samr_CreateDomainGroup().
Günther Deschner [Fri, 1 Feb 2008 13:49:23 +0000 (14:49 +0100)]
Use pidl for _samr_CreateDomainGroup().

Guenther
(This used to be commit c53bfd74251398924a1fae0fd8d9020dba958ba1)

12 years agoRemove unused marshalling for SAMR_CREATE_DOM_ALIAS.
Günther Deschner [Fri, 1 Feb 2008 13:52:59 +0000 (14:52 +0100)]
Remove unused marshalling for SAMR_CREATE_DOM_ALIAS.

Guenther
(This used to be commit 2e56289889b705d003a170fafa69163ce5841f3b)

12 years agoUse rpccli_samr_CreateDomAlias() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 12:48:19 +0000 (13:48 +0100)]
Use rpccli_samr_CreateDomAlias() in net and rpcclient.

Guenther
(This used to be commit 1248ec89d2d9a400f892f828126ce4e862de642f)

12 years agoUse pidl for _samr_CreateDomAlias().
Günther Deschner [Fri, 1 Feb 2008 13:48:42 +0000 (14:48 +0100)]
Use pidl for _samr_CreateDomAlias().

Guenther
(This used to be commit 622d529c45aaa6d8ddd3a38a2fa4fc5e1ad53fe9)

12 years agoNetBSD does not support AI_ADDRCONFIG
Volker Lendecke [Fri, 1 Feb 2008 13:23:56 +0000 (14:23 +0100)]
NetBSD does not support AI_ADDRCONFIG
(This used to be commit fb3f7f4046fa195baf5116598772d9016238637f)

12 years agoNetBSD defines innetgr() in <netgroup.h>
Volker Lendecke [Fri, 1 Feb 2008 12:04:10 +0000 (13:04 +0100)]
NetBSD defines innetgr() in <netgroup.h>
(This used to be commit 7ad8e22073b577cd454675bacf92549e81f55e1c)

12 years agoNetBSD needs PAM_SM_SESSION
Volker Lendecke [Fri, 1 Feb 2008 12:03:39 +0000 (13:03 +0100)]
NetBSD needs PAM_SM_SESSION

Otherwise no prototype for pam_sm_close_session is defined
(This used to be commit e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75)

12 years agoRemove unused marshalling for SAMR_OPEN_USER.
Günther Deschner [Fri, 1 Feb 2008 11:03:00 +0000 (12:03 +0100)]
Remove unused marshalling for SAMR_OPEN_USER.

Guenther
(This used to be commit f34c0e7ada8ce625ee20e3d776e41dabbad71ce5)

12 years agoUse rpccli_samr_OpenUser() all over the place.
Günther Deschner [Fri, 1 Feb 2008 10:57:53 +0000 (11:57 +0100)]
Use rpccli_samr_OpenUser() all over the place.

Guenther
(This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)

12 years agoRemove unused marshalling for SAMR_OPEN_ALIAS.
Günther Deschner [Fri, 1 Feb 2008 10:39:49 +0000 (11:39 +0100)]
Remove unused marshalling for SAMR_OPEN_ALIAS.

Guenther
(This used to be commit c00d629d4e557e5efd7c339904e228ca76504e7a)

12 years agoUse rpccli_samr_OpenAlias() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 10:38:29 +0000 (11:38 +0100)]
Use rpccli_samr_OpenAlias() in net and rpcclient.

Guenther
(This used to be commit f66facc0f82e3d4c470d584d8ab0494fcb4ff5a2)

12 years agoRemove unused marshalling for SAMR_OPEN_GROUP.
Günther Deschner [Fri, 1 Feb 2008 11:21:15 +0000 (12:21 +0100)]
Remove unused marshalling for SAMR_OPEN_GROUP.

Guenther
(This used to be commit 9660a341b6b32609b28770130e974d674ab31215)

12 years agoUse rpccli_samr_OpenGroup() all over the place.
Günther Deschner [Fri, 1 Feb 2008 10:24:01 +0000 (11:24 +0100)]
Use rpccli_samr_OpenGroup() all over the place.

Guenther
(This used to be commit d019fc69a986937880121c2587d3fe37f995edae)

12 years agoRemove unused marshalling for SAMR_OPEN_DOMAIN.
Günther Deschner [Fri, 1 Feb 2008 10:14:49 +0000 (11:14 +0100)]
Remove unused marshalling for SAMR_OPEN_DOMAIN.

Guenther
(This used to be commit ebf9caa004899281d0fb44cac2e2494d322810bd)

12 years agoUse rpccli_samr_OpenDomain() all over the place.
Günther Deschner [Fri, 1 Feb 2008 10:12:05 +0000 (11:12 +0100)]
Use rpccli_samr_OpenDomain() all over the place.

Guenther
(This used to be commit e4e9d72724d547e1405b2ed4cec509d50ec88c8d)

12 years agoRemove unused marshalling for SAMR_DELETE_DOM_USER.
Günther Deschner [Fri, 1 Feb 2008 00:44:20 +0000 (01:44 +0100)]
Remove unused marshalling for SAMR_DELETE_DOM_USER.

Guenther
(This used to be commit 905b3898e0ac7a1f9cca4575246df419b0a1c7f1)

12 years agoRemove rpccli_samr_delete_dom_user().
Günther Deschner [Fri, 1 Feb 2008 00:27:28 +0000 (01:27 +0100)]
Remove rpccli_samr_delete_dom_user().

Guenther
(This used to be commit 1b620ea648a20dc54c9c8bc21affbdbb2174ebea)

12 years agoUse rpccli_samr_DeleteUser() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 00:26:36 +0000 (01:26 +0100)]
Use rpccli_samr_DeleteUser() in net and rpcclient.

Guenther
(This used to be commit 5bd8f7067db8479ad4beb8e49d9106e43495ecec)

12 years agoRemove unused marshalling for SAMR_DELETE_DOM_ALIAS.
Günther Deschner [Fri, 1 Feb 2008 00:34:59 +0000 (01:34 +0100)]
Remove unused marshalling for SAMR_DELETE_DOM_ALIAS.

Guenther
(This used to be commit 445887d805c26beea33b6e5b08717e2841abe7b2)

12 years agoRemove rpccli_samr_delete_dom_alias().
Günther Deschner [Fri, 1 Feb 2008 00:24:04 +0000 (01:24 +0100)]
Remove rpccli_samr_delete_dom_alias().

Guenther
(This used to be commit eac804b9a37a5ca150de51136f0daa84bb79e1c2)

12 years agoUse rpccli_samr_DeleteDomAlias() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 00:22:22 +0000 (01:22 +0100)]
Use rpccli_samr_DeleteDomAlias() in net and rpcclient.

Guenther
(This used to be commit bbed3aed5175589787cb1b233ce4e81ecc0c81fe)

12 years agoRemove unused marshalling for SAMR_DELETE_DOM_GROUP.
Günther Deschner [Fri, 1 Feb 2008 00:43:46 +0000 (01:43 +0100)]
Remove unused marshalling for SAMR_DELETE_DOM_GROUP.

Guenther
(This used to be commit 20503717be5287c003ca63d74419f785d59f83e0)

12 years agoRemove rpccli_samr_delete_dom_group().
Günther Deschner [Fri, 1 Feb 2008 00:19:06 +0000 (01:19 +0100)]
Remove rpccli_samr_delete_dom_group().

Guenther
(This used to be commit 882537f26f44103a4882c388844c5b24d4903e9c)

12 years agoUse rpccli_samr_DeleteDomainGroup() in net and rpcclient.
Günther Deschner [Fri, 1 Feb 2008 00:17:22 +0000 (01:17 +0100)]
Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.

Guenther
(This used to be commit 8cc094ddb5c28c7378be6c655f3311ea6abb4f64)

12 years agoUse pidl for _samr_DeleteDomAlias().
Günther Deschner [Fri, 1 Feb 2008 00:32:18 +0000 (01:32 +0100)]
Use pidl for _samr_DeleteDomAlias().

Guenther
(This used to be commit 31d5a3aaa42c18319fd751aba65f435348b1e83e)

12 years agoUse pidl for _samr_DeleteDomainGroup().
Günther Deschner [Fri, 1 Feb 2008 00:31:45 +0000 (01:31 +0100)]
Use pidl for _samr_DeleteDomainGroup().

Guenther
(This used to be commit b8bf051bdda221dda15598e16bb8dbec68bc7df7)

12 years agoUse pidl for _samr_DeleteUser().
Günther Deschner [Fri, 1 Feb 2008 00:30:50 +0000 (01:30 +0100)]
Use pidl for _samr_DeleteUser().

Guenther
(This used to be commit 86827e374469421e2204598712225fb19d4af64b)

12 years agoUse pidl for _samr_OpenGroup().
Günther Deschner [Thu, 31 Jan 2008 23:49:32 +0000 (00:49 +0100)]
Use pidl for _samr_OpenGroup().

Guenther
(This used to be commit e74ad425ff3a139fa12c0320e4a292dcb0991888)

12 years agoUse pidl for _samr_OpenAlias().
Günther Deschner [Thu, 31 Jan 2008 23:48:40 +0000 (00:48 +0100)]
Use pidl for _samr_OpenAlias().

Guenther
(This used to be commit 1a98282d2c61e45645c68941631eb0499baa4cbb)

12 years agoUse pidl for _samr_OpenUser().
Günther Deschner [Thu, 31 Jan 2008 23:39:06 +0000 (00:39 +0100)]
Use pidl for _samr_OpenUser().

Guenther
(This used to be commit ea3a096bcdc42fd4a86be5df3e8f9745e99970ff)

12 years agoUse pidl for _samr_OpenDomain().
Günther Deschner [Thu, 31 Jan 2008 23:23:50 +0000 (00:23 +0100)]
Use pidl for _samr_OpenDomain().

Guenther
(This used to be commit 15801832ecd59bdb35ed33696944fe5beb08bf3f)

12 years agoFix _samr_Close().
Günther Deschner [Thu, 31 Jan 2008 13:24:33 +0000 (14:24 +0100)]
Fix _samr_Close().

A good example that work in this area needs very careful testing :)

Guenther
(This used to be commit 7d369906ec37caebaa4e2097874997fa257f1a31)

12 years agoRe-run make idl.
Günther Deschner [Thu, 31 Jan 2008 13:10:22 +0000 (14:10 +0100)]
Re-run make idl.

Guenther
(This used to be commit b658270518140c457536b0c7db06a646d7077529)

12 years agoEnable build of pidl generated netlogon server.
Günther Deschner [Wed, 30 Jan 2008 23:38:12 +0000 (00:38 +0100)]
Enable build of pidl generated netlogon server.

Guenther
(This used to be commit cb0fad1c97e1b590791fc0661f8ada1cdaa69318)

12 years agoRemove old, unused marshalling code for SAMR_GET_DOM_PWINFO.
Günther Deschner [Wed, 30 Jan 2008 20:56:00 +0000 (21:56 +0100)]
Remove old, unused marshalling code for SAMR_GET_DOM_PWINFO.

Guenther
(This used to be commit d74ab657df051b7bad616dbe7fe7732a653ffe6d)

12 years agoUse pidl for samr_GetDomPwInfo() server-side.
Günther Deschner [Wed, 30 Jan 2008 20:55:03 +0000 (21:55 +0100)]
Use pidl for samr_GetDomPwInfo() server-side.

Guenther
(This used to be commit 60fe8ade74d24d49f0fed0aae360a3b00edcd2b4)

12 years agoCleanup status codes inside _net_logon_ctrl2() reply structs.
Günther Deschner [Thu, 31 Jan 2008 00:23:49 +0000 (01:23 +0100)]
Cleanup status codes inside _net_logon_ctrl2() reply structs.

Guenther
(This used to be commit 1acb9daf809acab15bc390f6598814549b88368c)

12 years agoRemove unused samr_close marshalling.
Günther Deschner [Wed, 30 Jan 2008 11:54:11 +0000 (12:54 +0100)]
Remove unused samr_close marshalling.

Guenther
(This used to be commit 93d2ad944772513520de22aecffda15f38907b4e)

12 years agoLet _samr_Close() use pidl generated server code.
Günther Deschner [Wed, 30 Jan 2008 11:53:09 +0000 (12:53 +0100)]
Let _samr_Close() use pidl generated server code.

Guenther
(This used to be commit 2df3408079fc382d00d01a0b82b0b8e1ffeba6e4)

12 years agoRemove rpccli_samr_close and use pidl generated function instead.
Günther Deschner [Wed, 30 Jan 2008 11:39:20 +0000 (12:39 +0100)]
Remove rpccli_samr_close and use pidl generated function instead.

Guenther
(This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)

12 years agoWhen running with debug level > 10, dump ads_struct in ads_connect().
Günther Deschner [Thu, 31 Jan 2008 00:50:49 +0000 (01:50 +0100)]
When running with debug level > 10, dump ads_struct in ads_connect().

Guenther
(This used to be commit 2dd7c64fa8845fe502789068b877f5eaf060afc7)

12 years agoFix netlogon IDL for netr_GetDcName that returns WERROR.
Günther Deschner [Thu, 31 Jan 2008 00:53:26 +0000 (01:53 +0100)]
Fix netlogon IDL for netr_GetDcName that returns WERROR.

(didn't we fix this a couple of times already?)

Guenther
(This used to be commit 9ca1505d44e2c4459487c8e2f943a861e2dffb1e)

12 years agontlm_auth: Parse configfile after parsing it's location, not before.
Kai Blin [Thu, 31 Jan 2008 08:42:03 +0000 (09:42 +0100)]
ntlm_auth: Parse configfile after parsing it's location, not before.
(This used to be commit cf671ca35bff09af56c67e789a86a3b86093b5fb)

12 years agomerged tdb transaction fix
Andrew Tridgell [Wed, 30 Jan 2008 22:48:20 +0000 (09:48 +1100)]
merged tdb transaction fix
(This used to be commit 1a1c7954368a7f168a57f86f4f857cf70258e37a)

12 years agoFix some IBM checker warnings
Volker Lendecke [Wed, 30 Jan 2008 18:56:05 +0000 (19:56 +0100)]
Fix some IBM checker warnings
(This used to be commit 0341b0be49fef5e6003a170100388b5c47a41e67)

12 years agontlm_auth: Fix another typo in the test.
Kai Blin [Wed, 30 Jan 2008 17:34:24 +0000 (18:34 +0100)]
ntlm_auth: Fix another typo in the test.

This _should_ be the last one.
(This used to be commit d12c49e60f4390707c924b9e9f12fa9333b006e2)

12 years agontlm_auth: test should honour configfile option to run on build farm.
Kai Blin [Wed, 30 Jan 2008 16:57:32 +0000 (17:57 +0100)]
ntlm_auth: test should honour configfile option to run on build farm.
(This used to be commit 11c9c1536b153047ba387b9804f34a6555a5ae26)

12 years agontlm_auth: Fix typos in the torture test script.
Kai Blin [Wed, 30 Jan 2008 15:59:40 +0000 (16:59 +0100)]
ntlm_auth: Fix typos in the torture test script.

This should fix the build farm. Sorry, wonder why it worked on my box
before.
(This used to be commit bfa919cde57a26cd2ae7397281923792b7afe83a)

12 years agontlm_auth: Add a blackbox test.
Kai Blin [Mon, 28 Jan 2008 10:28:38 +0000 (11:28 +0100)]
ntlm_auth: Add a blackbox test.
(This used to be commit f02b74fc067074d8e48e186a7b7255a244592f7d)

12 years agoFix build warning.
Günther Deschner [Wed, 30 Jan 2008 11:48:20 +0000 (12:48 +0100)]
Fix build warning.

Guenther
(This used to be commit a3417be934e34af2525ddb731af288034d51432b)

12 years agoRe-enable async I/O for non-TSM systems
Volker Lendecke [Wed, 30 Jan 2008 10:11:27 +0000 (11:11 +0100)]
Re-enable async I/O for non-TSM systems

The logic was wrong: A "SMB_VFS_AIO_FORCE()==False" disabled async I/O, whereas
a "SMB_VFS_AIO_FORCE()==True" should enforce it regardless of other settings.

Alexander, please check!
(This used to be commit 46882ad9927c95caadeb7fb03c1d7491bbe1fb22)

12 years agoAdd netrenumtrusteddomains() and netrenumtrusteddomainsex() cmds to rpcclient.
Günther Deschner [Wed, 30 Jan 2008 01:08:23 +0000 (02:08 +0100)]
Add netrenumtrusteddomains() and netrenumtrusteddomainsex() cmds to rpcclient.

Guenther
(This used to be commit 6bbe0fde6ebb5c1ea00ea24d3bdbffbf6f246bd6)

12 years agoFix uninitialized variables
Volker Lendecke [Tue, 29 Jan 2008 22:01:23 +0000 (23:01 +0100)]
Fix uninitialized variables

response.extra_data.data is not initialized on the first error path

Found by the IBM checker
(This used to be commit e9b3115c85e3d04eeaa04bfa71972d393272afca)

12 years agoMake make_way_for_eventlogs() static
Gerald W. Carter [Tue, 29 Jan 2008 21:08:37 +0000 (15:08 -0600)]
Make make_way_for_eventlogs() static
(This used to be commit cb6531965b2baab320123d4301ab851c6e22aa58)

12 years agoFix a memleak
Volker Lendecke [Sun, 20 Jan 2008 15:46:46 +0000 (16:46 +0100)]
Fix a memleak
(This used to be commit 252c3130697d1b7fd34a5225d83cef4f32e663b2)

12 years agoFix a return value from sync_eventlog_params() (patch from Volker)
Gerald W. Carter [Tue, 29 Jan 2008 21:06:59 +0000 (15:06 -0600)]
Fix a return value from sync_eventlog_params() (patch from Volker)
(This used to be commit 77085f1a58666ac4314924d18c87d4add0553dba)

12 years agoAllow NULL request and/or response pointers to be passed to wbcRequestResponse().
Gerald W. Carter [Tue, 29 Jan 2008 20:49:38 +0000 (14:49 -0600)]
Allow NULL request and/or response pointers to be passed to wbcRequestResponse().

This is a valid parameter set for things like setpwent() and ping().
(This used to be commit c1cdf6085329d55cf29ccc8c980fc853a03a695e)

12 years agoRemove include/rpc_ds.h and all references to it completly.
Günther Deschner [Tue, 29 Jan 2008 16:49:38 +0000 (17:49 +0100)]
Remove include/rpc_ds.h and all references to it completly.

Jerry, please have a look if you're fine with that.

Guenther
(This used to be commit beae25c808a3a03d645f247e9befcd05e3ecca2c)

12 years agoRemove unused rpc_ds marshalling code that is unused now.
Günther Deschner [Tue, 29 Jan 2008 14:51:19 +0000 (15:51 +0100)]
Remove unused rpc_ds marshalling code that is unused now.

Guenther
(This used to be commit 153253e14f82fc7078e9cc6f12409e6eda7ee7cb)

12 years agoFinally delete rpccli_ds_enum_domain_trusts() completly.
Günther Deschner [Tue, 29 Jan 2008 14:23:38 +0000 (15:23 +0100)]
Finally delete rpccli_ds_enum_domain_trusts() completly.

Guenther
(This used to be commit c420e42adfea9908a93d3eea5688488e5a9062a2)

12 years agoRemove last caller of rpccli_ds_enum_domain_trusts().
Günther Deschner [Tue, 29 Jan 2008 14:05:56 +0000 (15:05 +0100)]
Remove last caller of rpccli_ds_enum_domain_trusts().

I added an alias in rpcclient's netlogon command table.

Guenther
(This used to be commit 1a900e08e92484407d69661517f08e675a3c352a)

12 years agoUse another pidl generated call to enumerate ds trusted domains in winbindd.
Günther Deschner [Tue, 29 Jan 2008 13:59:20 +0000 (14:59 +0100)]
Use another pidl generated call to enumerate ds trusted domains in winbindd.

Guenther
(This used to be commit f6397fbeae6668c6d0470f968cb1506b3ce34e4a)

12 years agoUse pidl generated call to enumerate ds trusted domains in winbindd.
Günther Deschner [Tue, 29 Jan 2008 13:20:20 +0000 (14:20 +0100)]
Use pidl generated call to enumerate ds trusted domains in winbindd.

Guenther
(This used to be commit 3a3c1aed9bfc681457aa06f706fc6fe2d9b2e903)

12 years agoFix the build. Avoid unrequired ndr_print_ads_struct dependencies.
Günther Deschner [Tue, 29 Jan 2008 13:47:47 +0000 (14:47 +0100)]
Fix the build. Avoid unrequired ndr_print_ads_struct dependencies.

Guenther
(This used to be commit c832882e49ff0dac6a717819dda24ab814253b2f)

12 years agoAdd ndr_print_ads_auth_flags().
Günther Deschner [Tue, 29 Jan 2008 13:14:09 +0000 (14:14 +0100)]
Add ndr_print_ads_auth_flags().

Guenther
(This used to be commit 52bd4ce68d7ff24c480ed350cecfd325e51ba0b4)

12 years agoMove DS_DOMAIN_FUNCTION defines to ads.h.
Günther Deschner [Tue, 29 Jan 2008 11:31:51 +0000 (12:31 +0100)]
Move DS_DOMAIN_FUNCTION defines to ads.h.

Guenther
(This used to be commit 2605c6758ebb2f53c0c91f99d766e3db548e07ce)

12 years agoAdd missing windows 2008 netr_DsR_DcFlags and netr_DsRGetDCName_flags flags.
Günther Deschner [Tue, 29 Jan 2008 11:20:54 +0000 (12:20 +0100)]
Add missing windows 2008 netr_DsR_DcFlags and netr_DsRGetDCName_flags flags.

Guenther
(This used to be commit 1702a1512ece1a9d2bb092cb9bbfc499c081da70)

12 years agoEliminate remote tree of dsgetdcname (which will happen in libnetapi then).
Günther Deschner [Sat, 26 Jan 2008 00:39:33 +0000 (01:39 +0100)]
Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).

Guenther
(This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)

12 years agoDump msDS-SupportedEncryptionTypes in adssearch.
Günther Deschner [Mon, 28 Jan 2008 18:22:17 +0000 (19:22 +0100)]
Dump msDS-SupportedEncryptionTypes in adssearch.

Guenther
(This used to be commit bc0b68709cbbdd71996a39e23fe8305e1f144f31)

12 years agoRestrict the enctypes in the generated krb5.conf files to Win2003 types.
Gerald W. Carter [Mon, 28 Jan 2008 17:32:09 +0000 (11:32 -0600)]
Restrict the enctypes in the generated krb5.conf files to Win2003 types.

This fixes the failure observed on FC8 when joining a Windows 2008 RC1
domain.  We currently do not handle user session keys correctly
when the KDC uses AES in the ticket replies.
(This used to be commit 8039a2518caae54bc876368c73ec493f3cd4eb73)

12 years agoWe need to leave the corepath around
Volker Lendecke [Sun, 27 Jan 2008 09:22:42 +0000 (10:22 +0100)]
We need to leave the corepath around

In case we need to dump core, in line 191 we dereference corepath to be able to
chdir there.

Jeremy, please check!

Volker
(This used to be commit 3959b1954b02405ec174497fa17e345ca6d5ee94)

12 years agoAdding missing calls to va_end().
Tim Potter [Sun, 27 Jan 2008 06:31:56 +0000 (17:31 +1100)]
Adding missing calls to va_end().

Just a small commit to get a handle on this git thingy.  This patch
fixes some missing calls to va_end() to match various calls to va_start()
and VA_COPY().

Tim.
(This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)

12 years agoRemove an unused external reference
Volker Lendecke [Sat, 26 Jan 2008 23:35:14 +0000 (00:35 +0100)]
Remove an unused external reference
(This used to be commit 147033b9dff7160ff324fa52aba1f054f962961b)

12 years agoFix uninitialized variables
Volker Lendecke [Sat, 26 Jan 2008 20:29:18 +0000 (21:29 +0100)]
Fix uninitialized variables

Thanks to Corinna Vinschen
(This used to be commit aba8c17599f0be82cff33229bb107814d88faafe)

12 years agoAdd cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.
Günther Deschner [Fri, 25 Jan 2008 20:21:33 +0000 (21:21 +0100)]
Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.

Guenther
(This used to be commit 227f5755c8844dbff8d66adec3d7fd94b583358f)

12 years agoRemove hand-written rpccli_netlogon_dsr_getdcnameex[2].
Günther Deschner [Fri, 25 Jan 2008 20:19:39 +0000 (21:19 +0100)]
Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].

Guenther
(This used to be commit 3ded8b9b7eee18a3f903e264adfb7fea6a3c0c5f)

12 years agoUse rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.
Günther Deschner [Fri, 25 Jan 2008 20:17:44 +0000 (21:17 +0100)]
Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.

Guenther
(This used to be commit 2caed3f816d29bd7dfa36df3ddd6aeba5bbfa252)

12 years agoRe-run make idl.
Günther Deschner [Fri, 25 Jan 2008 20:15:36 +0000 (21:15 +0100)]
Re-run make idl.

Couldn't we move on doing this during the build??

Guenther
(This used to be commit d69cbd009903a8b36c9254a59faa5783fbc737f9)

12 years agoFix netr_DsRGetDCNameEx and netr_DsRGetDCNameEx2 IDL.
Günther Deschner [Fri, 25 Jan 2008 20:12:42 +0000 (21:12 +0100)]
Fix netr_DsRGetDCNameEx and netr_DsRGetDCNameEx2 IDL.

Guenther
(This used to be commit 46679ddbc3137ac6edcdb1c61e2a7fa65f91341d)

12 years agoAdd IDL for netr_DsrDeregisterDNSHostRecords (just for completion).
Günther Deschner [Fri, 25 Jan 2008 16:43:15 +0000 (17:43 +0100)]
Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).

Guenther
(This used to be commit 454a0711f1614107436ef36ec21ebb8567728bf9)

12 years agoFix bogus uninitialized variable warnings
Volker Lendecke [Fri, 25 Jan 2008 20:20:39 +0000 (21:20 +0100)]
Fix bogus uninitialized variable warnings
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)

12 years agoFix Coverity IDs 451, 452
Volker Lendecke [Fri, 25 Jan 2008 10:13:19 +0000 (11:13 +0100)]
Fix Coverity IDs 451, 452
(This used to be commit d28a537277bedb65d1c2a01c971a3a22b1aa6624)

12 years agoTiny simplification
Volker Lendecke [Fri, 25 Jan 2008 08:28:19 +0000 (09:28 +0100)]
Tiny simplification
(This used to be commit e78f6872bfc19ce0476b8d79c856a8d9c646a913)

12 years agoRemove a pointless while loop
Volker Lendecke [Fri, 25 Jan 2008 08:21:44 +0000 (09:21 +0100)]
Remove a pointless while loop
(This used to be commit f591bd68eafdbaefcaa95510cc4cb9a74cef0562)

12 years agoAttempt to fix the build on OpenBSD
Volker Lendecke [Fri, 25 Jan 2008 19:52:20 +0000 (20:52 +0100)]
Attempt to fix the build on OpenBSD

Thanks to metze for pointing this out
(This used to be commit c94c04e3e6f6ae243a55534a76654755bff55651)

12 years agoAlways trust the domain flags in the wcache trusted domain cache.
Gerald W. Carter [Fri, 25 Jan 2008 18:21:14 +0000 (12:21 -0600)]
Always trust the domain flags in the wcache trusted domain cache.

Use the flags stored in the tdb when determining if a domain can
be contacted.  The tdb should be considered authoratative anyways unless
you know the flags in the winbindd_domain are correct (such as when
first enumerating trusts).

Original suggestion and patch from Steven Danneman <steven.danneman@isilon.com>.
Manually rewritten by me for 3.2.
(This used to be commit f53658a20de07a29abbe2e90917b328d00fc0024)

12 years agoUse the correct domain name when looking up the trust password.
Gerald W. Carter [Fri, 25 Jan 2008 18:18:05 +0000 (12:18 -0600)]
Use the correct domain name when looking up the trust password.

On a DC, we always use the domain name given.  On a domain member,
we use lp_workgroup().  This fixes a bug supporting trusted domains.
(This used to be commit 8b063a414149bdf401a8f854d55ed7dc6f94cb60)

12 years agoRemove more unused LSA marshalling functions.
Günther Deschner [Fri, 25 Jan 2008 15:57:55 +0000 (16:57 +0100)]
Remove more unused LSA marshalling functions.

Guenther
(This used to be commit 95e0fb452bda4c81b26e3dec4953bbba37940467)

12 years agoRemove some unused structures from rpc_lsa.h.
Günther Deschner [Fri, 25 Jan 2008 15:40:51 +0000 (16:40 +0100)]
Remove some unused structures from rpc_lsa.h.

Guenther
(This used to be commit a52066e6083ff4b0d21b57ba43a812c02c0cbd78)

12 years agoAdd cmd_netlogon_dsr_enumtrustdom() to rpcclient.
Günther Deschner [Fri, 25 Jan 2008 15:35:09 +0000 (16:35 +0100)]
Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.

Guenther
(This used to be commit cb44c901c1bc66da9f3636020401238ce0005105)

12 years agorun "make idl".
Günther Deschner [Fri, 25 Jan 2008 15:33:36 +0000 (16:33 +0100)]
run "make idl".

Guenther
(This used to be commit 5db4310d4c9149dc9d68f7684dc961926f94544a)

12 years agoFix netr_DsrEnumerateDomainTrusts IDL.
Günther Deschner [Fri, 25 Jan 2008 15:20:47 +0000 (16:20 +0100)]
Fix netr_DsrEnumerateDomainTrusts IDL.

Guenther
(This used to be commit 527aae96a6c2da822a21996ba4e6f7df1941fdbc)

12 years agoAdd LIBNETAPI_LOCAL_SERVER() macro.
Günther Deschner [Fri, 25 Jan 2008 14:46:11 +0000 (15:46 +0100)]
Add LIBNETAPI_LOCAL_SERVER() macro.

Guenther
(This used to be commit 4bdcf07bcc3aaf7c3f7245cfdda06433bcf4ae60)