summaryrefslogtreecommitdiff
path: root/server/responder/pam/pam_LOCAL_domain.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-04Simplify some aspects of pam_LOCAL_domainSimo Sorce1-136/+82
Use only one context (the local request) for all functions. Use new helper function in sysdb to set numbers as sysdb_attrs values. Do not use pam_status to report internal errors, use an error variable and check it only when we finally reply. Use sysdb_error_to_errno() to convert and ldb error to errno. Do not free every single buffer allocated, they are all appended to the local request and will be automatically freed once the request is finished.
2009-03-03replaced pure ldb calls with sysdb callsSumit Bose1-117/+306
2009-03-02first version of LOCAL pam backendSumit Bose1-0/+295