metze/samba/wb-ndr.git
16 years agoRemove unused marshalling for SAMR_QUERY_SEC_OBJ.
Günther Deschner [Fri, 1 Feb 2008 16:21:35 +0000 (17:21 +0100)]
Remove unused marshalling for SAMR_QUERY_SEC_OBJ.

Guenther

16 years agoUse pidl for _samr_QuerySecurity().
Günther Deschner [Fri, 1 Feb 2008 16:28:01 +0000 (17:28 +0100)]
Use pidl for _samr_QuerySecurity().

Guenther

16 years agoUse rpccli_samr_QuerySecurity() for rpcclient.
Günther Deschner [Fri, 1 Feb 2008 16:30:42 +0000 (17:30 +0100)]
Use rpccli_samr_QuerySecurity() for rpcclient.

Guenther

16 years agoRemove smb_read_error global
Volker Lendecke [Sat, 26 Jan 2008 14:36:00 +0000 (15:36 +0100)]
Remove smb_read_error global

YESS :-)

16 years agoRemove dependency on get_srv_read_error() from main loop
Volker Lendecke [Sat, 26 Jan 2008 14:33:40 +0000 (15:33 +0100)]
Remove dependency on get_srv_read_error() from main loop

16 years agoConvert receive_message_or_smb to NTSTATUS
Volker Lendecke [Sat, 26 Jan 2008 14:18:33 +0000 (15:18 +0100)]
Convert receive_message_or_smb to NTSTATUS

16 years agoConvert read_data() to NTSTATUS
Volker Lendecke [Sat, 26 Jan 2008 09:39:21 +0000 (10:39 +0100)]
Convert read_data() to NTSTATUS

16 years agoMake get_srv_read_error static to process.c
Volker Lendecke [Fri, 25 Jan 2008 22:57:20 +0000 (23:57 +0100)]
Make get_srv_read_error static to process.c

16 years agoConvert receive_smb_raw to NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 22:54:22 +0000 (23:54 +0100)]
Convert receive_smb_raw to NTSTATUS

16 years agoread_socket_with_timeout_ntstatus->read_socket_with_timeout
Volker Lendecke [Fri, 25 Jan 2008 22:43:50 +0000 (23:43 +0100)]
read_socket_with_timeout_ntstatus->read_socket_with_timeout

16 years agoGet rid of read_socket_with_timeout
Volker Lendecke [Fri, 25 Jan 2008 22:41:48 +0000 (23:41 +0100)]
Get rid of read_socket_with_timeout

16 years agoConvert receive_smb_talloc to NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 22:28:22 +0000 (23:28 +0100)]
Convert receive_smb_talloc to NTSTATUS

16 years agoConvert receive_smb_raw_talloc to NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 22:18:56 +0000 (23:18 +0100)]
Convert receive_smb_raw_talloc to NTSTATUS

16 years agoConvert receive_smb_raw_talloc_partial_read to NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 22:12:04 +0000 (23:12 +0100)]
Convert receive_smb_raw_talloc_partial_read to NTSTATUS

16 years agoConvert read_packet_remainder to return NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 21:27:59 +0000 (22:27 +0100)]
Convert read_packet_remainder to return NTSTATUS

16 years agoConvert read_packet_remainder to use read_socket_with_timeout_ntstatus
Volker Lendecke [Fri, 25 Jan 2008 21:21:38 +0000 (22:21 +0100)]
Convert read_packet_remainder to use read_socket_with_timeout_ntstatus

16 years agoConvert read_smb_length to return NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 20:31:40 +0000 (21:31 +0100)]
Convert read_smb_length to return NTSTATUS

16 years agoConvert read_smb_length_return_keepalive to return NTSTATUS
Volker Lendecke [Fri, 25 Jan 2008 20:24:48 +0000 (21:24 +0100)]
Convert read_smb_length_return_keepalive to return NTSTATUS

16 years agoConvert read_smb_length_return_keepalive to read_socket_with_timeout_ntstatus
Volker Lendecke [Fri, 25 Jan 2008 20:02:52 +0000 (21:02 +0100)]
Convert read_smb_length_return_keepalive to read_socket_with_timeout_ntstatus

16 years agoAdd read_socket_with_timeout_ntstatus
Volker Lendecke [Thu, 24 Jan 2008 18:17:14 +0000 (19:17 +0100)]
Add read_socket_with_timeout_ntstatus

16 years agoReturn NOTFOUND from db_tdb_delete if the record does not exist
Volker Lendecke [Thu, 24 Jan 2008 18:06:25 +0000 (19:06 +0100)]
Return NOTFOUND from db_tdb_delete if the record does not exist

16 years agoRe-run make idl.
Günther Deschner [Fri, 1 Feb 2008 22:32:48 +0000 (23:32 +0100)]
Re-run make idl.

Guenther

16 years agoFix samr_QuerySecurity IDL.
Günther Deschner [Fri, 1 Feb 2008 16:08:51 +0000 (17:08 +0100)]
Fix samr_QuerySecurity IDL.

Guenther

16 years agoNetBSD needs LD_LIBRARY_PATH
Volker Lendecke [Fri, 1 Feb 2008 19:03:05 +0000 (20:03 +0100)]
NetBSD needs LD_LIBRARY_PATH

16 years agoFix a typo
Volker Lendecke [Fri, 1 Feb 2008 14:37:11 +0000 (15:37 +0100)]
Fix a typo

16 years agoRe-run make idl.
Günther Deschner [Fri, 1 Feb 2008 22:28:37 +0000 (23:28 +0100)]
Re-run make idl.

Guenther

16 years agoUse pidl for _samr_ChangePasswordUser2().
Günther Deschner [Fri, 1 Feb 2008 22:06:43 +0000 (23:06 +0100)]
Use pidl for _samr_ChangePasswordUser2().

Guenther

16 years agoEnsure that convert_string_allocate() allocates 2 extra
Jeremy Allison [Fri, 1 Feb 2008 22:23:54 +0000 (14:23 -0800)]
Ensure that convert_string_allocate() allocates 2 extra
bytes and null terminates them to ensure NDR wire-reads
of string types are always null terminated. Bug found by
Volker after great pain :-).
Jeremy.

16 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

16 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.

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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>

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

Guenther

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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.

16 years agomerged tdb transaction fix
Andrew Tridgell [Wed, 30 Jan 2008 22:48:20 +0000 (09:48 +1100)]
merged tdb transaction fix

16 years agoFix some IBM checker warnings
Volker Lendecke [Wed, 30 Jan 2008 18:56:05 +0000 (19:56 +0100)]
Fix some IBM checker warnings

16 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.

16 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.

16 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.

16 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.

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

Guenther

16 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!

16 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

16 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

16 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

16 years agoFix a memleak
Volker Lendecke [Sun, 20 Jan 2008 15:46:46 +0000 (16:46 +0100)]
Fix a memleak

16 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)

16 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().

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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