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
Stefan Metzmacher
e55426fe79
s3:rpc_client: let rpc_transport_tstream_init() create read and write queue
...
metze
2010-12-15 15:26:05 +01:00
Volker Lendecke
8d28ae10d2
s3: Correctly calculate the wbinfo -s result
2010-11-24 16:07:55 +01:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00
Simo Sorce
3453bc7b11
s3-dcerpc: make auth context opaque
...
This way we always double check in advance that the context
is of the right type with talloc_get_type_abort instead of
potentially accessing random memory by addressing the wrong
structure in the union.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:24 -07:00
Simo Sorce
d10e192b83
s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
2c9f420d75
s3-dcerpc: move client spnego stuff in /librpc/crypto
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
59722ef2fb
spnego: avoid explicit dependency on dcerpc specific structures
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
412ebad02b
gssapi: avoid explicit dependency on dcerpc specific structures
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Simo Sorce
0e5eb82a6f
s3-dcerpc: move crypto stuff in /librpc/crypto
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Günther Deschner
102a70e809
s3-util: use shared dom_sid_dup.
...
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
c7fe04abc7
s3-build: only include async headers where needed.
...
Guenther
2010-09-20 13:54:42 -07:00
Stefan Metzmacher
78b6265ac2
s3:rpc_client: remove unused rpc_pipe_set_hnd_state()
...
metze
2010-09-17 15:42:36 +02:00
Stefan Metzmacher
fde3412ccb
s3:rpc_client: use rpc_api_pipe_send() for auth3
...
metze
2010-09-17 15:42:35 +02:00
Stefan Metzmacher
6ecf8d16bc
s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu
...
metze
2010-09-17 15:42:35 +02:00
Stefan Metzmacher
de6254d3d6
s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recv
...
metze
2010-09-17 15:42:34 +02:00
Simo Sorce
7b1748d959
s3-rpc_client: Added a tstream based transport.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00