1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

1400 Commits

Author SHA1 Message Date
Stefan Metzmacher
f915dd5dd4 s3:rpc_client: make rpccli_bh_create() non-static for now
metze
2011-02-09 11:46:20 +01:00
Andreas Schneider
01b49b1a2b s3-rpc_client: Added a winreg query security descriptor helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
35439a7b18 s3-rpc_client: Added a winreg set security descriptor helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
a370b9605c s3-rpc_client: Added a winreg set binary helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
56963d1f44 s3-rpc_client: Added a winreg query sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
69e6db1a53 s3-rpc_client: Added a winreg helper to enum keys.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
8ed91d6027 s3-rpc_client: Added a winreg add multi sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
8c119e4757 s3-rpc_client: Added a winreg query multi sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
913426b0c3 s3-rpc_client: Added a winreg set multi sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
34d3e85f35 s3-rpc_client: Added a winreg set expand sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
4b32f6c9d5 s3-rpc_client: Added a winreg set sz helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
e5eb7582d3 s3-rpc_client: Added a winreg set dword helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
d24bd4be91 s3-rpc_client: Added winreg query binary helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
9c7607d3d3 s3-rpc_client: Added winreg query dword helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
12cd4002e6 s3-rpc_client: Added dcerpc_winreg_int_openkey().
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Volker Lendecke
8af7400d55 s3: Fix some nonempty blank lines 2011-02-06 16:44:56 +01:00
Günther Deschner
f60398d7b2 s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)
The benefit of this that it makes us more robust to secure channel resets
triggered from tools outside the winbind process. Long term we need to have a
shared tdb secure channel store though as well.

Guenther

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb  4 18:11:04 CET 2011 on sn-devel-104
2011-02-04 18:11:04 +01:00
Günther Deschner
ac4127a9f4 s3-auth: add copy_netr_SamBaseInfo().
Guenther

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-04 16:57:32 +01:00
Günther Deschner
50be0b2c1e s3: Remove superfluous ;
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 15:44:21 CET 2011 on sn-devel-104
2011-02-02 15:44:21 +01:00
Günther Deschner
1232fb5a1e s3-rpc_client: remove some more obsolete cli_X.h header files.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-28 11:18:44 +01:00
Günther Deschner
99437614fa s3-rpcclient: allow to define validation level for samlogon.
Guenther
2011-01-24 16:56:00 +01:00
Günther Deschner
6923cc8016 s3-rpc_client: fix dcerpc_try_samr_connects().
Only return when both results are ok.

Guenther
2011-01-21 16:10:15 +01:00
Günther Deschner
e873ce9b65 s3-rpc_client: no need to include gen_ndr/cli_samr.h anymore.
Guenther
2011-01-21 16:10:15 +01:00
Günther Deschner
1f26b101ed s3-rpc_client: fix uninitialized variable found by -O3.
Guenther
2011-01-21 16:10:15 +01:00
Günther Deschner
e94ffc790e s3-rpc_client: prefer dcerpc_spoolss_X functions.
Guenther
2011-01-21 15:20:22 +01:00
Andreas Schneider
5db115a304 s3-rpc_client: Added dcerpc_try_samr_connects.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Fri Jan 21 15:19:01 CET 2011 on sn-devel-104
2011-01-21 15:19:01 +01:00
Andreas Schneider
089c25cbbb s3-rpc_client: Rename get_query_dispinfo_params. 2011-01-21 14:34:18 +01:00
Andreas Schneider
e6475f2151 s3-rpc_client: Added dcerpc_samr_chgpasswd_user3. 2011-01-21 14:34:18 +01:00
Andreas Schneider
200772653a s3-rpc_client: Added dcerpc_samr_chng_pswd_auth_crap. 2011-01-21 14:34:18 +01:00
Andreas Schneider
3de564b9b6 s3-rpc_client: Added dcerpc_samr_chgpasswd_user2. 2011-01-21 14:34:17 +01:00
Andreas Schneider
78c4f72c31 s3-rpc_client: Added dcerpc_samr_chgpasswd_user. 2011-01-21 14:34:17 +01:00
Andreas Schneider
8b1ffc770c s3-rpc_client: Added header information to cli_samr.h. 2011-01-21 14:34:17 +01:00
Andreas Schneider
1efa9b1cbd s3-rpc_client: Added header information to cli_lsarpc.h. 2011-01-21 14:34:17 +01:00
Günther Deschner
5efe6566a0 s3-rpc_client: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.
Guenther
2011-01-18 23:54:31 +01:00
Andreas Schneider
93da0aab97 s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104
2011-01-17 17:35:50 +01:00
Andreas Schneider
296a958c57 s3-rpc_client: Fixed return values of dcerpc_lsa_lookup_sids_generic. 2011-01-17 16:50:55 +01:00
Günther Deschner
232378c6e5 s3-rpc_client: prefer dcerpc_netr_X functions.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 12:36:54 +01:00
Andreas Schneider
3f21b971a9 s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 client_revision.
The spec states that the ClientRevision value MUST be one of the
following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2.

LSA_CLIENT_REVISION_2 means Windows 2000 and newer.

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104
2011-01-10 19:05:31 +01:00
Andreas Schneider
b1df95cbc5 s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 lookup_options.
Use the enum value in dcerpc_lsa_LookupNames4 for _lookup_options.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
e02916c453 s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.
The spec states that the ClientRevision value MUST be one of the
following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2.

LSA_CLIENT_REVISION_2 means Windows 2000 and newer.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
a53e0831d2 s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 lookup_options.
Use the enum value in dcerpc_lsa_LookupSids3 for _lookup_options.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
fd1fff608c s3-rpc_client: Added dcerpc_lsa_lookup_names.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
c91e756f8d s3-rpc_client: Added dcerpc_lsa_lookup_sids and dcerpc_lsa_lookup_sids3.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
8f14229b28 s3-rpc_client: Added dcerpc_lsa_open_policy2.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:55 +01:00
Andreas Schneider
2f819505af s3-rpc_client: Added dcerpc_lsa_open_policy.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10 18:20:54 +01:00
Stefan Metzmacher
fba2fdf265 s3:rpc_client: use dcerpc_epm_Map() and don't ignore 'result' anymore.
metze
2011-01-04 21:28:49 +01:00
Stefan Metzmacher
8b47fcea04 s3:rpc_client: implement rpc_transport_np_init() on top of rpc_transport_tstream_init()
This also makes use of tstream_cli_np_open() to get the tstream.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
2010-12-15 16:12:30 +01:00
Stefan Metzmacher
0342ed3ee0 s3:rpc_client: implement rpc_transport_sock_init() on top of rpc_transport_tstream_init()
metze
2010-12-15 15:26:05 +01:00
Stefan Metzmacher
122dc1e213 s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreams
metze
2010-12-15 15:26:05 +01:00
Stefan Metzmacher
9a14dace22 s3:rpc_client/rpc_transport_tstream: timeout should be unsigned int
metze
2010-12-15 15:26:05 +01:00