summaryrefslogtreecommitdiff
path: root/src/responder/pac/pacsrv.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-08Refactor gid handling in the PAC responderSumit Bose1-5/+6
Instead of using a single array of gid-domain_pointer pairs, Simo suggested to use a gid array for each domain an store it with a pointer to the domain.
2013-01-08PAC responder: check if existing user differsSumit Bose1-0/+2
If some of the Posix attributes of an user existing in the cache differ from the data given in the current PAC the old user entry is drop and a new one is created with the data from the PAC.
2013-01-08Save domain and GID for groups from the configured domainSumit Bose1-0/+1
Currently users from subdomains can only be members of groups from the configured domain and to access those groups a pointer to the domain struct of the configured domain is used. This patch sets the dom_grp member of struct pac_grp to point to the domain struct of the configured for groups from this domain. This is a first step to allow group membership for groups from subdomains as well. For those groups a pointer to the related subdomain structure will be saved.
2013-01-08Add find_domain_by_id()Sumit Bose1-0/+3
Currently domains can only be searched by name in the global domain list. To make it easier to find the domain for a given SID find_domain_by_id() which returns a pointer to the domain or subdomain entry in the global domain list if a matching id was found.
2013-01-08Use struct pac_grp instead of gid_t for groups from PACSumit Bose1-3/+8
To be able to handle groupmemberships from other domains more data than just the gid must be kept for groups given in the PAC.
2012-12-18RESPONDERS: Create a common file with service names and versionsJakub Hrozek1-3/+1
The monitor sends calls different sbus methods to different responders. Instead of including headers of the particular responders directly in monitor, which breaks layering a little, create a common header file that will be included from src/responder/common/
2012-11-10Add diff_gid_lists() with testSumit Bose1-0/+16
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/+2
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-06-21Add range support to PAC responderSumit Bose1-3/+4
2012-06-21PAC responder: add some utility functionsJan Zeleny1-0/+55
2012-06-21PAC responder: add basic infrastructureSumit Bose1-0/+52
This adds only the basic outline of the PAC responder, it won't support any operations, it will just start and initialize itself.