jra/samba/.git
16 years agoFix valgrind errors
Volker Lendecke [Mon, 4 Feb 2008 18:33:56 +0000 (19:33 +0100)]
Fix valgrind errors

We need to keep the names around on the search. Probably a tdb_move would do it
here as well, but RPC is not the fastest thing on earth anyway...

Thanks to Günther for pointing that out to me!
(This used to be commit c9472ae61039adf178e047d89dbcc698dfa57059)

16 years agotiny simplification
Volker Lendecke [Mon, 4 Feb 2008 15:50:09 +0000 (16:50 +0100)]
tiny simplification
(This used to be commit 22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6)

16 years agoRemove a static
Volker Lendecke [Sat, 2 Feb 2008 13:01:26 +0000 (14:01 +0100)]
Remove a static

I very much doubt that this is called enough to justify a global. If this turns
out to be a hot code path, we might reconsider :-)
(This used to be commit 5223d18ea2d891418a0f833f58cc3502cb26ce03)

16 years agoRemove unused marshalling for SAMR_CONNECT_4.
Günther Deschner [Mon, 4 Feb 2008 18:17:41 +0000 (19:17 +0100)]
Remove unused marshalling for SAMR_CONNECT_4.

Guenther
(This used to be commit 86d00328aead337026a1550ee888ee3f646f62b2)

16 years agoAdd note about "unknown" in samr_Connect4 (from Samba3 rpc_parse).
Günther Deschner [Mon, 4 Feb 2008 18:13:57 +0000 (19:13 +0100)]
Add note about "unknown" in samr_Connect4 (from Samba3 rpc_parse).

Guenther
(This used to be commit 7e0e74ff541167cb3862e544b7e964006d2eb93c)

16 years agoUse rpccli_samr_Connect4() in rpcclient.
Günther Deschner [Mon, 4 Feb 2008 18:13:15 +0000 (19:13 +0100)]
Use rpccli_samr_Connect4() in rpcclient.

Guenther
(This used to be commit c05b5709e4943345f5d2a35fad5155c79650686d)

16 years agoRemove unused marshalling for SAMR_ADD_GROUPMEM.
Günther Deschner [Mon, 4 Feb 2008 17:26:18 +0000 (18:26 +0100)]
Remove unused marshalling for SAMR_ADD_GROUPMEM.

Guenther
(This used to be commit 83d1b7429ea902742c9c1f42fca57fb1757fc2b4)

16 years agoUse rpccli_samr_AddGroupMember() in net.
Günther Deschner [Mon, 4 Feb 2008 17:45:07 +0000 (18:45 +0100)]
Use rpccli_samr_AddGroupMember() in net.

Guenther
(This used to be commit e2635fa1e4785104174825c7ff063bd216060cb8)

16 years agoUse pidl for _samr_AddGroupMember().
Günther Deschner [Mon, 4 Feb 2008 17:36:44 +0000 (18:36 +0100)]
Use pidl for _samr_AddGroupMember().

Guenther
(This used to be commit 4f923d970eac5841d1f67dbb8fc0c1dd1fda95a3)

16 years agoRemove unused marshalling for SAMR_DEL_GROUPMEM.
Günther Deschner [Mon, 4 Feb 2008 17:16:30 +0000 (18:16 +0100)]
Remove unused marshalling for SAMR_DEL_GROUPMEM.

Guenther
(This used to be commit a65c89c80627280247e25b695eec081386cc4fb6)

16 years agoUse rpccli_samr_DeleteGroupMember() in net.
Günther Deschner [Mon, 4 Feb 2008 17:13:07 +0000 (18:13 +0100)]
Use rpccli_samr_DeleteGroupMember() in net.

Guenther
(This used to be commit 4e1496894ba286aa42ff0a49d975d54c5ee04b2d)

16 years agoUse pidl for _samr_DeleteGroupMember().
Günther Deschner [Mon, 4 Feb 2008 17:09:35 +0000 (18:09 +0100)]
Use pidl for _samr_DeleteGroupMember().

Guenther
(This used to be commit 94d6536809266ea3a12cd255fb7f2f7a70c42da3)

16 years agodynconfig: Add missing prototypes and fix typoed ones.
Kai Blin [Mon, 4 Feb 2008 16:58:31 +0000 (17:58 +0100)]
dynconfig: Add missing prototypes and fix typoed ones.

Jeremy, please check.
(This used to be commit e7539730d003e9bdc0bf8208d1d426082dad84a5)

16 years agoRemove unused marshalling for SAMR_CONNECT5.
Günther Deschner [Mon, 4 Feb 2008 16:14:57 +0000 (17:14 +0100)]
Remove unused marshalling for SAMR_CONNECT5.

Guenther
(This used to be commit d2d91dd4968dbd1349bdb973e2679f68c608c2ed)

16 years agoUse pidl for _samr_Connect5().
Günther Deschner [Mon, 4 Feb 2008 16:10:16 +0000 (17:10 +0100)]
Use pidl for _samr_Connect5().

Guenther
(This used to be commit ca233bfe0e5350cb699312e4937c6bd1cb43f7c1)

16 years agoUse pidl for _samr_Connect4().
Günther Deschner [Mon, 4 Feb 2008 15:35:32 +0000 (16:35 +0100)]
Use pidl for _samr_Connect4().

Guenther
(This used to be commit ceb3b6a0a3ed15c04bdb518a28167531403cc928)

16 years agoUse pidl for _samr_Connect2().
Günther Deschner [Mon, 4 Feb 2008 15:23:46 +0000 (16:23 +0100)]
Use pidl for _samr_Connect2().

Guenther
(This used to be commit 35a691c2595883a7f15d039839de11798b9a7ceb)

16 years agoRemove unused marshalling for SAMR_CONNECT_ANON.
Günther Deschner [Mon, 4 Feb 2008 15:20:25 +0000 (16:20 +0100)]
Remove unused marshalling for SAMR_CONNECT_ANON.

Guenther
(This used to be commit e1cae5517f3a9a8fb8a79c440363243592565363)

16 years agoUse pidl for _samr_Connect().
Günther Deschner [Mon, 4 Feb 2008 15:17:20 +0000 (16:17 +0100)]
Use pidl for _samr_Connect().

Guenther
(This used to be commit 79c3aa6588c6d79a2127153dc0bcc75ecc468de8)

16 years agopopt: Use SMB_CONF_PATH environment var if no other configfile is set.
Kai Blin [Mon, 4 Feb 2008 15:16:59 +0000 (16:16 +0100)]
popt: Use SMB_CONF_PATH environment var if no other configfile is set.

Now --configfile (or -s) will have precedence, if that's not given
SMB_CONF_PATH is checked, otherwise the $(CONFIGDIR)/smb.conf default
value is used.

Thanks to Michael for his comments.
(This used to be commit 92a9c6c56fa90aead3b7f4a07bf4f3973ba23555)

16 years agoUse the proper boolean constants in wbinfo.c .
Michael Adam [Mon, 4 Feb 2008 16:25:06 +0000 (17:25 +0100)]
Use the proper boolean constants in wbinfo.c .

Michael
(This used to be commit be57475cd1d5db60481e74000dc7d65002742376)

16 years agoReformatting: Fix spacing in wbinfo.c .
Michael Adam [Mon, 4 Feb 2008 16:23:28 +0000 (17:23 +0100)]
Reformatting: Fix spacing in wbinfo.c .

This fixes mixed tabs/spaces and trailing whitespaces
I just ran across.

Michael
(This used to be commit 617928cbaeb76cf40245f95d02b48aaa0e18d69a)

16 years agoPrevent a segfault when "wbinfo -a" is called without password.
Michael Adam [Mon, 4 Feb 2008 16:07:54 +0000 (17:07 +0100)]
Prevent a segfault when "wbinfo -a" is called without password.

wbcAuthenticateUser segfaults when passed NULL as password.
This only changes the caller in wbinfo.c to pass an empty
password string to wbcAuthenticateUser().

Michael
(This used to be commit 3cbc7c19eba68427160e09e865edc85c7fe38413)

16 years agoFix a typo in a debug message.
Michael Adam [Mon, 28 Jan 2008 16:47:41 +0000 (17:47 +0100)]
Fix a typo in a debug message.

Michael
(This used to be commit 3865a7e6a19630f8a90140accf4a6e93d4f70e6c)

16 years agoRemove "pointer_default_top(unique)" from spoolss.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 12:45:49 +0000 (13:45 +0100)]
Remove "pointer_default_top(unique)" from spoolss.idl and rerun make idl.

Guenther
(This used to be commit d1310fc7d96676d4ab2793e70cc1c1c2aaab967c)

16 years agoRemove "pointer_default_top(unique)" from srvsvc.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 12:40:04 +0000 (13:40 +0100)]
Remove "pointer_default_top(unique)" from srvsvc.idl and rerun make idl.

Guenther
(This used to be commit 653d80952a078403f89ad5a3ac66c403e5a86f2f)

16 years agoRemove "pointer_default_top(unique)" from svcctl.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 12:27:19 +0000 (13:27 +0100)]
Remove "pointer_default_top(unique)" from svcctl.idl and rerun make idl.

Guenther
(This used to be commit 6cd231d9f04efb116c8d7f9f4500ba7b1da7ffc5)

16 years agoRemove "pointer_default_top(unique)" from winreg.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 12:07:14 +0000 (13:07 +0100)]
Remove "pointer_default_top(unique)" from winreg.idl and rerun make idl.

Guenther
(This used to be commit 7fadf880b2e491862d81f93b7909e5f078ad4636)

16 years agoRemove "pointer_default_top(unique)" from wkssvc.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 11:58:07 +0000 (12:58 +0100)]
Remove "pointer_default_top(unique)" from wkssvc.idl and rerun make idl.

Guenther
(This used to be commit a301adcbc6034e88162e59b1fa43f2ad14472f0a)

16 years agoRemove "pointer_default_top(unique)" from samr.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 11:52:33 +0000 (12:52 +0100)]
Remove "pointer_default_top(unique)" from samr.idl and rerun make idl.

Guenther
(This used to be commit 4e7213b0f2c92ea875a992c586df4bdcb6353340)

16 years agoRemove "pointer_default_top(unique)" from eventlog.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 11:29:07 +0000 (12:29 +0100)]
Remove "pointer_default_top(unique)" from eventlog.idl and rerun make idl.

Guenther
(This used to be commit 81a1f8e47fa2c47137ce124b5022fab969e74b0d)

16 years agoRemove "pointer_default_top(unique)" from netlogon.idl and rerun make idl.
Günther Deschner [Mon, 4 Feb 2008 11:28:20 +0000 (12:28 +0100)]
Remove "pointer_default_top(unique)" from netlogon.idl and rerun make idl.

Guenther
(This used to be commit 3b8d323e62798836171d55f7b1c3ffa8cd292d50)

16 years agoForgot to add this hunk in ndr_pull_eventlog_Record from an earlier commit.
Günther Deschner [Mon, 4 Feb 2008 10:52:30 +0000 (11:52 +0100)]
Forgot to add this hunk in ndr_pull_eventlog_Record from an earlier commit.

Guenther
(This used to be commit 675a17877c3086816e53d87d264adf1fa60d9700)

16 years agoRemove unused arguments in read_package_entry() in the eventlog rpc server.
Günther Deschner [Mon, 4 Feb 2008 10:33:06 +0000 (11:33 +0100)]
Remove unused arguments in read_package_entry() in the eventlog rpc server.

Guenther
(This used to be commit c2e786d4e2cb53b5a8be45278f221acaa7f5122a)

16 years agoRe-run make idl.
Günther Deschner [Mon, 4 Feb 2008 10:28:15 +0000 (11:28 +0100)]
Re-run make idl.

Guenther
(This used to be commit c56b702454c82b7aa7debbfc7f270b2d2b10226d)

16 years agoFix IDL for eventlog_ReadEventLogW().
Günther Deschner [Mon, 4 Feb 2008 10:27:22 +0000 (11:27 +0100)]
Fix IDL for eventlog_ReadEventLogW().

Guenther
(This used to be commit f3377eb41d13b13082cd787e5437d0a92497a6b5)

16 years agoRemove unused marshalling for EVENTLOG_OPEN_EVENTLOG.
Günther Deschner [Mon, 4 Feb 2008 10:10:53 +0000 (11:10 +0100)]
Remove unused marshalling for EVENTLOG_OPEN_EVENTLOG.

Guenther
(This used to be commit 15d22925def45f1f8cd2d356a7f580fb4bfd05ef)

16 years agoUse pidl for _eventlog_OpenEventLogW().
Günther Deschner [Mon, 4 Feb 2008 10:10:18 +0000 (11:10 +0100)]
Use pidl for _eventlog_OpenEventLogW().

Guenther
(This used to be commit ef293be6cb95225f10e8062b3089dc1bbe5fd013)

16 years agoRe-run make idl.
Günther Deschner [Mon, 4 Feb 2008 10:08:36 +0000 (11:08 +0100)]
Re-run make idl.

Guenther
(This used to be commit f8a3dc350014ef08fe2d5a702dafdb5d0583ffef)

16 years agoFix IDL for eventlog_OpenEventLogW().
Günther Deschner [Mon, 4 Feb 2008 10:07:41 +0000 (11:07 +0100)]
Fix IDL for eventlog_OpenEventLogW().

Guenther
(This used to be commit 9db324ac2a9c4767a109e136e15c35e2a89f57e2)

16 years agoRemove unused marshalling for EVENTLOG_CLEAR_EVENTLOG.
Günther Deschner [Mon, 4 Feb 2008 09:56:16 +0000 (10:56 +0100)]
Remove unused marshalling for EVENTLOG_CLEAR_EVENTLOG.

Guenther
(This used to be commit badbdf1b88b270d298d44ed6fddb0c31fbcb3717)

16 years agoCopy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.
Günther Deschner [Mon, 4 Feb 2008 09:55:14 +0000 (10:55 +0100)]
Copy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.

Guenther
(This used to be commit 26eadadbf628f4d3aa4cd0ab4b55d47dc79c80ba)

16 years agoUse pidl for _eventlog_ClearEventLogW().
Günther Deschner [Mon, 4 Feb 2008 09:53:59 +0000 (10:53 +0100)]
Use pidl for _eventlog_ClearEventLogW().

Guenther
(This used to be commit 70a4ba798cdd3b4daa01c2f6aa693de34288c8b9)

16 years agoRemove unused marshalling for EVENTLOG_GET_OLDEST_ENTRY.
Günther Deschner [Mon, 4 Feb 2008 09:45:50 +0000 (10:45 +0100)]
Remove unused marshalling for EVENTLOG_GET_OLDEST_ENTRY.

Guenther
(This used to be commit f837fff80ef369133761f7a33a616fd4721c5a68)

16 years agoUse pidl for _eventlog_GetOldestRecord().
Günther Deschner [Mon, 4 Feb 2008 09:44:51 +0000 (10:44 +0100)]
Use pidl for _eventlog_GetOldestRecord().

Guenther
(This used to be commit a6a5d99f5206dc4b94f3d0ecceb5198d66afdf41)

16 years agoRe-run make idl.
Günther Deschner [Mon, 4 Feb 2008 09:44:00 +0000 (10:44 +0100)]
Re-run make idl.

Guenther
(This used to be commit ff6fb5de32ee81efc88d8c15f13c302e21790eee)

16 years agoFill in IDL eventlog_GetOldestRecord() based on samba3 rpc.
Günther Deschner [Mon, 4 Feb 2008 09:42:33 +0000 (10:42 +0100)]
Fill in IDL eventlog_GetOldestRecord() based on samba3 rpc.

Guenther
(This used to be commit a939271b0758731debfb76eb512ccc1c8270e1fb)

16 years agoRe-run make idl.
Günther Deschner [Mon, 4 Feb 2008 09:15:19 +0000 (10:15 +0100)]
Re-run make idl.

Guenther
(This used to be commit cfb4c6d82f84eb3a434f8a3e07b8281636f192db)

16 years agoFix IDL for eventlog_ClearEventLogW.
Günther Deschner [Mon, 4 Feb 2008 09:14:08 +0000 (10:14 +0100)]
Fix IDL for eventlog_ClearEventLogW.

As of existing samba3 rpc code, unknown is backupfile.

Guenther
(This used to be commit 382de7c06092805738f40df69f6c1f71858f6730)

16 years agoRemove unused marshalling for EVENTLOG_GET_NUM_RECORDS.
Günther Deschner [Mon, 4 Feb 2008 09:12:08 +0000 (10:12 +0100)]
Remove unused marshalling for EVENTLOG_GET_NUM_RECORDS.

Guenther
(This used to be commit 0c8e0916d7a7a403255c814536f1ebde3c5c9905)

16 years agoUse pidl for _eventlog_GetNumRecords().
Günther Deschner [Mon, 4 Feb 2008 09:10:12 +0000 (10:10 +0100)]
Use pidl for _eventlog_GetNumRecords().

Guenther
(This used to be commit af30a6373e7d85df4bb99e153588498938ddc368)

16 years agoRemove unused marshalling for SAMR_SET_SEC_OBJ.
Günther Deschner [Fri, 1 Feb 2008 16:25:09 +0000 (17:25 +0100)]
Remove unused marshalling for SAMR_SET_SEC_OBJ.

Guenther
(This used to be commit 90982cf43ab549a19b4d45860504bb7db57c7c8a)

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

Guenther
(This used to be commit 6bfd76002f083f07b3d9d5c1f16e67614e7eb972)

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
(This used to be commit b15512f8ccbc6c645b8be95827862a58a1a7fab2)

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
(This used to be commit c61cba97268f198ad7e25acc3cb0b166e897299d)

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
(This used to be commit 845d9ea9f641ff58a9b16395697c72a3963bae52)

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 :-)
(This used to be commit 26771bdca0e6837db267f4db7907e489acd92fc6)

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
(This used to be commit fad87968921eca0b5144760c412c5f599f9066f3)

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
(This used to be commit 0f7d360a01baf02e251846118cb36e6a1cdcbeb9)

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
(This used to be commit af40b71023f8c4a2133d996ea698c72b97624043)

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
(This used to be commit 9e2947039ef70cab8bbd6027182d9c721eac3194)

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
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef)

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
(This used to be commit 90554799afa42855c3e7b87dc632e67f0952f988)

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
(This used to be commit f9c8ac83ff42137d2101d3bb17e5dcc3c3d70a8f)

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
(This used to be commit ddbdd11a49fba9ec4834807dec385cdf3120ce00)

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
(This used to be commit 187707591ffa2668aecd4857cb2ef2cd20bd6b08)

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
(This used to be commit 9a82350ba92bf5fc4f2968d5130bcb2118e7a981)

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
(This used to be commit 667864d442ea7e1faed7b032315db8856fa91481)

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
(This used to be commit fff31f8f35ad26d67e78b9a71cfd35670aa9ac5f)

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
(This used to be commit 5750c3a51b4ddac635a98195d1621b24f91bad3f)

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
(This used to be commit 73a79a957a33a8761acf54598ce71e3604ecf3c5)

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
(This used to be commit 59e8f22f36be5a70fdb101964570ce7c10e8ff65)

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
(This used to be commit 546ca0414aa1a9389e620b8f532224a3a19256d4)

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
(This used to be commit 1ff924c4360952eb1d714a2f2ec3760b380c7a24)

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
(This used to be commit e02b07da063200eaf7f2902b7541237b3f9442d1)

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
(This used to be commit 0b4d39f4bddcbf372365b1ca7c1d1d2ba435299e)

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
(This used to be commit d64b19e77aa499c1ee1aaf788ddf3d6fd36253e4)

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

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
(This used to be commit 405e01628e66acfb4b1dbcb3b9fdae4cca0f9ce0)

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
(This used to be commit a142fe21e386233af658024b5a194eee0bc5c4ba)

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.
(This used to be commit aab736e6079729b3f3ab653674834e3f1305d456)

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
(This used to be commit 7dbfc7bdc65314466a83e8121b35c9bcb24b2631)

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.
(This used to be commit 9347d34b502bef70cdae8f3e8acd9796dba49581)

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
(This used to be commit 69e8a83093149201c36ffc2b7fadfa469aabf7bd)

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
(This used to be commit 701af69118c9634c7dc0d5c10152ce776787694d)

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
(This used to be commit 36f52b631c013f885ed25ea741a52f763d27198b)

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
(This used to be commit 2882d48dfed2cd9783833d010d126d7b3cfb4899)

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
(This used to be commit 7b7b10adcaa94de3fed9b5e925eeee714ffd1c50)

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
(This used to be commit c53bfd74251398924a1fae0fd8d9020dba958ba1)

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
(This used to be commit 2e56289889b705d003a170fafa69163ce5841f3b)

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
(This used to be commit 1248ec89d2d9a400f892f828126ce4e862de642f)

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
(This used to be commit 622d529c45aaa6d8ddd3a38a2fa4fc5e1ad53fe9)

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
(This used to be commit fb3f7f4046fa195baf5116598772d9016238637f)

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>
(This used to be commit 7ad8e22073b577cd454675bacf92549e81f55e1c)

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
(This used to be commit e26ba6a3c6bf54b426b55c4ca0b9db98cd0d7b75)

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
(This used to be commit f34c0e7ada8ce625ee20e3d776e41dabbad71ce5)

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
(This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)

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
(This used to be commit c00d629d4e557e5efd7c339904e228ca76504e7a)

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
(This used to be commit f66facc0f82e3d4c470d584d8ab0494fcb4ff5a2)

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
(This used to be commit 9660a341b6b32609b28770130e974d674ab31215)