summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_user.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-02s3 build: Fix "assignment discards qualifiers from pointer target type" warningsTim Prouty1-7/+4
2009-02-02s3:winbind_user: fix "getent passwd" to allocate new uids.Michael Adam1-2/+7
"getent passwd" used to fill the idmap cache with negative cache entries for unmapped user sids. Don't pass domain name unconditionally to idmap_sid_to_[ug]id(). idmap_sid_to_[ug]id() only creates new mappings (allocating idmap backends tdb, tdb2, ldap...) when the domain name passed in is "". Note that it is _wrong_ to directly call the idmap_sid_to_[ug]id() functions here, in the main winbindd. The correct fix would be to send a sid_to_[ug]id request to winbindd itself, but this needs more work to prepare the async mechanisms, and we nee a quick fix for getent passwd now. Michael
2009-02-02s3:winbind_user: move initialization of domain up in winbindd_fill_pwent()Michael Adam1-11/+9
and streamline logic some Michael
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-1/+7
2008-12-04s3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)Michael Adam1-1/+1
This is just to find the corresponding domain struct. Actual connection is handled by the domain child. Michael
2008-09-16winbindd: Update the calls to ws_name_XX() to reflect API changes.Gerald (Jerry) Carter1-5/+69
* 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-08-12idmap rewriteVolker Lendecke1-2/+4
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-07-25Fix an incompatible pointer warningVolker Lendecke1-2/+2
(cherry picked from commit 3282f7289b7b33beeaa1ca649651cca6537a69af) (This used to be commit fc8641443951dc852dc9cf1e73626df452b815f7)
2008-07-06Clean up the rest of the file tooSimo Sorce1-84/+76
(This used to be commit f6c92c4759096f839e3854a1e9eea56e6eecad4d)
2008-07-06More clean up, indentation and trailing space removalSimo Sorce1-40/+39
(This used to be commit d17d401603c1c26a5fd5eca5ece245790445e6d4)
2008-07-06Make code more readable, fix indentation and traling spaces.Simo Sorce1-17/+23
(This used to be commit e19e12d5cbba28ccf682eaf0ff26909bd7e8e6c6)
2008-06-26From Steve Danneman @ Isilon.Jeremy Allison1-93/+1
Attached is the companion patch to (037b9689d9042a398cb91e4628a82fcdfa913c21), which made handling of WINBINDD_LIST_GROUPS asynchronous. Because most all of the list_groups code was reusable, I abstracted it, and implemented both list_groups and list_users on top of it. On my large test domain a "wbinfo -u" call went from 70 seconds to 30 seconds with this patch. Plus, the parent process is no longer blocked from receiving new requests during that time. Steven Danneman | Software Development Engineer Isilon Systems P +1-206-315-7500 F +1-206-315-7501 www.isilon.com (This used to be commit 5188f2861137ff06d5399561d55d7d00c3a08644)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-10/+11
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-13/+13
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/+875
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)