summaryrefslogtreecommitdiff
path: root/server/providers/proxy.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-20Completely rework the nss interface to be able to use 2Simo Sorce1-31/+189
types of domains: modern and legacy modern uses member/meberof, legacy uses memberUid for group memberships. Rework the proxy backend to use the legacy style as that's the format the data comes in (trying to convert would require too many transformations and increased the number of queries). Add support for fetching groups in nss. Add support for enumerating users and groups (requires to enable enumeration in config) both in nss and in the proxy provider. Remove confdb_get_domain_basedn() and substitute with generic calls in the nss init function. Store a domain structure in the btree not the basedn so that we can add enumeration flags. Also make sure NSS understand how to make multiple calls on enumerations, also make passing the domian parameter always mandatory, passing in domain=* is not valid anymore. This work fixes also a few memory, degfault, and logic bugs found while testing all nss functions (there are still some to fix that are less critical and much harder to find yet).
2009-02-13Make backend requests asyncSimo Sorce1-48/+349
2009-02-12- make all functions supposed to get input in posix formatSimo Sorce1-12/+12
use the same namespace (sysdb_posix_) - no need to explicitly start a transaction if only one operation is performed using a synchronous interface - split _add_remove_ functions into separate functions, don't let ldap madness creep into out interfaces
2009-01-12Regroup database rleated functions under db andSimo Sorce1-4/+7
rename everything with the sysdb suffix.
2009-01-11Add support for getpwuid in proxy backendSimo Sorce1-1/+60
2009-01-11Turn ldap_provider.c into proxy.c and make it possible to load just anySimo Sorce1-0/+281
libnss library through config directives on the domain object