summaryrefslogtreecommitdiff
path: root/src/responder/pac/pacsrv_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-10Add diff_gid_lists() with testSumit Bose1-0/+156
This patch adds a new call which compares a list of current GIDs with a list of new GIDs and return a list of GIDs which are currently missing and must be added and another list of GIDs which are not used anymore and must be deleted. The method is the same as used by diff_string_lists().
2012-10-26pac responder: add user principal and name alias to cached user objectSumit Bose1-1/+41
The principal name for the user is generated with the user name and the domain from the PAC. It is stored in the cache so that if e.g. can be used by password authentication. Additionally the name alias is stored to allow case-insensitive searches.
2012-10-26pac responder: use only lower case user nameSumit Bose1-3/+5
Since winbind can only return lower-cased user name the pac responder must do the same to avoid inconsistent behaviour.
2012-10-26pac responder: fix copy-and-paste errorSumit Bose1-7/+0
This error prevent proper id-mapping in the PAC responder.
2012-09-24SYSDB: Remove unnecessary domain parameter from several sysdb callsJakub Hrozek1-4/+1
The domain can be read from the sysdb object. Removing the domain string makes the API more self-contained.
2012-06-21Add range support to PAC responderSumit Bose1-40/+132
2012-06-21PAC responder: add some utility functionsJan Zeleny1-0/+494