summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-02-06Use rpccli_samr_QueryDomainInfo() in winbindd.Günther Deschner1-21/+33
Guenther (This used to be commit dd9fa33e968d4e641460fe1c6beb05dfe12fa918)
2008-02-05Use rpccli_samr_QueryGroupMember() all over the place.Günther Deschner1-3/+7
Guenther (This used to be commit 1793ed10df7f403b85a4e52c67cbfb277b23b30b)
2008-02-05Use rpccli_samr_GetAliasMembership() in winbindd and rpcclient.Günther Deschner1-16/+21
Guenther (This used to be commit 5c167162856fd1e13a3e04423cfc0cc936ae26b0)
2008-02-01Use rpccli_samr_OpenUser() all over the place.Günther Deschner1-5/+10
Guenther (This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)
2008-02-01Use rpccli_samr_OpenGroup() all over the place.Günther Deschner1-2/+5
Guenther (This used to be commit d019fc69a986937880121c2587d3fe37f995edae)
2008-01-31Remove rpccli_samr_close and use pidl generated function instead.Günther Deschner1-3/+3
Guenther (This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)
2008-01-11Ensure we don't access an uninitialized variableJeremy Allison1-1/+1
(CID 535 - actually false but easy to shut up :-). Jeremy. (This used to be commit 4038bb3a9485943db58d9fe30947e11522ce283d)
2008-01-04Add a missing check for dealing with a one-way trust in query_user().Gerald (Jerry) Carter1-0/+6
(This used to be commit f89e356bdaa203ef0a3ce6b8bd52170afa68a2c9)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-11/+6
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-8/+8
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-2/+2
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher1-0/+1111
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)