Volker Lendecke
ce5eded7e0
Move cli_api_pipe() to its only user cli_pipe.c
2009-01-11 22:53:24 +01:00
Günther Deschner
22a96cbe31
s3-svcctl: remove last traces of hand-marshalled svcctl code.
...
Guenther
2009-01-09 17:08:19 +01:00
Günther Deschner
03611c6c9d
s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW.
...
Guenther
2009-01-09 17:08:18 +01:00
Günther Deschner
f93b0fcd95
s3-lsa: remove all init_lsa* functions.
...
Guenther
2009-01-06 16:02:13 +01:00
Günther Deschner
e2fa47a04c
s3-lsa: avoid all init_lsa* functions.
...
Guenther
2009-01-06 16:02:13 +01:00
Günther Deschner
b0f7137883
s3-srvsvc: remove all init_srvsvc* functions.
...
Guenther
2009-01-06 16:02:12 +01:00
Günther Deschner
be8c532352
s3-samr: remove all init_samr_alias* functions.
...
Guenther
2009-01-06 16:02:12 +01:00
Günther Deschner
0b26f84542
s3-samr: remove all init_samr_group* functions.
...
Guenther
2009-01-06 16:02:11 +01:00
Günther Deschner
15ec090299
s3-samr: remove all init_samr_dom* functions.
...
Guenther
2009-01-06 16:02:11 +01:00
Günther Deschner
52b250fe83
s3-samr: remove init_samr_user* functions.
...
Guenther
2009-01-06 16:02:10 +01:00
Volker Lendecke
19b783cce9
Async wrapper for open_socket_out_send/recv
2009-01-04 16:42:40 +01:00
Volker Lendecke
fafb9ecc61
open_socket_out is always used with SOCK_STREAM, remove argument "type"
2009-01-03 19:22:06 +01:00
Günther Deschner
b883bcd4ff
s3: store user session key in cli_rpc_pipe_open_noauth().
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
b8204ffd03
s3-samr: fix samr callers of samr_UserInfo18.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
eb906e1d2d
s3-samr: fix init_samr_user_info2{1,3,5} callers.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
798c4b3e6a
s3-samr: use samr_DomainServerState in client tools.
...
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
143097d71c
s3-samr: add init_samr_user_info25 and init_samr_user_info26.
...
Guenther
2008-11-28 14:16:51 +01:00
Günther Deschner
4d7485df96
s3-samr: fix init_samr_user_info{23,24} callers.
...
Guenther
2008-11-28 13:55:38 +01:00
Günther Deschner
e09f658be7
s3-samr: add init_samr_user_info5.
...
Guenther
2008-11-27 18:27:26 +01:00
Kai Blin
a36415a565
s3-rpcclient; Really fix compile warning.
...
Screwed up in 526c609d
, now the real fix.
2008-11-23 23:54:27 +01:00
Kai Blin
526c609d5f
s3-rpcclient: Fix a compile warning.
2008-11-23 22:21:31 +01:00
Günther Deschner
f9d691d9d8
s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.
...
Guenther
2008-11-19 23:25:33 +01:00
Stefan Metzmacher
6815fd1730
s3: rpc: let serverinfo_to_SamInfo3() work with no pipe_session_key
...
metze
2008-11-06 21:39:14 +01:00
Günther Deschner
7f8bc6a2d9
errors: share dcerpc error function.
...
Guenther
2008-10-31 12:42:09 +01:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Günther Deschner
d2b836e19a
s3: remove rpccli_svcctl_query_config.
...
Guenther
2008-10-16 09:54:49 +02:00
Jeremy Allison
969a2fc4dd
Don't use debug level 1 to log a trivial message.
...
Jeremy.
2008-10-15 18:07:15 -07: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
9f2ed1e00f
Share RPC binding string utility functions.
2008-10-12 19:05:46 +02:00
Günther Deschner
022947097f
s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.
...
Guenther
2008-09-23 23:35:14 +02:00
Günther Deschner
e194ded26e
netlogon: move password change code out to rpccli_netlogon_set_trust_password.
...
Guenther
2008-09-21 22:30:39 +02:00
Günther Deschner
1f9624175a
netlogon: add init_netr_CryptPassword.
...
Guenther
2008-09-21 22:30:10 +02:00
Volker Lendecke
29dd253e69
Tiny logic simplification: remove an else branch
...
(This used to be commit 9c4905ed67
)
2008-09-03 13:52:13 +02:00
Volker Lendecke
767130ebec
Fix some nonempty blank lines
...
(This used to be commit 9336cd1c5e
)
2008-09-01 23:32:42 +02:00
Günther Deschner
a77c9285b7
fix another build warning.
...
Guenther
(This used to be commit 43693ce6c6
)
2008-08-20 22:07:40 +02:00
Günther Deschner
84bc4ff546
rpc_client: Bug 5616 - fix session keys also in rpccli_netr_LogonSamLogonEx wrapper.
...
Guenther
(This used to be commit fef5809140
)
2008-07-30 19:14:00 +02:00
Günther Deschner
21a8177ed2
rpc_client: add init_samr_CryptPasswordEx and init_samr_CryptPassword.
...
Guenther
(This used to be commit 87b6aac135
)
2008-07-30 16:42:23 +02:00
Volker Lendecke
91df5551a4
Attempt to fix bug 5616
...
We were calculating the session key but did not return it to the caller...
(cherry picked from commit 8ab79b1d00
)
(This used to be commit b63a6a1fd6
)
2008-07-28 18:07:01 +02:00
Volker Lendecke
da6e4248ee
Make idl: cli_do_rpc_ndr does not use pipe_idx anymore
...
(This used to be commit ffd2ff5325
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
a20c498310
Remove unused function rpccli_is_pipe_idx
...
(This used to be commit 287ffc17a0
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
86bb746406
Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
...
(This used to be commit 6d2209ba5d
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
bd479ced46
Remove a reference to pipe_idx
...
(This used to be commit e949b9d11f
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
abce3cdf56
Remove some unused code
...
(This used to be commit b60a681dd0
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
d460ead468
Remove one reference to PI_NETLOGON
...
(This used to be commit e89bbab1b8
)
2008-07-21 14:36:31 +02:00
Volker Lendecke
41525152f5
Remove some fully outdated sample code
...
(This used to be commit 0df0e81784
)
2008-07-21 14:36:30 +02:00
Volker Lendecke
303f98af2f
Remove now unused cli_get_pipe_name
...
(This used to be commit ed4a447103
)
2008-07-21 14:36:30 +02:00
Volker Lendecke
346a8d1bdc
Remove now unused cli_get_pipe_idx
...
(This used to be commit e02a550527
)
2008-07-21 14:36:29 +02:00
Volker Lendecke
9664f24ecf
Remove now unused cli_get_iface
...
(This used to be commit 2e60701e8d
)
2008-07-21 14:36:28 +02:00
Volker Lendecke
798b56edae
Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx
...
(This used to be commit 726e56c72f
)
2008-07-21 14:36:27 +02:00
Volker Lendecke
55f84c05bd
Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit f2656e5c2e
)
2008-07-20 17:37:14 +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
52ff49600e
Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp_auth_schannel
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit ff87127baf
)
2008-07-20 17:37:13 +02:00
Volker Lendecke
ba2cb35ca5
Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_key
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 78e9c937ff
)
2008-07-20 17:37:13 +02:00
Volker Lendecke
44bdc98823
Refactoring: Make get_schannel_session_key_auth_ntlmssp return NTSTATUS
...
(This used to be commit ab3d80d476
)
2008-07-20 17:37:12 +02:00
Volker Lendecke
b8fc15be95
Refactoring: Make get_schannel_session_key return NTSTATUS
...
(This used to be commit a0793cc853
)
2008-07-20 17:37:12 +02:00
Volker Lendecke
1f854d1db7
Refactoring: Make get_schannel_session_key_common return NTSTATUS
...
(This used to be commit 513e695076
)
2008-07-20 17:37:12 +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
Volker Lendecke
18fb7e0977
Refactoring: Change calling conventions for cli_rpc_pipe_open
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 6c122457ff
)
2008-07-20 17:06:22 +02:00
Volker Lendecke
eb68e95d9a
Refactoring: Change calling conventions for rpc_pipe_open_np
...
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9249fe9e91
)
2008-07-20 17:06:22 +02:00
Volker Lendecke
2e905d2cd1
Allocate rpc_cli->dc in rpccli_netlogon_setup_creds()
...
The general cli_pipe routines should not have to know about this NETLOGON
speciality.
(This used to be commit d30237598d
)
2008-07-20 17:06:21 +02:00
Volker Lendecke
65dfc40a4a
Store copies of the syntax ids in rpc_pipe_client
...
(This used to be commit 848a3497e3
)
2008-07-20 17:06:21 +02:00
Volker Lendecke
66669bad43
Simplify pipe_names: we only do ndr_transfer_syntax anyway
...
(This used to be commit b808403af5
)
2008-07-20 17:06:21 +02:00
Volker Lendecke
867b61d0a1
The PIPE_ pipename macros are only used in cli_pipe.c
...
(This used to be commit 03f7af26f2
)
2008-07-19 21:07:14 +02:00
Volker Lendecke
bf6c11fea3
Make the pipe_names[] array static to cli_pipe.c
...
(This used to be commit ab7ab35059
)
2008-07-19 20:40:27 +02:00
Volker Lendecke
ad91d960d0
Fix some uninitialized variable references via ndr_print
...
(This used to be commit 26fb3fea81
)
2008-07-10 18:24:54 +02:00
Jeremy Allison
f083c1f57e
Fix bug #5568 net rpc trustdom add broken !
...
net rpc trustdom add was broken. The default 10second timeout can be too short
to create an account on a Samba DC (calling out to a script), error message
reporting was poor, and more importantly the new marshalling code for
user_info23 was broken (maps onto a user_info21 but doesn't clear the
user_info23 struct before marshalling, leaving an uninitialized size field -
give "alloc failure").
Jeremy.
(This used to be commit e072b3667e
)
2008-06-27 17:26:41 -07:00
Jeremy Allison
799252f635
Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings.
...
Jeremy.
(This used to be commit 9e2ab30d3c
)
2008-06-26 19:46:18 -07:00
Günther Deschner
402733b518
rpc_client: add rpccli_samr_chgpasswd_user() call.
...
Guenther
(This used to be commit 10fd2baa83
)
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
92bd665aea
rpc_client: let cli_get_session_key() return talloced session key.
...
Thanks, Volker, for pointing this out.
Guenther
(This used to be commit b47899195e
)
2008-06-25 09:51:31 +02:00
Günther Deschner
07f06eec21
rpc_client: add cli_get_session_key().
...
Guenther
(This used to be commit 93b56755f7
)
2008-06-24 23:47:58 +02:00
Karolin Seeger
1178287eeb
rpc_client: Avoid warning in builds without krb5 headers.
...
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used
Karolin
(This used to be commit b5f9176b6c
)
2008-06-24 16:30:32 +02:00
Günther Deschner
95a1f88d93
rpc_client: fix some valgrind warnings.
...
Guenther
(This used to be commit 0352682a35
)
2008-06-11 10:47:21 +02:00
Volker Lendecke
f1d160f333
Fix a const warning
...
Jelmer, would it be possible to make the rpc client functions take const
pointers for pure [in] arguments?
(This used to be commit d893b2ea13
)
2008-05-25 13:53:44 +02:00
Günther Deschner
1a16a2cf97
drsuapi: always use tcp for drsuapi.
...
cli_rpc_pipe_open() now uses tcp transport for drsuapi and named pipe
transport for all other pipes.
This finally allows rpcclient to call dscracknames on windows
(don't forget to call "seal" in advance).
Guenther
(This used to be commit b243a03602
)
2008-05-24 01:29:13 +02:00
Volker Lendecke
34104dfc21
Fix a (bogus) uninitialized variable warning
...
(This used to be commit 6106d48a5c
)
2008-05-23 15:37:05 +02:00
Michael Adam
a8045b1339
rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.
...
Slim the interface...
Michael
(This used to be commit 9971118c23
)
2008-05-22 11:30:04 +02:00
Michael Adam
b398a96b09
rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().
...
Michael
(This used to be commit f7db445c82
)
2008-05-22 11:29:57 +02:00
Volker Lendecke
36e94197d0
rpc_client: add a destructor to close the socket for pipes over tcp.
...
used in rpc_pipe_open_tcp() and rpc_pipe_open_ncalrpc().
(This used to be commit a0bdd56c75
)
2008-05-21 23:35:26 +02:00
Volker Lendecke
e8d25443c1
Add client support for NCACN_UNIX_STREAM
...
(This used to be commit 24ac40518f
)
2008-05-21 23:35:25 +02:00
Volker Lendecke
78022953e7
rpccli_schannel_bind_data only needs the schannel key
...
(This used to be commit be5d54a363
)
2008-05-21 23:35:25 +02:00
Volker Lendecke
ec70996fc7
Rename rpc_pipe_client.tcp.sock to rpc_pipe_client.sock.fd
...
(This used to be commit 2ff908a902
)
2008-05-21 23:35:24 +02:00
Volker Lendecke
9a6b1f4b5f
Fix a comment
...
(This used to be commit 8ae39c1339
)
2008-05-21 23:35:24 +02:00
Volker Lendecke
968a006555
Factor out generation of an info3 struct from a serversupplied_info
...
(This used to be commit e60faccc1b
)
2008-05-17 23:17:40 +02:00
Volker Lendecke
2c00ff5407
Fix two uninitialized variable warnings
...
(This used to be commit 48fd7b3635
)
2008-05-05 11:17:19 +02:00
Volker Lendecke
9de291e671
Attempt to fix the non-krb build
...
(This used to be commit 31d80a4767
)
2008-04-25 12:36:39 +02:00
Volker Lendecke
79fae5082a
Add basic ncacn_ip_tcp client infrastructure
...
(This used to be commit 11072ccc7a
)
2008-04-25 11:12:52 +02:00
Volker Lendecke
63e0884df5
Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client
...
Should be no functional change, just a change in the data structure
(This used to be commit 3433f430b0
)
2008-04-25 11:12:52 +02:00
Volker Lendecke
cf182c0a76
Introduce rpccli_pipe_txt(), describing a pipe for debug messages
...
(This used to be commit 83892d51de
)
2008-04-25 11:12:52 +02:00
Volker Lendecke
eb5582d28a
cli_rpc_pipe_open_noauth must take the user/domain from the smb session
...
(This used to be commit 6f08128cf2
)
2008-04-25 11:12:52 +02:00
Volker Lendecke
324e92ea67
Make use of rpccli_xxx_bind_data
...
(This used to be commit f9bc336aff
)
2008-04-25 11:12:51 +02:00
Volker Lendecke
253b0b8868
Create rpccli_xxx_bind_data functions
...
These functions create the auth data for the later bind
(This used to be commit 630b9c241c
)
2008-04-25 11:12:51 +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
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
712e40dad2
Fix some empty lines with just spaces
...
(This used to be commit f8fb9b7e37
)
2008-04-20 16:23:48 +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
33592bdcb9
Refactoring: Move stuff around for creating a pipe
...
(This used to be commit 45be749ed6
)
2008-04-20 14:08:10 +02:00
Volker Lendecke
f56eedb95c
Remove the pipe_idx variable from rpc_pipe_client
...
(This used to be commit 4840febcd4
)
2008-04-20 11:47:33 +02:00
Volker Lendecke
ff8aa642f3
Remove some unused code referencing pipe_names[]
...
(This used to be commit d8a04b798c
)
2008-04-20 11:27:24 +02:00
Volker Lendecke
cf2442bdcb
Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name
...
Also make sure that rpc_pipe_client->user_name is always talloced.
(This used to be commit 3f6c5b9966
)
2008-04-20 00:14:40 +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
Volker Lendecke
b46d340fd5
Refactoring: Make struct rpc_pipe_client its own talloc parent
...
(This used to be commit a6d74a5a56
)
2008-04-20 00:12:52 +02:00
Volker Lendecke
fb73de3b92
Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal
...
This probably does not matter in current code, but without this it's not
possible to do the bind as a different user than the underlying smb user.
Jeremy, please check!
Thanks,
Volker
(This used to be commit b90062e33c
)
2008-04-19 23:54:01 +02:00
Jelmer Vernooij
a4c60b2696
rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce
...
duplication.
(This used to be commit 428654b473
)
2008-04-17 17:54:32 +02:00
Jelmer Vernooij
28fd4f6fcb
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
...
(This used to be commit 7bea00dca1
)
2008-04-15 20:26:52 +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
dc2274819e
Fix rpccli_lsa_lookup_sids_noalloc.
...
When looking up e.g. a trusted doamin account, there is just no name.
Michael, please check.
Guenther
(This used to be commit ea3cfadc25
)
2008-04-03 00:27:02 +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
a3991c9ef4
Fix SRVSVC ShareInfo level 502 server side handling.
...
Guenther
(This used to be commit 776facabf6
)
2008-04-01 00:26:32 +02:00
Günther Deschner
9afc225b37
Fix SRVSVC ShareInfo max_users handling server side.
...
Guenther
(This used to be commit b4d944e724
)
2008-04-01 00:26:32 +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
Günther Deschner
b1198fc9fd
Fix samlogon rpc client & server.
...
Guenther
(This used to be commit 0aaf975560
)
2008-03-27 13:06:43 +01:00
Günther Deschner
d8d1eea136
Fix typo.
...
Guenther
(This used to be commit ffe77dc8b0
)
2008-03-27 00:48:08 +01:00
Günther Deschner
d8acf19987
Move svc_status_string() out of rpc_client/cli_svcctl.c
...
Guenther
(This used to be commit 2860ae2eb2
)
2008-03-20 01:26:37 +01:00
Marc VanHeyningen
e06aa46b9f
Coverity fixes
...
(This used to be commit 3fc85d2259
)
2008-03-17 20:52:25 +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
b83234cf40
Add some last init_srvsvc_X functions.
...
Guenther
(This used to be commit 41dc55f1de
)
2008-03-11 18:23:34 +01:00
Günther Deschner
7e652a254f
Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.
...
Guenther
(This used to be commit e4b52133d6
)
2008-03-10 17:14:11 +01:00
Günther Deschner
11e4e58f17
Remove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}
...
Guenther
(This used to be commit e13b9325d2
)
2008-03-10 16:26:56 +01:00
Günther Deschner
032d4fa8ea
Add some srvsvc_NetSessInfo init functions.
...
Guenther
(This used to be commit 8168fd583c
)
2008-03-10 03:43:40 +01:00
Günther Deschner
e931f28db7
Remove unused marshalling for SRV_NET_SHARE_DEL.
...
Guenther
(This used to be commit 2afae94936
)
2008-03-07 23:51:34 +01:00
Günther Deschner
221af840a5
Add some more init_srvsvc_NetShareInfoX functions.
...
Guenther
(This used to be commit cb3577e695
)
2008-03-07 13:08:34 +01:00
Volker Lendecke
03451a516a
Fix coverity ID 525, 526, 527, 528, 529 and 530
...
Upon failure to allocate one of the arrays, further down the TALLOC_FREE would
have looked at the variables given to it without initizalizing.
(This used to be commit 6cac312731
)
2008-03-05 22:36:18 +01:00
Günther Deschner
1bdce8e5b5
Remove unused marshalling for SRV_NET_REMOTE_TOD.
...
Guenther
(This used to be commit 9f0ea1d727
)
2008-03-05 10:40:52 +01:00
Günther Deschner
78b20443c5
Use pidl for _srvsvc_NetRemoteTOD().
...
Guenther
(This used to be commit 2b4e0f0593
)
2008-03-05 10:34:45 +01:00
Günther Deschner
986005db13
Remove unused marshalling for SRV_NET_SRV_GET_INFO.
...
Guenther
(This used to be commit 53a7e9b07d
)
2008-03-05 09:49:34 +01:00
Günther Deschner
2c3dc9baa5
Use pidl for _srvsvc_NetSrvGetInfo().
...
Guenther
(This used to be commit 34caa41fa6
)
2008-03-05 09:49:15 +01:00
Günther Deschner
700438dbbd
Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
...
Thanks metze for the fix.
Guenther
(This used to be commit dcffb885bc
)
2008-02-28 23:37:47 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Steven Danneman
6fb37ae672
Closed memory leak on error path.
...
(This used to be commit 376de8a0e4
)
2008-02-27 07:23:28 +01:00
Günther Deschner
c147f2fd6b
Remove unused marshalling for SVCCTL_QUERY_STATUS.
...
Guenther
(This used to be commit 8a621f517f
)
2008-02-19 03:13:26 +01:00
Günther Deschner
35e48a4b1d
Remove unused marshalling for SVCCTL_CONTROL_SERVICE.
...
Guenther
(This used to be commit 84112a24f5
)
2008-02-19 03:13:02 +01:00
Günther Deschner
a750bbf1b8
Remove unused marshalling for SVCCTL_START_SERVICE.
...
Guenther
(This used to be commit 57e03a7fd5
)
2008-02-19 03:12:37 +01:00
Günther Deschner
bdd5f1cb2a
Fix some uninitialized data in new netlogon client.
...
Guenther
(This used to be commit bd6e2fcf3b
)
2008-02-19 01:51:41 +01:00
Günther Deschner
2a501a0760
Use pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.
...
Guenther
(This used to be commit b1609801e4
)
2008-02-19 01:10:30 +01:00
Günther Deschner
0349835b34
Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().
...
Hopefully I didn't screw this up. Please check :)
Guenther
(This used to be commit 01b733f10c
)
2008-02-18 14:40:34 +01:00
Günther Deschner
4673706e1d
Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.
...
Guenther
(This used to be commit 144f41e7c3
)
2008-02-18 13:45:36 +01:00
Günther Deschner
6d95d7d9b9
Remove unused marshalling for SVCCTL_OPEN_SERVICE.
...
Guenther
(This used to be commit e0a8818af0
)
2008-02-18 12:58:44 +01:00
Günther Deschner
330fe0a62a
Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.
...
Guenther
(This used to be commit 1162b8a02d
)
2008-02-18 12:12:43 +01:00
Günther Deschner
d9a465b8df
Use rpccli_lsa_LookupSids() in rpccli_lsa_lookup_sids_noalloc().
...
Guenther
(This used to be commit b62eddbc4e
)
2008-02-18 10:03:49 +01:00
Günther Deschner
e655a10736
Use rpccli_lsa_LookupNames() inside of rpccli_lsa_lookup_names.
...
Guenther
(This used to be commit 5c0a2d697f
)
2008-02-18 10:01:24 +01:00
Günther Deschner
95cd28299e
Remove unused marshalling for NET_AUTH3.
...
Guenther
(This used to be commit ccf3ba0f5c
)
2008-02-17 02:53:23 +01:00
Günther Deschner
95b6f33da6
Remove unused marshalling for NET_SAM_LOGON_EX and finally NET_USER_INFO_3.
...
Guenther
(This used to be commit ead1f11dd2
)
2008-02-17 02:50:11 +01:00
Günther Deschner
9519d95c4a
Use rpccli_netr_LogonSamLogonEx in rpccli wrapping function.
...
Guenther
(This used to be commit 51a664cd5f
)
2008-02-17 02:37:12 +01:00
Günther Deschner
9f8f9c1483
Finally let our samlogon routines call rpccli_netr_LogonSamLogon internally and
...
return netr_SamInfo3.
Guenther
(This used to be commit 9e5b732d45
)
2008-02-17 02:12:01 +01:00
Günther Deschner
c35ae5943d
Add some more samlogon related netlogon init functions.
...
Guenther
(This used to be commit df90a37c3e
)
2008-02-17 02:12:00 +01:00
Günther Deschner
697f8904e7
Remove unused marshalling for NET_SRV_PWSET.
...
Guenther
(This used to be commit e48737f04d
)
2008-02-16 16:06:55 +01:00
Günther Deschner
c164f1dd80
Add init_netr_SamInfo3 routine.
...
Guenther
(This used to be commit bf598744c5
)
2008-02-16 13:44:33 +01:00
Günther Deschner
26106d2e39
Remove unused marshalling for NET_REQ_CHAL and NET_AUTH2.
...
Guenther
(This used to be commit 2123aff75c
)
2008-02-16 00:05:45 +01:00
Günther Deschner
3f24ef1848
Replace DOM_CHAL with "struct netr_Credential" where we can right now.
...
This allows to remove some more old netlogon client calls.
Guenther
(This used to be commit c0b1a87658
)
2008-02-15 23:57:54 +01:00
Günther Deschner
34df32446d
Remove unused marshalling for NET_SAM_SYNC.
...
Guenther
(This used to be commit a94d93725a
)
2008-02-15 14:24:31 +01:00
Günther Deschner
99f1806af9
Remove unused marshalling for NET_SAM_DELTAS.
...
Guenther
(This used to be commit 2dd01f0741
)
2008-02-15 14:06:50 +01:00
Günther Deschner
ad5794ad5c
Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.
...
Guenther
(This used to be commit 80e39330bf
)
2008-02-14 15:29:51 +01:00
Günther Deschner
d64ae7328a
Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.
...
Guenther
(This used to be commit 34c0e64026
)
2008-02-14 15:11:35 +01:00
Günther Deschner
25bc71f117
Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.
...
Guenther
(This used to be commit 15b97d1aaf
)
2008-02-14 14:40:27 +01:00
Günther Deschner
c6cd8ec909
Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
...
Guenther
(This used to be commit 8125d8557f
)
2008-02-14 13:53:27 +01:00
Günther Deschner
341e5ea3eb
Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.
...
Guenther
(This used to be commit 004598bc13
)
2008-02-14 13:13:09 +01:00
Günther Deschner
8f7cc004ff
Remove unused marshalling for LSA_ENUM_ACCOUNTS.
...
Guenther
(This used to be commit 8c476ad516
)
2008-02-14 01:34:34 +01:00
Günther Deschner
d134bd3c27
Remove unused marshalling for NET_LOGON_CTRL and NET_LOGON_CTRL2.
...
Guenther
(This used to be commit c94538e742
)
2008-02-13 23:12:42 +01:00
Günther Deschner
834fa856da
Move some lsa init routines around.
...
Guenther
(This used to be commit 8d3e7e8bb0
)
2008-02-13 23:01:33 +01:00
Günther Deschner
c60460a549
Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.
...
Guenther
(This used to be commit 7e1f33436a
)
2008-02-13 11:18:36 +01:00
Günther Deschner
4843df31de
Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.
...
Guenther
(This used to be commit 6f269ec8c0
)
2008-02-13 11:18:36 +01:00
Günther Deschner
7c0796a494
Remove unused marshalling for SAMR_LOOKUP_RIDS.
...
Guenther
(This used to be commit c6db963dac
)
2008-02-13 10:56:56 +01:00
Günther Deschner
2600cb6b9b
Remove unused marshalling for LSA_ENUM_TRUST_DOM.
...
Guenther
(This used to be commit 90b07714dd
)
2008-02-13 00:37:19 +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
a9cf5a0e9c
The final SAM_USER_INFO massacre.
...
I compared those very thoroughly with the idl ones but couldn't find any bits
that were missing (except for the very obscure (and totally unused)
SAM_USER_INFO_17 structure which I think was totally wrong).
Guenther
(This used to be commit e7192818f7
)
2008-02-12 21:11:03 +01:00
Günther Deschner
68855a99d0
Use rpccli_samr_SetUserInfo2() in place of rpccli_samr_set_userinfo().
...
Guenther
(This used to be commit 1b48b9d73d
)
2008-02-12 20:29:13 +01:00
Günther Deschner
b69a590f6b
Remove unused marshalling for SAMR_SET_USERINFO2.
...
Guenther
(This used to be commit d493f98cd1
)
2008-02-12 18:54:03 +01:00
Günther Deschner
6f2a384b33
Remove unused marshalling for SAMR_QUERY_USERINFO.
...
Guenther
(This used to be commit daec00fd62
)
2008-02-12 18:27:57 +01:00
Günther Deschner
4974200f30
Use pidl for _samr_QueryUserInfo.
...
Guenther
(This used to be commit 53dc913b2d
)
2008-02-12 14:52:25 +01:00
Günther Deschner
6aa84ad8c5
Move some samr init functions around (to allow easier identification of new
...
calls).
Guenther
(This used to be commit c51c126049
)
2008-02-12 12:30:51 +01:00
Günther Deschner
c3f68ad29f
Remove unused marshalling for SAMR_ENUM_DOM_USERS.
...
Guenther
(This used to be commit 4521f31a72
)
2008-02-12 11:38:31 +01:00
Günther Deschner
76f654e21c
Remove unused marshalling for LSA_PRIV_GET_DISPNAME.
...
Guenther
(This used to be commit d853f4f263
)
2008-02-11 19:16:05 +01:00
Günther Deschner
0e4088e626
Let rpccli_lsa_open_policy[2] be convenience wrappers around their pidl equivalents.
...
Guenther
(This used to be commit 4ca3b1c02e
)
2008-02-11 17:50:18 +01:00
Günther Deschner
1042b0ce37
Remove unused marshalling for LSA_ENUM_PRIVS.
...
Guenther
(This used to be commit 793e5a608b
)
2008-02-11 10:49:35 +01:00
Günther Deschner
5da927716a
Remove unused marshalling for NET_DSR_GETDCNAME.
...
Guenther
(This used to be commit 65c2aa344e
)
2008-02-08 23:38:13 +01:00
Günther Deschner
5c23f7d73c
Remove unused marshalling for LSA_OPENACCOUNT.
...
Guenther
(This used to be commit bb8e77eb74
)
2008-02-08 22:44:42 +01:00
Günther Deschner
ef01ceff89
Remove unused marshalling for LSA_CREATEACCOUNT.
...
Guenther
(This used to be commit c9a8baf507
)
2008-02-08 22:38:34 +01:00
Günther Deschner
400ac70117
Remove unused marshalling for SAMR_LOOKUP_NAMES.
...
Guenther
(This used to be commit 593768c3e9
)
2008-02-08 15:30:35 +01:00
Günther Deschner
99a134a74e
Remove unused marshalling for LSA_QUERY_INFO.
...
Guenther
(This used to be commit f193d7d944
)
2008-02-08 10:26:37 +01:00
Günther Deschner
b13277ed4e
Remove unused marshalling for LSA_QUERY_INFO2.
...
Guenther
(This used to be commit 0fac016d9d
)
2008-02-08 10:16:08 +01:00
Günther Deschner
8a1f56a90e
Remove rpccli_lsa_query_info_policy_new and rpccli_lsa_query_info_policy_new2.
...
Guenther
(This used to be commit 08888e3773
)
2008-02-08 10:02:52 +01:00
Günther Deschner
e1af5066d5
Remove unused marshalling for SAMR_QUERY_DISPINFO.
...
Guenther
(This used to be commit c09e619a58
)
2008-02-08 00:17:54 +01:00
Günther Deschner
f564a5476b
Remove unused marshalling for SAMR_QUERY_USERGROUPS.
...
Guenther
(This used to be commit 232a505535
)
2008-02-07 14:25:29 +01:00
Günther Deschner
815ab1ac94
Remove unused marshalling for SAMR_QUERY_GROUPINFO.
...
Guenther
(This used to be commit 680dbd3ef6
)
2008-02-07 14:13:09 +01:00
Günther Deschner
de3aec7026
Remove unused marshalling for SAMR_QUERY_ALIAS_INFO.
...
Guenther
(This used to be commit 03dff0194b
)
2008-02-07 13:38:08 +01:00
Günther Deschner
bffbee263f
Remove unused marshalling for SAMR_SET_GROUPINFO.
...
Guenther
(This used to be commit 2bcc01fd13
)
2008-02-07 11:03:44 +01:00
Günther Deschner
009d09dcae
Remove unused marshalling for SAMR_SET_ALIASINFO.
...
Guenther
(This used to be commit f56b5f976a
)
2008-02-07 10:56:35 +01:00
Günther Deschner
44f1485f0b
Remove unused marshalling for NET_DSR_GESITENAME.
...
Guenther
(This used to be commit c2682273fd
)
2008-02-07 10:42:59 +01:00
Günther Deschner
f79051fe19
Remove unused marshalling for NET_GETANYDCNAME and NET_GETANYDCNAME.
...
Guenther
(This used to be commit a495e0e7c1
)
2008-02-07 10:31:09 +01:00
Günther Deschner
83036e7fd2
Use rpccli_samr_ChangePasswordUser2 in rpccli_samr_chgpasswd_user() and friends.
...
Guenther
(This used to be commit a49220b5c8
)
2008-02-07 10:07:01 +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
1430ab2dd3
Remove unused marshalling for SAMR_SET_DOMAIN_INFO.
...
Guenther
(This used to be commit c67581e1e4
)
2008-02-06 02:10:18 +01:00