summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-30s3-winbind: use new reconnect logic in rpc_lookup_sids() also.Günther Deschner1-16/+7
Volker, please check. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-09-29s3-winbindd: Adjust error code loop logic in rpc_trusted_domains().Günther Deschner1-1/+1
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Sat Sep 29 00:34:04 CEST 2012 on sn-devel-104
2012-09-28s3-winbindd: Allow DNS resolution of trusted domains if DNS name is avaliableSumit Bose1-21/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2012-02-18Fix a bunch of "unused variable" warnings.Jeremy Allison1-2/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-4/+4
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-02s3-winbindd: remove unused headers.Günther Deschner1-3/+0
Guenther
2011-04-13s3: Add wbint_LookupSidsVolker Lendecke1-0/+98
This will be called from wb_lookupsids to query remote DCs via lsa Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-03-30s3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.Günther Deschner1-6/+6
Guenther
2011-02-02s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_rpc.c.Günther Deschner1-7/+12
Guenther
2011-02-02s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_rpc.c.Günther Deschner1-58/+134
Guenther
2011-01-21s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider1-3/+3
2010-11-01s3:winbindd: fix query_user for users with NULL full name.Michael Adam1-1/+3
Not sure whether query_user ever sends a NULL full name. Query Display Info does, and it does not harm to add the check here, too. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Nov 1 13:03:33 UTC 2010 on sn-devel-104
2010-11-01s3:winbindd: fix query_user_list for users with NULL full_nameMichael Adam1-1/+3
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-1/+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-20s3-util: use shared dom_sid_dup.Günther Deschner1-2/+3
Guenther
2010-07-06s3-winbind: Handle aliases in rpc_lookup_groupmem().Andreas Schneider1-29/+74
2010-07-05s3-winbind: Added a common rpc_trusted_domains function.Andreas Schneider1-0/+69
2010-07-05s3-winbind: Added a common rpc_sequence_number function.Andreas Schneider1-0/+49
2010-07-05s3-winbind: Added a common rpc_lookup_groupmem function.Andreas Schneider1-0/+128
2010-07-05s3-winbind: Added a common rpc_lookup_useraliases function.Andreas Schneider1-0/+84
2010-07-05s3-winbind: Added a common rpc_lookup_usergroups function.Andreas Schneider1-0/+62
2010-07-05s3-winbind: Added a common rpc_query_user function.Andreas Schneider1-0/+64
2010-07-05s3-winbind: Added a common rpc_rids_to_names function.Andreas Schneider1-0/+79
2010-07-05s3-winbind: Added a common rpc_sid_to_name function.Andreas Schneider1-0/+56
2010-07-05s3-winbind: Added a common rpc_name_to_sid function.Andreas Schneider1-0/+63
2010-07-05s3-winbind: Added a common rpc_enum_local_groups function.Andreas Schneider1-0/+54
2010-07-05s3-winbind: Added a common rpc_query_user_list function.Andreas Schneider1-0/+101
2010-07-05s3-winbind: Added a common rpc_enum_dom_groups function.Andreas Schneider1-0/+94
2010-07-05s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.Andreas Schneider1-1330/+0
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-15/+15
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner1-1/+1
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-01-10s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke1-3/+2
2010-01-06s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary ↵Bo Yang1-2/+2
backend query. Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-06s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume ↵Bo Yang1-8/+2
lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response. Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-30Prevent NULL dereference if group has no membersJim McDonough1-4/+4
2009-12-28s3: Pass netr_DomainTrustList instead of names and sids through ↵Volker Lendecke1-21/+26
(*trusted_domains)
2009-12-26s3: Fix a bogus uninitialized variable warningVolker Lendecke1-1/+1
2009-12-03s3: Fix crash in winbindd;(bug#6879).Bo Yang1-2/+8
Signed-off-by: Bo Yang <boyang@samba.org>
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-10-06s3:winbind: Make query_user_list in winbindd_rpc a bit more readableVolker Lendecke1-8/+13
2009-09-24s3-winbindd: no reason to call winbindd_can_contact_domain() three times in ↵Günther Deschner1-12/+0
query_user(). Guenther
2009-09-22s3-winbindd: Fix Bug #6711: trusts to windows 2008 (2008 r2) not working.Günther Deschner1-5/+59
Winbindd should always try to use LSA via an schannel authenticated ncacn_ip_tcp connection when talking to AD for LSA lookup calls. In Samba <-> W2k8 interdomain trust scenarios, LookupSids3 and LookupNames4 via an schannel ncacn_ip_tcp LSA connection are the *only* options to successfully resolve sids and names. Guenther
2009-09-17s3-winbindd: add and use winbindd_lookup_names().Günther Deschner1-20/+40
Guenther