summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_passdb.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09s3-winbind: Fixed setting default sequence number.Andreas Schneider1-1/+1
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-14/+14
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_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
2009-12-28s3: Pass netr_DomainTrustList instead of names and sids through ↵Volker Lendecke1-46/+26
(*trusted_domains)
2009-08-29s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke1-37/+35
We need to enumerate passdb alias members Thanks to gd for bugging me :-)
2009-08-23s3:winbind: Do not drop the first user in sam_query_user_listVolker Lendecke1-3/+4
2009-08-16s3:winbind: WINBIND_USERINFO -> wbint_userinfoVolker Lendecke1-5/+5
2009-08-02Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke1-13/+3
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-07-31Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke1-1/+1
It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me.
2009-07-31Fix some nonempty linesVolker Lendecke1-5/+5
2009-07-14s3-account_policy: add pdb_policy_type enum.Günther Deschner1-5/+5
Guenther
2009-06-06s3-winbindd: add some debug statements while tracking down a bug.Günther Deschner1-0/+6
Guenther
2009-03-07Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke1-6/+6
2009-01-19Fix the same bug as 8b618d0 fixes, this time in winbindd_passdb.cVolker Lendecke1-2/+4
2009-01-06s3-samr: avoid all init_samr_Domain* functions.Günther Deschner1-18/+12
Guenther
2008-11-17Fix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on ↵Davide Sfriso1-2/+2
'getent group' Jeremy.
2008-11-12Fix memory leak in error path, spotted by Martin Zielinski <mz@seh.de>.Jeremy Allison1-0/+1
Jeremy.
2008-09-03Revert "Split lookup_name() and create a new functiong called"Simo Sorce1-13/+15
This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6. (This used to be commit ad462e2e2d025a7fc23e7dea32b2b442b528970b)
2008-08-17Split lookup_name() and create a new functiong calledSimo Sorce1-15/+13
lookup_domain_name(). This new function accept separated strings for domain and name. (This used to be commit 8594edf666c29fd4ddf1780da842683dd81483b6)
2008-08-16Fix bug 5696. The problem was when smbdJeremy Allison1-2/+18
was asking for a winbindd name to SID lookup of "Unix Group\name" where "name" was also a valid username, the winbindd passdb lookup of that name was losing the domain string info before calling lookup name (ie. lookup_name() was being called with just the string "name", not the full string "Unix Group\name"). The passdb backend of winbindd has to cope with not only names from it's own global SAM domain, but it does lookups for BUILTIN and "Unix User" and "Unix Group" also, so making it guess by losing the domain string is "A Bad Idea" (tm) :-). Note that as winbind globally calls winbind_off() at startup, it's safe for winbind to call sys_getgrnam() to do the "Unix Group" lookup from inside lookup_name(). Jeremy. (This used to be commit 5293af6c3cbfdde340e6add47b914b6ee6fd7b6f)
2008-08-16Attempt to fix Coverity ID 596Volker Lendecke1-1/+1
Jeremy, please check & push if it's ok. (This used to be commit f06070c188d6d2efed3205bbc9c3c290718397b1)
2008-06-25Part of fix for #5551. Split out the group enumeration functions to a ↵Jeremy Allison1-15/+27
BUILTIN and a Domain specific version. Stops the domain groups appearing twice. Jeremy. (This used to be commit 77b99530e0ce0ab0f335d8b22774548d30690550)
2008-06-25Final (hopefully :-) part of fix for bug #5551. Allow passdb backend to ↵Jeremy Allison1-23/+45
enumerate domain groups. Jeremy (This used to be commit 2181770e4589d475b95b4103a8f95a58787f1f86)
2008-05-30Split the winbindd_passdb backend into a 'builtin' and a 'sam'Jeremy Allison1-106/+335
backend. This allows winbindd when running on a Samba PDC to correctly answer wbinfo -u lists and other queries. Jeremy. (This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)
2008-02-06Use rpccli_samr_QueryDomainInfo() in winbindd.Günther Deschner1-5/+9
Guenther (This used to be commit dd9fa33e968d4e641460fe1c6beb05dfe12fa918)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-2/+2
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-10-24handle wellknown sids in winbindd_passwd.cStefan Metzmacher1-1/+2
metze (This used to be commit 251bd4ea4cdd0a751ed3b91562272221af148e37)
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-10r25154: move winbindd code into winbindd/Stefan Metzmacher1-0/+467
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)