summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_msrpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02s3:winbindd: catch lookup_names/sids schannel errors over ncacn_ip_tcp (bug ↵Stefan Metzmacher1-0/+28
#7944) If winbindd connects to a domain controller it doesn't establish the lsa connection over ncacn_ip_tcp direct. This happens only on demand. If someone does a 'net rpc testjoin' and then a wbinfo -n DOMAIN\\administrator, we'll get DCERPC faults with ACCESS_DENIED/SEC_PKG_ERROR, because winbindd's in memory copy of the schannel session key is invalidated. This problem can also happen on other calls, but the lookup_names/sids calls on thet lsa ncacn_ip_tcp connection are the most important ones. The long term fix is to store the schannel client state in a tdb, but for now it's enough to catch the error and invalidate the all connections to the dc and reestablish the schannel session key. The fix for bug 7568 (commit be396411a4e1f3a174f8a44b6c062d834135e70a) made this worse, as it assumes winbindd's in memory session key is always the current one. metze
2011-02-02s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_msrpc.c.Günther Deschner1-24/+59
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 14:14:43 CET 2011 on sn-devel-104
2011-01-19s3-winbind: no need to include ../librpc/gen_ndr/cli_lsa.h inGünther Deschner1-1/+0
winbindd/winbindd_msrpc.c. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 19 00:37:46 CET 2011 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
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-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-09-21s3: Remove a pointless if-statementVolker Lendecke1-4/+0
2010-07-13s3-winbind: Set status before we leave in some msrpc functions.Andreas Schneider1-0/+4
2010-07-06s3-winbind: Use same format for all msrpc debug messages.Andreas Schneider1-9/+10
2010-07-05s3-winbind: Rename lookup_groupmem to msrpc_lookup_groupmem.Andreas Schneider1-8/+9
2010-07-05s3-winbind: Use rpc_trusted_domains in msrpc.Andreas Schneider1-56/+35
2010-07-05s3-winbind: Use rpc_sequence_number in msrpc.Andreas Schneider1-61/+46
2010-07-05s3-winbind: Use rpc_lookup_useraliases in msrpc.Andreas Schneider1-79/+41
2010-07-05s3-winbind: Use rpc_lookup_usergroups in msrpc.Andreas Schneider1-55/+51
2010-07-05s3-winbind: Use rpc_query_user in msrpc.Andreas Schneider1-61/+38
2010-07-05s3-winbind: Use rpc_enum_local_groups in msrpc.Andreas Schneider1-53/+42
2010-07-05s3-winbind: Use rpc_query_user_list in msrpc.Andreas Schneider1-83/+43
2010-07-05s3-winbind: Use rpc_enum_dom_groups in msrpc.Andreas Schneider1-52/+42
2010-07-05s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.Andreas Schneider1-0/+1330