Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Günther Deschner
68aa9bd67f
s3-rpcclient: add getdcsitecoverage call.
...
Guenther
2008-10-27 14:29:04 +01:00
Volker Lendecke
f4e760faf9
Fix bug 5840: Segfault in "rpcclient lsaaddacctrights"
2008-10-22 14:31:40 +02:00
Günther Deschner
b11f3a60fd
s3-lsa-server: fix _lsa_GetUserName.
...
Guenther
2008-10-21 11:39:45 +02:00
Günther Deschner
cefe4c6697
s3-rpcclient: fix cmd_lsa build.
...
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
f3f9446ec1
Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.
2008-10-18 16:16:57 +02:00
Günther Deschner
6503ffaa04
s3: fix s3 drsuapi callers.
...
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
f0dcc1fad4
s4-build: fix drsuapi callers.
...
Guenther
2008-10-16 14:03:10 +02:00
Günther Deschner
65dc1eeceb
s3: fix various samr callers.
...
Guenther
2008-10-15 17:11:27 +02:00
Günther Deschner
3b9a03a7c3
s3: fix samlogon client and server calls.
...
Guenther
2008-10-15 16:14:20 +02:00
Jelmer Vernooij
1f3e4f39c5
Use GUID_string rather than smb_uuid_string().
2008-10-14 02:26:18 +02:00
Jelmer Vernooij
cb78d4593b
Cope with changed signature of http_timestring().
2008-10-11 23:57:44 +02:00
Michael Adam
3ed6cfad01
rpcclient: Set the pid filed of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 18ea033909
)
2008-07-28 14:08:34 +02:00
Michael Adam
2bd58bf383
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit 42f3d681ca
)
2008-07-22 16:28:13 +02:00
Michael Adam
2d7660dcc3
rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
...
Michael
(This used to be commit 27ce662f5d
)
2008-07-22 14:47:11 +02:00
Volker Lendecke
82b5f54f96
Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
...
(This used to be commit 85db87c451
)
2008-07-21 14:36:27 +02:00
Volker Lendecke
99526d391d
Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 1fcfca007f
)
2008-07-20 17:37:14 +02:00
Volker Lendecke
e0be03d8d5
Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit a13f059955
)
2008-07-20 17:37:11 +02:00
Volker Lendecke
1335da2a7c
Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9abc9dc4dc
)
2008-07-20 17:37:11 +02:00
Michael Adam
4f0e0e5e83
rpcclient: add ability to fetch single objects with dsgetncchanges command
...
call as "dsgetncchanges <object_dn> single"
after calling "seal"
Michael
(This used to be commit c9ab2953c5
)
2008-07-18 15:15:49 +02:00
Michael Adam
f52b17f25c
rpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.
...
Michael
(This used to be commit 3ab2e7fada
)
2008-07-18 14:34:46 +02:00
Günther Deschner
9ec4980161
rpcclient: for testing, add dsgetncchanges command.
...
Guenther
(This used to be commit 54f14b3824
)
2008-07-17 18:54:11 +02:00
Volker Lendecke
5a63e1dcb6
Fix a segfault in rpcclient adddriver
...
(cherry picked from commit d4b5a9d673
)
(This used to be commit 8573032877
)
2008-06-26 15:35:56 +02:00
Günther Deschner
7139745b01
rpcclient: add samr chgpasswd command.
...
Guenther
(This used to be commit b90ae34372
)
2008-06-25 23:58:50 +02:00
Günther Deschner
14d500c0e7
rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
...
Guenther
(This used to be commit b1209a039b
)
2008-06-25 23:58:50 +02:00
Günther Deschner
059293cbf4
rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
...
Guenther
(This used to be commit 5b4650d56c
)
2008-06-25 23:58:50 +02:00
Günther Deschner
8fd045f918
rpcclient: add more generic internal dscracknames call.
...
Guenther
(This used to be commit 2351b0845c
)
2008-06-17 20:01:51 +02:00
Karolin Seeger
98ed31a107
Fix typo.
...
arguements -> arguments
Karolin
(This used to be commit 16b5b772d2
)
2008-06-17 09:46:17 +02:00
Günther Deschner
9883567fa7
rpcclient: add more useful comments what sign/seal commands are doing.
...
Guenther
(This used to be commit ec278d8bc8
)
2008-06-10 22:51:04 +02:00
Günther Deschner
09f55d0ef6
rpcclient: add drsuapi dsgetdcinfo call.
...
Guenther
(This used to be commit 1e883c88cb
)
2008-05-26 12:21:11 +02:00
Günther Deschner
6db0efbea0
rpcclient: call drsuapi_DsUnbind() when finished with DsCrackNames call.
...
Guenther
(This used to be commit d70376fc4f
)
2008-05-26 12:21:11 +02:00
Günther Deschner
b83131a16f
rpcclient: simplify drsuapi dscracknames call slightly.
...
Guenther
(This used to be commit 5611cf4253
)
2008-05-26 12:21:11 +02:00
Günther Deschner
fb05d41cb7
drsuapi: add very basic drsuapi rpcclient command set.
...
Guenther
(This used to be commit bd13c87bac
)
2008-05-24 01:28:22 +02:00
Günther Deschner
36f67dc5e0
Revert "drsuapi: fix the build."
...
This reverts commit b2421c8116
.
(This used to be commit f853f3b0ac
)
2008-05-24 01:24:03 +02:00
Günther Deschner
0eae576b19
drsuapi: fix the build.
...
Guenther
(This used to be commit b2421c8116
)
2008-05-24 00:58:45 +02:00
Tim Prouty
fb37f15600
Cleanup size_t return values in callers of convert_string_allocate
...
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5
)
2008-05-20 22:40:13 +02:00
Günther Deschner
4d8836ab96
Fix client authentication with -P switch in client tools (Bug 5435).
...
Guenther
(This used to be commit d077ef64cd
)
2008-05-05 16:59:53 +02:00
Günther Deschner
fe2c8e38d3
rpcclient: fix another srv_name_slash.
...
Guenther
(This used to be commit de946e6158
)
2008-04-29 20:22:02 +02:00
Volker Lendecke
862d7e32b9
Move user/domain from rpc_pipe_client to cli_pipe_auth_data
...
(This used to be commit 42de50d2cd
)
2008-04-25 11:12:50 +02:00
Volker Lendecke
9e9d40d097
Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
...
(This used to be commit f665afaaa3
)
2008-04-25 11:12:50 +02:00
Günther Deschner
12b9be6d5e
rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
...
Guenther
(This used to be commit c15b5d73ba
)
2008-04-24 22:01:51 +02:00
Günther Deschner
bd8cb7b564
rpcclient: Add getdispinfoidx command.
...
Guenther
(This used to be commit 7d8461d080
)
2008-04-22 23:11:53 +02:00
Volker Lendecke
b78453326b
Remove the "pwd" struct from rpc_pipe_client
...
The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
(This used to be commit 3d8c2a47e6
)
2008-04-21 23:36:05 +02:00
Volker Lendecke
b9cc055062
Introduce rpc_pipe_np_smb_conn()
...
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08ce
)
2008-04-20 14:08:16 +02:00
Volker Lendecke
e73e8297f5
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
...
(This used to be commit 99fc3283c4
)
2008-04-20 14:08:16 +02:00
Volker Lendecke
e1102b8f48
Introduce rpccli_set_timeout()
...
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba389
)
2008-04-20 00:14:26 +02:00
Volker Lendecke
9048cafbea
Move srv_name_slash from cli_state to rpc_pipe_client
...
(This used to be commit a9061e52e1
)
2008-04-20 00:14:13 +02:00
Volker Lendecke
2a2188591b
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
(This used to be commit 783afab9c8
)
2008-04-20 00:13:09 +02:00
Günther Deschner
51d9e913bb
Fix lsa_QueryTrustedDomainInfo caller.
...
Guenther
(This used to be commit 9f148daaf2
)
2008-04-08 23:09:24 +02:00
Günther Deschner
81579895a6
Fix lsa_TrustedDomainInfo callers.
...
Guenther
(This used to be commit e0eae39017
)
2008-04-08 22:55:52 +02:00
Günther Deschner
be9b46b2ce
Remove some dead code in rpcclient.
...
Guenther
(This used to be commit c7ae1a9b53
)
2008-04-04 01:44:16 +02:00
Günther Deschner
29f44dc144
Move rpccli_try_samr_connects out of rpcclient.
...
Guenther
(This used to be commit f550cdb6f2
)
2008-04-04 01:40:29 +02:00
Günther Deschner
99d3590455
Fix NETLOGON credential chain with Windows 2008 all over the place.
...
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
(This used to be commit 0970369ca0
)
2008-04-02 11:12:47 +02:00
Günther Deschner
c523c2c3e6
Fix build of rpcclient.
...
Guenther
(This used to be commit 3cb1cdee93
)
2008-04-01 00:32:23 +02:00
Günther Deschner
4369c14a66
Re-add support for the samr parameters string.
...
(dialin settings, terminal server settings, etc.)
Guenther
(This used to be commit c4f248df8e
)
2008-03-31 20:55:40 +02:00
Michael Adam
9644b6cb50
Add a talloc context parameter to current_timestring() to fix memleaks.
...
current_timestring used to return a string talloced to talloc_tos().
When called by DEBUG from a TALLOC_FREE, this produced messages
"no talloc stackframe around, leaking memory". For example when
used from net conf.
This also adds a temporary talloc context to alloc_sub_basic().
For this purpose, the exit strategy is slightly altered: a common
exit point is used for success and failure.
Michael
(This used to be commit 16b5800d4e
)
2008-03-28 16:34:51 +01:00
Günther Deschner
6e026fff3f
Add ntsvcs_getdevregprop command to rpcclient.
...
Guenther
(This used to be commit 4abe30fdae
)
2008-03-26 16:46:58 +01:00
Volker Lendecke
7168f310a6
Fix Coverity ID 507
...
(This used to be commit 4ea5798b97
)
2008-03-21 11:45:57 +01:00
Günther Deschner
3c2d315b4c
Add support for setting resume handle in netsessenum rpcclient command.
...
Guenther
(This used to be commit a01588d65f
)
2008-03-21 04:16:21 +01:00
Günther Deschner
4489ad0998
Allow to set or unset resume_handle in netconnenum in rpcclient.
...
Guenther
(This used to be commit f1b93c24fe
)
2008-03-21 04:16:21 +01:00
Volker Lendecke
130b474e47
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
...
(This used to be commit 5ec2dbd144
)
2008-03-19 15:05:30 +01:00
Günther Deschner
fd62e5688b
Use existing srv_name_slash.
...
Guenther
(This used to be commit 5f2b3145fc
)
2008-03-12 16:35:41 +01:00
Günther Deschner
45a3c8275f
Allow to send no resume_handle in rpcclient's NetShareEnum* calls.
...
Guenther
(This used to be commit 7e178a3dc9
)
2008-03-11 11:33:07 +01:00
Günther Deschner
e45b6a595c
Fix netdiskenum call in rpcclient.
...
Guenther
(This used to be commit dcbfdd1330
)
2008-03-11 04:52:46 +01:00
Günther Deschner
0c10ab5cc3
Add netconnenum to rpcclient.
...
Guenther
(This used to be commit 627688c7ba
)
2008-03-10 18:54:18 +01:00
Günther Deschner
aa054bd6f3
Add netdiskenum to rpcclient.
...
Guenther
(This used to be commit 3ef4d6b524
)
2008-03-10 18:54:18 +01:00
Günther Deschner
cfa16eaca0
Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
...
Guenther
(This used to be commit 348af272f7
)
2008-03-10 17:08:55 +01:00
Günther Deschner
28d5307034
Add netsessenum command to rpcclient.
...
Guenther
(This used to be commit f90306bd24
)
2008-03-10 03:43:40 +01:00
Günther Deschner
64adc15e66
Add netsessdel command to rpcclient.
...
Guenther
(This used to be commit 5e112ff3d7
)
2008-03-10 03:43:39 +01:00
Günther Deschner
62ca78bd27
Add netfilegetsec command to rpcclient.
...
Guenther
(This used to be commit 8c2c17573c
)
2008-03-08 23:05:54 +01:00
Günther Deschner
5e6e3ccd00
Add netnamevalidate command to rpcclient.
...
Guenther
(This used to be commit 140885d3d8
)
2008-03-07 23:51:34 +01:00
Günther Deschner
024cf110b0
Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
...
Guenther
(This used to be commit c940c62029
)
2008-03-07 22:58:48 +01:00
Günther Deschner
b0dad261ad
Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
...
Guenther
(This used to be commit 5e9d8cdc94
)
2008-03-05 10:38:13 +01:00
Günther Deschner
640f53fe5b
Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
...
Guenther
(This used to be commit 4a74f1e8d2
)
2008-03-05 09:49:25 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Günther Deschner
2d01ec2c39
Use new LSA_POLICY defines in lsa rpc server code and other places.
...
Guenther
(This used to be commit 58cca9faf9
)
2008-02-27 15:57:09 +01:00
Tim Potter
9053bdf57c
Fix off-by-one bugs in subcommand argument passing.
...
(This used to be commit d85a2782a4
)
2008-02-18 10:15:53 +01:00
Günther Deschner
4149868f85
Add ntsvcs_hwprofinfo command to rpcclient.
...
Guenther
(This used to be commit 8d8cf915f7
)
2008-02-18 01:38:21 +01:00
Günther Deschner
57814bccfb
Add ntsvcs_hwprofflags command to rpcclient.
...
Guenther
(This used to be commit c184a71146
)
2008-02-18 01:37:18 +01:00
Günther Deschner
2e75900641
Add ntsvcs_getdevlistsize command to rpcclient.
...
Guenther
(This used to be commit 9bc5068cc3
)
2008-02-18 00:27:01 +01:00
Günther Deschner
948bfd629e
Add ValidateDeviceInstance command to rpcclient.
...
Guenther
(This used to be commit a2e6727ff7
)
2008-02-17 23:45:02 +01:00
Günther Deschner
e99f740b0a
Add very basic ntsvcs client to rpcclient.
...
Guenther
(This used to be commit 0358ad7e93
)
2008-02-17 23:29:56 +01:00
Günther Deschner
eafec423b7
Use rpccli_netr_DatabaseSync2() in rpcclient.
...
Guenther
(This used to be commit 042173b00e
)
2008-02-15 14:11:20 +01:00
Günther Deschner
013a15a1b8
Use rpccli_netr_DatabaseDeltas() in rpcclient.
...
Guenther
(This used to be commit 72ad42fee3
)
2008-02-15 14:06:31 +01:00
Günther Deschner
f21cdab938
Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.
...
Guenther
(This used to be commit 78200d8892
)
2008-02-14 15:28:26 +01:00
Günther Deschner
7b5ef3569f
Use rpccli_lsa_EnumAccountRights in net and rpcclient.
...
Guenther
(This used to be commit 6e9195329d
)
2008-02-14 15:09:21 +01:00
Günther Deschner
96aa5dea8e
Use rpccli_lsa_AddAccountRights in net and rpcclient.
...
Guenther
(This used to be commit e94ded74d6
)
2008-02-14 14:40:26 +01:00
Günther Deschner
55e5e753bb
Add lsaaddpriv and lsadelpriv commands to rpcclient.
...
Guenther
(This used to be commit e55bb83f84
)
2008-02-14 13:53:28 +01:00
Günther Deschner
a75d6543a0
Use rpccli_lsa_LookupPrivValue() in rpcclient.
...
Guenther
(This used to be commit c15243dd1f
)
2008-02-14 13:53:27 +01:00
Günther Deschner
eccaf125a9
Use rpccli_lsa_EnumPrivsAccount() in rpcclient.
...
Guenther
(This used to be commit c28b52dcfe
)
2008-02-14 13:13:09 +01:00
Günther Deschner
f9d992827a
Remove accidential commit.
...
Guenther
(This used to be commit 2ab1167e15
)
2008-02-14 01:54:07 +01:00
Günther Deschner
2b84f4119d
Use rpccli_lsa_EnumAccounts() in net and rpcclient.
...
Guenther
(This used to be commit bdbcfa4419
)
2008-02-14 01:32:56 +01:00
Günther Deschner
6f05330e4a
Fix logonctrl2 command in rpcclient.
...
Guenther
(This used to be commit c58be24cd4
)
2008-02-13 23:01:33 +01:00
Günther Deschner
c6acbc16a6
Use rpccli_netr_LogonControl() in rpcclient.
...
Guenther
(This used to be commit d54456f3c4
)
2008-02-13 12:19:20 +01:00
Günther Deschner
0ba3d44f73
Use rpccli_lsa_EnumTrustDom all over the place.
...
Guenther
(This used to be commit a25e7ffbca
)
2008-02-13 00:29:37 +01:00
Günther Deschner
e2b3aad817
Collect all init_lsa_string varients in one place.
...
Guenther
(This used to be commit f4581e9f44
)
2008-02-12 22:05:39 +01:00
Günther Deschner
4c7943cd62
Add querydispinfo2 and querydispinfo3 to rpcclient.
...
Guenther
(This used to be commit f776840dca
)
2008-02-12 21:35:42 +01:00
Günther Deschner
8823c7453d
Use rpccli_samr_QueryUserInfo() in rpcclient.
...
Guenther
(This used to be commit 5bfa5cac63
)
2008-02-12 18:08:01 +01:00
Günther Deschner
b88982a5c8
Use rpccli_samr_EnumDomainUsers in net and rpcclient.
...
Guenther
(This used to be commit bcf2cd324c
)
2008-02-12 11:36:33 +01:00
Günther Deschner
0ed6c373f1
Use rpccli_samr_EnumDomainGroups in rpcclient.
...
Guenther
(This used to be commit e76c350dab
)
2008-02-12 11:17:53 +01:00
Günther Deschner
cf20a28dd6
Use rpccli_samr_EnumDomainAliases() in net and rpcclient.
...
Guenther
(This used to be commit d034d34faa
)
2008-02-12 11:10:59 +01:00
Günther Deschner
1a27d29686
Add cmd_lsa_get_username command to rpcclient.
...
Guenther
(This used to be commit 66aac1d7f2
)
2008-02-11 20:49:38 +01:00
Günther Deschner
7b50295400
Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.
...
Guenther
(This used to be commit be932cbdfa
)
2008-02-11 19:16:05 +01:00
Günther Deschner
0ddbeba833
Only call display_lsa_query_info on success in rpcclient.
...
Guenther
(This used to be commit dad7ae3e1a
)
2008-02-11 10:52:51 +01:00
Günther Deschner
976fba87eb
Use rpccli_lsa_EnumPrivs() in net and rpcclient.
...
Guenther
(This used to be commit bb24cccfc8
)
2008-02-11 10:49:30 +01:00
Günther Deschner
da3e2d4c27
Testing revealed some errors, reverting some of the lsa changes.
...
Guenther
(This used to be commit ac1e4f1eb2
)
2008-02-09 02:05:39 +01:00
Günther Deschner
e88eb3ed16
Use rpccli_netr_DsRGetDCName() in rpcclient and winbindd.
...
Guenther
(This used to be commit 4f3e97cbae
)
2008-02-08 23:38:13 +01:00
Günther Deschner
3038a77f40
Minor fix for querydispinfo display in rpcclient.
...
Guenther
(This used to be commit 6cb59410c2
)
2008-02-08 23:02:48 +01:00
Günther Deschner
ab346de340
Add cmd_samr_enum_domains command to rpcclient.
...
Guenther
(This used to be commit f429153de2
)
2008-02-08 23:01:16 +01:00
Günther Deschner
2b1d74981b
Fix rpccli_lsa_QueryTrustedDomainInfoByName() caller in rpcclient.
...
Guenther
(This used to be commit bdda909777
)
2008-02-08 22:57:56 +01:00
Günther Deschner
ba00160eb8
Use rpccli_lsa_OpenAccount() in rpcclient.
...
Guenther
(This used to be commit 04d7977905
)
2008-02-08 22:44:28 +01:00
Günther Deschner
bdf2e4f23f
Use rpccli_lsa_CreateAccount() in rpcclient.
...
Guenther
(This used to be commit 43ab24c11e
)
2008-02-08 22:38:34 +01:00
Jeremy Allison
114596b966
Fix warning and use of uninitialized variable.
...
gd please check !
Jeremy.
(This used to be commit 90fb59cb44
)
2008-02-08 11:40:55 -08:00
Günther Deschner
406ee0effc
Use rpccli_samr_LookupNames() in rpcclient.
...
Guenther
(This used to be commit 64d11fad9b
)
2008-02-08 15:30:35 +01:00
Günther Deschner
e3757bcd1b
Use rpccli_samr_LookupRids() in net and rpcclient.
...
Guenther
(This used to be commit 72fc4ffa38
)
2008-02-08 12:07:06 +01:00
Günther Deschner
7520439dca
Use rpccli_lsa_QueryInfoPolicy() all over the place.
...
Guenther
(This used to be commit ce22abcea3
)
2008-02-08 10:26:20 +01:00
Günther Deschner
d748baa1c1
Use rpccli_lsa_QueryInfoPolicy and rpccli_lsa_QueryInfoPolicy2 in rpcclient.
...
Guenther
(This used to be commit 35494a3336
)
2008-02-08 10:02:51 +01:00
Günther Deschner
781776d864
Use rpccli_samr_QueryDisplayInfo() all over the place.
...
Guenther
(This used to be commit 66b79add35
)
2008-02-08 00:10:55 +01:00
Günther Deschner
ca790c96d2
Remove trailing whitespace in samr client and server.
...
Guenther
(This used to be commit 0b630db298
)
2008-02-07 14:40:39 +01:00
Günther Deschner
1c788bc365
Use rpccli_samr_GetGroupsForUser() all over the place.
...
Guenther
(This used to be commit d1c669920e
)
2008-02-07 14:25:18 +01:00
Günther Deschner
1ec50b50e1
Use rpccli_samr_QueryGroupInfo() in rpcclient.
...
Guenther
(This used to be commit 6a3b06291b
)
2008-02-07 14:04:11 +01:00
Günther Deschner
5881a7f679
Use rpccli_netr_DsRGetSiteName() in rpcclient.
...
Guenther
(This used to be commit 609c40fdd9
)
2008-02-07 10:42:51 +01:00
Günther Deschner
bca0ef0ed7
Use rpccli_netr_GetAnyDCName and rpccli_netr_GetDCName everywhere.
...
Guenther
(This used to be commit 8abeea9922
)
2008-02-07 10:29:26 +01:00
Günther Deschner
9c22a27aad
Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.
...
Guenther
(This used to be commit ffbfd19ad7
)
2008-02-07 10:07:00 +01:00
Günther Deschner
282f6a3e4e
Add cmd_samr_query_aliasinfo command to rpcclient.
...
Guenther
(This used to be commit ecc4e5fb38
)
2008-02-07 10:02:57 +01:00
Günther Deschner
498e6786e4
Use rpccli_samr_QueryDomainInfo() in rpcclient.
...
Guenther
(This used to be commit ed16b2f63b
)
2008-02-06 02:08:27 +01:00
Günther Deschner
75dc740ee3
Use SAMR_CONNECT_W2K for samr_Connect4 in rpcclient.
...
Guenther
(This used to be commit c0ebdb555d
)
2008-02-05 13:23:56 +01:00
Günther Deschner
2823c1eab1
Use rpccli_samr_QueryGroupMember() all over the place.
...
Guenther
(This used to be commit 1793ed10df
)
2008-02-05 13:19:47 +01:00
Volker Lendecke
6b5ce93d15
Fix bug 5421 -- thanks to MJ Anthony
...
(This used to be commit a3d0450e0a
)
2008-02-05 10:34:00 +01:00
Günther Deschner
0c6b6b461c
Use rpccli_samr_GetAliasMembership() in winbindd and rpcclient.
...
Guenther
(This used to be commit 5c16716285
)
2008-02-05 10:13:08 +01:00
Günther Deschner
527c18a2a2
Use rpccli_samr_LookupDomain() in rpcclient.
...
Guenther
(This used to be commit 2d4d052257
)
2008-02-05 10:09:56 +01:00
Günther Deschner
2e73c54fe3
Use rpccli_samr_GetMembersInAlias() in net and rpcclient.
...
Guenther
(This used to be commit 3f48f9e671
)
2008-02-05 10:05:53 +01:00
Günther Deschner
e5769f356a
Remove some wrong checks for policy handles in rpcclient.
...
Guenther
(This used to be commit 235e440ae6
)
2008-02-04 22:12:41 +01:00
Günther Deschner
649d1a82ca
Use rpccli_lsa_QuerySecurity() in rpcclient.
...
Guenther
(This used to be commit c07be0f1a9
)
2008-02-04 22:12:40 +01:00
Günther Deschner
270ba9c238
Use rpccli_samr_Connect2() all over the place.
...
Guenther
(This used to be commit bdf8d56262
)
2008-02-04 22:12:40 +01:00
Günther Deschner
24692c83a9
Use rpccli_samr_Connect4() in rpcclient.
...
Guenther
(This used to be commit c05b5709e4
)
2008-02-04 19:13:15 +01:00
Günther Deschner
5fd0b0f944
Use rpccli_samr_QuerySecurity() for rpcclient.
...
Guenther
(This used to be commit 845d9ea9f6
)
2008-02-02 13:37:19 +01:00
Günther Deschner
ddbe4ea6b7
Use rpccli_samr_CreateUser2() all over the place.
...
Guenther
(This used to be commit 701af69118
)
2008-02-01 16:29:20 +01:00
Günther Deschner
cc1350a353
Use rpccli_samr_CreateDomainGroup() in net and rpcclient.
...
Guenther
(This used to be commit 7b7b10adca
)
2008-02-01 16:29:20 +01:00
Günther Deschner
99ebfd810f
Use rpccli_samr_CreateDomAlias() in net and rpcclient.
...
Guenther
(This used to be commit 1248ec89d2
)
2008-02-01 16:29:20 +01:00
Günther Deschner
37b56c0113
Use rpccli_samr_OpenUser() all over the place.
...
Guenther
(This used to be commit da90eb7653
)
2008-02-01 12:30:15 +01:00
Günther Deschner
2c7428e64e
Use rpccli_samr_OpenAlias() in net and rpcclient.
...
Guenther
(This used to be commit f66facc0f8
)
2008-02-01 12:29:58 +01:00
Günther Deschner
482eaa8e5c
Use rpccli_samr_OpenGroup() all over the place.
...
Guenther
(This used to be commit d019fc69a9
)
2008-02-01 12:29:35 +01:00
Günther Deschner
42960f817a
Use rpccli_samr_OpenDomain() all over the place.
...
Guenther
(This used to be commit e4e9d72724
)
2008-02-01 12:29:10 +01:00
Günther Deschner
e4a64da293
Use rpccli_samr_DeleteUser() in net and rpcclient.
...
Guenther
(This used to be commit 5bd8f7067d
)
2008-02-01 10:17:38 +01:00
Günther Deschner
e33db782d2
Use rpccli_samr_DeleteDomAlias() in net and rpcclient.
...
Guenther
(This used to be commit bbed3aed51
)
2008-02-01 10:15:39 +01:00
Günther Deschner
8303e8cf80
Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.
...
Guenther
(This used to be commit 8cc094ddb5
)
2008-02-01 10:14:10 +01:00
Günther Deschner
5334b364c2
Remove rpccli_samr_close and use pidl generated function instead.
...
Guenther
(This used to be commit 64f0889401
)
2008-01-31 11:09:11 +01:00
Günther Deschner
af92bf934e
Add netrenumtrusteddomains() and netrenumtrusteddomainsex() cmds to rpcclient.
...
Guenther
(This used to be commit 6bbe0fde6e
)
2008-01-30 09:50:54 +01:00
Günther Deschner
80b2e330f9
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 beae25c808
)
2008-01-29 17:51:05 +01:00
Günther Deschner
e7b2be804b
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 1a900e08e9
)
2008-01-29 15:20:59 +01:00
Günther Deschner
4fd374f063
Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.
...
Guenther
(This used to be commit 227f5755c8
)
2008-01-25 21:44:02 +01:00
Günther Deschner
504813e445
Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.
...
Guenther
(This used to be commit 2caed3f816
)
2008-01-25 21:43:49 +01:00
Volker Lendecke
b679dda6c9
Fix bogus uninitialized variable warnings
...
(This used to be commit 71d6580c83
)
2008-01-25 21:20:39 +01:00
Günther Deschner
a059d24488
Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.
...
Guenther
(This used to be commit cb44c901c1
)
2008-01-25 17:21:57 +01:00
Günther Deschner
05ff7fd46e
Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
...
Guenther
(This used to be commit d5ebfccebb
)
2008-01-25 15:30:43 +01:00
Günther Deschner
242a57b624
Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().
...
Guenther
(This used to be commit 29690d1860
)
2008-01-25 15:24:27 +01:00
Günther Deschner
92183450f1
Trying to avoid defining new SAMR acct creation flags when we already have them with different
...
names. Matt, Jeremy, please check.
Guenther
(This used to be commit d4a9e46edf
)
2008-01-25 01:04:30 +01:00
Günther Deschner
96b41578a7
Add cmd_netlogon_gettrustrid() to rpcclient.
...
Guenther
(This used to be commit 231a4d051f
)
2008-01-24 23:41:53 +01:00
Andreas Schneider
691c4b1a41
Windows 2008 (Longhorn) auth2 flag fixes.
...
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
(This used to be commit 5aadfcdaac
)
2008-01-23 14:55:22 -08:00
Jeremy Allison
a0186fb78d
Forward ported version of Matt Geddes <musicalcarrion@gmail.com>
...
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
(This used to be commit 7d94f97947
)
2008-01-23 13:54:02 -08:00
Volker Lendecke
587cf54c61
strtok -> strtok_r
...
(This used to be commit fd34ce4370
)
2008-01-23 15:08:04 +01:00
Günther Deschner
a92eb76688
Finally enable pidl generated SAMR & NETLOGON headers and clients.
...
Guenther
(This used to be commit f7100156a7
)
2008-01-17 16:54:46 +01:00
Günther Deschner
e021eb6d7b
Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
...
Guenther
(This used to be commit 2c045a8c81
)
2008-01-15 23:07:10 +01:00
Günther Deschner
c920764b19
Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
...
Guenther
(This used to be commit 7a3fe68bef
)
2008-01-15 16:40:22 +01:00
Günther Deschner
c6f2bbb59f
Fix rpcclient display_trust_dom_info().
...
Guenther
(This used to be commit 54bdd22a07
)
2008-01-14 15:39:51 +01:00
Günther Deschner
08946cc546
Remove some more hand written LSA rpc.
...
(rpccli_lsa_open_trusted_domain,
rpccli_lsa_query_trusted_domain_info,
cli_lsa_query_domain_info_policy).
Guenther
(This used to be commit 5bfb33f1c5
)
2008-01-14 15:29:52 +01:00
Günther Deschner
463fd6b3a8
Use some more pidl generated LSA rpc in rpcclient.
...
Guenther
(This used to be commit 153e4dd162
)
2008-01-14 15:29:36 +01:00
Michael Adam
f3603d5a5a
Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
...
Michael
(This used to be commit 6b2b9a60ef
)
2008-01-09 01:47:10 +01:00
Jeremy Allison
9baa97a46e
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
(This used to be commit 757653966f
)
2008-01-05 00:23:35 -08:00
Günther Deschner
8ded1df767
Kill fstring in getdcname & getanydcname return.
...
Guenther
(This used to be commit b738381816
)
2007-12-21 15:12:40 +01:00
Günther Deschner
5eca35e0ca
Add cmd_wkssvc_enumeratecomputernames to rpcclient.
...
Guenther
(This used to be commit 289151393a
)
2007-12-19 11:15:05 +01:00
Michael Adam
1394b91888
Fix an error when accessing unallocated sid in error path.
...
Michael
(This used to be commit 2a0585d309
)
2007-12-18 16:33:35 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba776
)
2007-12-15 22:47:30 +01:00
Volker Lendecke
7b01537679
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4
)
2007-12-15 22:09:36 +01:00
Günther Deschner
0439fdd777
Replace "unknown" with access_mask when calling samr_CreateUser2().
...
Guenther
(This used to be commit cfc6e7a2e6
)
2007-12-11 15:26:09 +01:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2
)
2007-12-10 11:30:37 -08:00
Jeremy Allison
5b3459e340
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 0c21c5fa84
)
2007-12-07 09:57:19 -08:00
Günther Deschner
b2fac35adf
Allow to set custom message in wkssvc messagebuffer.
...
Guenther
(This used to be commit 4c03cbdc81
)
2007-12-07 11:56:48 +01:00
Günther Deschner
61dbd449b8
Fix build with new werror based pidl rpc.
...
Guenther
(This used to be commit 0e8fdfac8a
)
2007-12-07 11:54:01 +01:00
Günther Deschner
783afeb5fa
Add cmd_wkssvc_messagebuffersend().
...
Guenther
(This used to be commit 71e512efab
)
2007-12-07 11:43:00 +01:00
Günther Deschner
09c4b72a57
Add getjoininformation to rpcclient.
...
Guenther
(This used to be commit 699f6b1bc3
)
2007-12-07 11:42:24 +01:00
Jeremy Allison
e2ae63bcf7
Make all the tools use the proper accessor functions.
...
Jeremy.
(This used to be commit 6d61bb8797
)
2007-12-06 18:58:01 -08:00
Jeremy Allison
1b92ea5559
Remove pstrings from client/client.c by doing a large rewrite.
...
Mostly compiles....
Jeremy.
(This used to be commit c87f3eba9a
)
2007-12-06 17:16:33 -08:00
Günther Deschner
7bfe569b7d
Allow to set level in cmd_wkssvc_wkstagetinfo().
...
Guenther
(This used to be commit 2c287ce050
)
2007-12-06 19:17:57 +01:00
Günther Deschner
6b37d8e627
Fix wkssvc callers.
...
Guenther
(This used to be commit b734cd8aab
)
2007-12-03 18:43:19 +01:00
Günther Deschner
f942b8852d
Fix dfs callers.
...
Guenther
(This used to be commit 0a8759d011
)
2007-12-03 18:43:19 +01:00
Günther Deschner
9cc7b8e2a0
Reanimate rpcclient wkssvc command.
...
Guenther
(This used to be commit 1d615e3ac3
)
2007-12-03 13:08:20 +01:00
Volker Lendecke
f4e4df66e7
Fix some C++ warnings
...
I think were are actually bugs.
(This used to be commit 1be19f0788
)
2007-12-01 10:43:11 -08:00
Michael Adam
ddcaaae4ff
Give rpcclient a talloc stackframe.
...
Michael
(This used to be commit 3330394d2d
)
2007-11-28 15:24:53 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb8
)
2007-11-27 14:18:47 +01:00
Jeremy Allison
c049b8157d
More trivial pstring removal.
...
Jeremy.
(This used to be commit bac3bb2f6e
)
2007-11-20 15:31:37 -08:00
Jeremy Allison
d4307679b9
Change all occurrences of zero_addr(&ss,AF_INET) to
...
zero_addr(&ss). All current uses were always of the
AF_INET form, so simplify the call. If in the future
we need to zero an addr to AF_INET6 this can be
done separately.
Jeremy.
(This used to be commit 2e92418a13
)
2007-10-27 20:29:36 -07:00
Jeremy Allison
f88b7a076b
This is a large patch (sorry). Migrate from struct in_addr
...
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
(This used to be commit 98e154c312
)
2007-10-24 14:16:54 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
...
(This used to be commit 5c6c8e1fe9
)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
277c1baee9
r25572: Fix warnings (values are always true).
...
(This used to be commit 2c77c3c58e
)
2007-10-10 12:31:15 -05:00
Gerald Carter
5221ebb299
r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
...
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
(This used to be commit 00a93ed336
)
2007-10-10 12:31:03 -05:00
Gerald Carter
3529156971
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
...
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba73
)
2007-10-10 12:31:02 -05:00
Michael Adam
c97fe37ea3
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
the maxeln parameter instead of sizeof(target_area) - 1 (or even
sizeof(fstring) - 1 in some places.
I hope these were really all there were.
Michael
(This used to be commit 9a28be220d
)
2007-10-10 12:30:58 -05:00
Michael Adam
91b276e4ea
r25285: Fix some more callers of unistr2_to_ascii to use the size of
...
destination instead of source as maxlen.
Michael
(This used to be commit 76cb05deec
)
2007-10-10 12:30:57 -05:00
Michael Adam
3b5666bb00
r25281: Fix a caller of unistr2_to_ascii():
...
The maxlen parameter should be set to the size of the
destination, not to the size of the soruce.
Michael
(This used to be commit 841ff0beee
)
2007-10-10 12:30:57 -05:00
Günther Deschner
84bce05e71
r24742: Add experimental DsGetDcName() call (will be used by krb5 locator for fine
...
grained KDC DNS queries).
Guenther
(This used to be commit 3263cd680f
)
2007-10-10 12:30:16 -05:00
Volker Lendecke
87165a81d9
r24167: Fix Coverity ID 365
...
We checked argc>=3 some lines above
(This used to be commit fa385e9f3c
)
2007-10-10 12:29:17 -05:00
Volker Lendecke
d5ca533043
r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
...
(This used to be commit b876bca6bc
)
2007-10-10 12:29:01 -05:00
Volker Lendecke
7ba884db5d
r23883: Fix Coverity ID 380
...
(This used to be commit 5eda562f2b
)
2007-10-10 12:28:38 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Günther Deschner
6024286ee7
r23628: Add LSA lookupnames_level to rpcclient.
...
Guenther
(This used to be commit dee99e4045
)
2007-10-10 12:23:38 -05:00
Günther Deschner
7eb828135b
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
...
Guenther
(This used to be commit e9a7512a9f
)
2007-10-10 12:23:38 -05:00
Günther Deschner
6eb18630f7
r23623: Fix rpcclient and rpc_server with new DFS idl.
...
Guenther
(This used to be commit bffe33dd26
)
2007-10-10 12:23:37 -05:00
Jeremy Allison
d0daf1a0c1
r23555: Fix some uninitialiazed variable uses.
...
Jeremy
(This used to be commit dc287adff2
)
2007-10-10 12:23:28 -05:00
Günther Deschner
1ea5dfae04
r23380: netr_getdcname returns WERROR not NTSTATUS.
...
Guenther
(This used to be commit 5e75ea7f2b
)
2007-10-10 12:23:12 -05:00
Jeremy Allison
713ee9242a
r23372: Remove restriction on string length for rpcclient commands.
...
Jeremy.
(This used to be commit a2cf87f58a
)
2007-10-10 12:23:11 -05:00
Gerald Carter
05c68d98c1
r23249: another sync from 3.0.26 for the echo work to rpcclient
...
(This used to be commit 7aa1f89eb3
)
2007-10-10 12:22:59 -05:00
Volker Lendecke
d807dec0f4
r23219: Two warnings
...
(This used to be commit eccd50abda
)
2007-10-10 12:22:54 -05:00
Günther Deschner
d8e454664a
r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but were using
...
netr_GetDcAnyName all the time (which is the correct thing to do).
Fix the naming and opcode mixup in all branches.
Guenther
(This used to be commit def6464c87
)
2007-10-10 12:22:54 -05:00
Günther Deschner
94e4a468f0
r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,
...
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some
more WERROR codes.
Guenther
(This used to be commit 37ae7f4197
)
2007-10-10 12:22:48 -05:00
Jeremy Allison
be8b0685a5
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
(This used to be commit 8968808c3b
)
2007-10-10 12:19:49 -05:00
Jeremy Allison
79de0ad946
r22588: Make all uses of TALLOC_MEMDUP consistent.
...
Jeremy.
(This used to be commit 8ad13718af
)
2007-10-10 12:19:48 -05:00
Michael Adam
992fac30a5
r22489: Add a deletedomgroup command to rpcclient (samr).
...
Corresponding to deletedomuser.
Michael
(This used to be commit 9775de56b8
)
2007-10-10 12:19:38 -05:00
Jeremy Allison
7f8d89bc54
r22062: Fix the parsing of info level 3. Flags is not a flags
...
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
(This used to be commit 0c8949ff5d
)
2007-10-10 12:19:07 -05:00
Jeremy Allison
8e00e9d7a6
r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
...
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
(This used to be commit df07a662e3
)
2007-10-10 12:18:16 -05:00
Günther Deschner
9918e74984
r21320: Display query_user info level 16 in rpcclient.
...
Guenther
(This used to be commit bc77622134
)
2007-10-10 12:17:56 -05:00
Jeremy Allison
c635c57d75
r21259: Fix coverity bug id #340 . No way to process
...
logon parameter as the code was written.
Jeremy.
(This used to be commit 7f1aee96a0
)
2007-10-10 12:17:52 -05:00
Günther Deschner
52b5ca933b
r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
...
Guenther
(This used to be commit 4036cb5169
)
2007-10-10 12:17:40 -05:00
Günther Deschner
aeb834036d
r20970: Allow to define workstation for samlogon in rpcclient (for testing).
...
Guenther
(This used to be commit 5d4747fdf2
)
2007-10-10 12:17:22 -05:00
Jelmer Vernooij
203622b734
r20839: Fix other C++ warnings
...
(This used to be commit d948d828d5
)
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
62e11c4f17
r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
...
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).
This brings us closer to the DCE/RPC standard again.
(This used to be commit 580f2a7197
)
2007-10-10 12:17:11 -05:00
Jeremy Allison
63609fbb04
r20090: Fix a class of bugs found by James Peach. Ensure
...
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
(This used to be commit 0ffca7559e
)
2007-10-10 12:16:24 -05:00
Volker Lendecke
ecf90c495e
r19991: Sorry for this 2000-liner...
...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.
On that way it fixes creating keys with more than one element in the
path. This did not work before.
Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.
Volker
(This used to be commit fea52801de
)
2007-10-10 12:16:18 -05:00
Jelmer Vernooij
19d7a9c315
r19849: Fix compilation after idl changes.
...
(This used to be commit b7f22408e9
)
2007-10-10 12:16:02 -05:00
Volker Lendecke
202f63e476
r19811: Decode REG_MULTI_SZ and REG_BINARY
...
(This used to be commit 6793301751
)
2007-10-10 12:15:57 -05:00
Volker Lendecke
01367cdfd0
r19797: Convert the remaining pipes to the "new" unique out ptr handling
...
(This used to be commit bc4e0a388a
)
2007-10-10 12:15:56 -05:00
Volker Lendecke
3372adce58
r19794: Convert DFS
...
(This used to be commit 2efd3b3509
)
2007-10-10 12:15:56 -05:00
Volker Lendecke
9849f04868
r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
...
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)
Nevertheless, Jelmer & Jerry, please take a look!
Thanks,
Volker
(This used to be commit 95c14a822c
)
2007-10-10 12:15:55 -05:00
Volker Lendecke
e6b56f9f0c
r19487: Fix coverity # 313
...
(This used to be commit 0eb5a0f7b8
)
2007-10-10 12:15:39 -05:00
Volker Lendecke
ef05328552
r19451: Another cleanup of 18802. Referring to structures after the block has been
...
left is not a good idea.
Volker
(This used to be commit 88ac17db19
)
2007-10-10 12:15:36 -05:00
Günther Deschner
dbcb4b1266
r19355: Add getdispenumindex2 wrapper for rpcclient.
...
Guenther
(This used to be commit 27c35848eb
)
2007-10-10 12:15:31 -05:00
Günther Deschner
8b31fccafe
r19354: adjust usage printf for rpcclient's timeout command.
...
Guenther
(This used to be commit fb21c9c58b
)
2007-10-10 12:15:31 -05:00
Günther Deschner
fb183ebd92
r19353: Add "timeout" command for rpcclient.
...
Guenther
(This used to be commit 4106a56d3f
)
2007-10-10 12:15:30 -05:00
Günther Deschner
258f7b50dc
r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
...
Guenther
(This used to be commit 37dd019e21
)
2007-10-10 12:15:29 -05:00
Günther Deschner
7b84b133fe
r19161: Add NET_GETANYDCNAME (getdcname only gives the PDC while getanydcname
...
gives just any DC), also make sure to set timeouts in rpcclient
accordingly so that we actually get the DC's reply.
Guenther
(This used to be commit 6091c8152a
)
2007-10-10 12:15:18 -05:00
Günther Deschner
adc299bd08
r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.
...
Guenther
(This used to be commit 44e228ac79
)
2007-10-10 12:15:16 -05:00
Volker Lendecke
bb5c820542
r19013: Fix some 64-bit warnings.
...
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is
being used uninitialized which I don't really know how to fix.
Any hints?
Volker
(This used to be commit 4a5d11e194
)
2007-10-10 12:15:02 -05:00
Günther Deschner
efffbc9036
r18935: Make "netshareenum" work again. There is most probably a better way to
...
do this... Any pointers?
Guenther
(This used to be commit 1f09e54fec
)
2007-10-10 12:14:48 -05:00
Volker Lendecke
323b724ce9
r18874: Fix some NTSTATUS/WERROR mixups
...
(This used to be commit ecac9b5959
)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
0c3194816b
r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
...
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)
So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
(This used to be commit 8438a6a7d4
)
2007-10-10 12:01:06 -05:00
Jelmer Vernooij
7ba2554d88
r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
...
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
(This used to be commit ef10672399
)
2007-10-10 12:00:59 -05:00
Gerald Carter
05ba38f754
r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
...
(This used to be commit 50d74ce048
)
2007-10-10 12:00:54 -05:00