summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-09-17s3-winbindd: add and use winbindd_lookup_sids().Günther Deschner1-46/+55
Guenther
2009-08-29s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke1-1/+3
We need to enumerate passdb alias members Thanks to gd for bugging me :-)
2009-08-16s3:winbind: WINBIND_USERINFO -> wbint_userinfoVolker Lendecke1-3/+4
2009-08-11s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.Stefan Metzmacher1-0/+35
metze
2009-08-02Fix some nonempty blank linesVolker Lendecke1-21/+21
2009-08-02Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke1-1/+1
Pass a "flags" argument instead of the original winbind command down the name_to_sid chain. This way we are independent of the winbind commands and can take the decision at a much higher level
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-3/+3
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-14/+14
Guenther
2009-03-17Fix #6130: Don't crash in winbindd_rpc lookup_groupmem() on unmapped membersVolker Lendecke1-7/+8
Thanks to François Legal <devel@thom.fr.eu.org> for reporting this bug
2008-11-21s3-winbindd: make all winbind rpc-methods static.Michael Adam1-31/+32
Now that the methods are no longer needed in winbindd_ads, we can make them static again. Michael
2008-11-10s3-samr-idl: cleanup.Günther Deschner1-0/+2
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-1/+1
Guenther
2008-09-23[s3]winbindd_rpc: add domain prefix to username in lookup_groupmem().Michael Adam1-1/+4
This makes the output of "getent group" of a domain group show the domain prefix with "security = domain". Michael
2008-09-16winbindd: Update the calls to ws_name_XX() to reflect API changes.Gerald (Jerry) Carter1-5/+39
* Ensures that all points an which a name is received or returned to/from a client passes through the name aliases layer (users and groups).
2008-04-20Introduce rpccli_set_timeout()Volker Lendecke1-2/+2
Reduce dependency on "cli" member of rpc_pipe_client struct (This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-17Use netr_SamInfo3 everywhere in winbindd.Günther Deschner1-7/+7
Guenther (This used to be commit d9502eb75395131d5a8130ff2c4ebace106cb974)
2008-02-13Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.Günther Deschner1-7/+16
Guenther (This used to be commit 33a97b447c1875bf1cd5a703871a84a7fb359fec)
2008-02-13Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.Günther Deschner1-7/+16
Guenther (This used to be commit 8890bc481f60cd42d96b240b2ed8e34bc3d81f13)
2008-02-13Convert last caller (in winbindd) to rpccli_samr_LookupRids.Günther Deschner1-23/+25
Guenther (This used to be commit 34c2566f026dbde4da10e2fc10c6960260eb6044)
2008-02-13Fix the build of winbindd, sorry.Günther Deschner1-5/+3
Guenther (This used to be commit c62c89c8f0d1ff8e384b88b3b192aa96f0b2183e)
2008-02-13Use rpccli_lsa_EnumTrustDom all over the place.Günther Deschner1-8/+10
Guenther (This used to be commit a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)
2008-02-12Use rpccli_samr_QueryUserInfo in net and winbindd.Günther Deschner1-8/+10
Guenther (This used to be commit a9ff6760901a489ff8877717bdd5a2218154498f)
2008-02-08Fix winbindd msrpc_lookup_useraliases.Günther Deschner1-1/+1
Guenther (This used to be commit e196e527ae47a75f6cac09b9f89aa5619047d4d2)
2008-02-08Use rpccli_samr_QueryDisplayInfo() all over the place.Günther Deschner1-19/+20
Guenther (This used to be commit 66b79add353bf7a09f304eac5274cb89b23d7b06)
2008-02-07Use rpccli_samr_GetGroupsForUser() all over the place.Günther Deschner1-5/+7
Guenther (This used to be commit d1c669920e88e7fecd13101c4ddfe45354c5ecdb)