summaryrefslogtreecommitdiffstats
path: root/server/confdb/confdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-261-1/+5
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* Add helper function to get booleans from confdbSimo Sorce2009-02-201-0/+4
|
* Completely rework the nss interface to be able to use 2Simo Sorce2009-02-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Always pass teh database path explicitly, so that test cases can useSimo Sorce2009-02-131-1/+4
| | | | | throw away databases Check version and init main db if empty
* Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher2008-11-071-0/+8
| | | | | | Changed the "section" feature of confdb.c to use '/' as a delimiter instead of '.', because this conflicted with the ability to use dots in domain names.
* Add some more service functionsSimo Sorce2008-11-041-0/+4
|
* Add support for dbus comunication in the nss serviceSimo Sorce2008-11-031-0/+4
| | | | | Add utility function in confdb Make all component fetch the dbus socket from the confdb
* Add configuration database functions.Simo Sorce2008-10-201-0/+39
Convert nss responder to use the confdb