summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wb_client.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.Jeremy Allison2000-09-011-3/+3
| | | | Jeremy.
* Added code to do SID to uid/gid conversion. Needed for ACL support.Jeremy Allison2000-08-231-10/+178
| | | | Jeremy.
* Started to canonicalize our handling of uid -> sid code in order toJeremy Allison2000-08-021-23/+83
| | | | | | | | | | | | | | | | | | | | | | | | | get ready and fix se_access_check(). Added cannonical lookup_name(), lookup_sid(), uid_to_sid(), gid_to_sid() functions that look via winbind first the fall back on local lookup. All Samba should use these rather than trying to call winbindd code directly. Added NT_USER_TOKEN struct in user_struct, contains list of NT sids associated with this user. se_access_check() should use this (cached) value rather than attempting to do the same thing itself when given a uid/gid pair. More work needs to be done to preserve these things accross security context changes (especially with the tricky pipe problem) but I'm beginning to see how this will be done..... probably by registering a new vuid for an authenticated RPC pipe and not treating the pipe calls specially. More thoughts needed - but we're almost there... Jeremy.
* Add local fallback for name lookup if no winbindd running...Jeremy Allison2000-07-111-9/+20
| | | | Jeremy.
* Moved winbind client functions from various odd locations toTim Potter2000-07-101-0/+174
nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.