summaryrefslogtreecommitdiff
path: root/server/db/sysdb_private.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-107/+0
Also update BUILD.txt
2009-12-10Add rebuild task to memberof pluginSimo Sorce1-1/+3
This task allows us to rebuild memberuid and memberof attributes throughout the database. This way we can upgrade from version 0.4 databases that didn't generate and store memberuid. The task can be invoked by adding a speaicl named entry to the ldb file. The entry dn to use is: @MEMBEROF-REBUILD, the entry has no attributes and any attribute is ignored at present. The entry will not be stored in the database but will just trigger the task to execute a rebuild of the memberof and memberuid attributes
2009-11-18Upgrade cache and local databases to case-sensitive namesStephen Gallagher1-1/+3
2009-11-18Make the sysdb user and group names case-sensitiveStephen Gallagher1-1/+0
2009-10-09Remove magicPrivateGroups optionSimo Sorce1-0/+1
In sssd only local is a native mpg domain, and it is forced. All other providers will have to unroll mpg users into a user/group pair of entries in the db. This allows the provider to automatically establish if the remote server provides mpg users w/o possibily conflicting manual configurations on the client trying to force an mpg behavior where none is provided.
2009-09-08Split database in multiple filesSimo Sorce1-14/+14
The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file.
2009-08-27Upgrade database to 0.2Simo Sorce1-3/+3
Provides also an upgrade function.
2009-07-03Rework transaction code to use tevent_reqSimo Sorce1-2/+23
This is part of a set of patches to rewrite sysdb to a hopefully better API, that will also let use use tevent_req async style calls to manipulate our cache.
2009-07-03Rename sysdb_req to sysdb_handle.Simo Sorce1-3/+3
This sysdb_req has always really been a transaction handle and not a request. This is part of a set of patches to rewrite transaction support in sysdb to a hopefully better API, that will also let use use tevent_req async style to manipulate our cache.
2009-03-05Remove _PW_ and _GR_ from SYSDB_ definesSimo Sorce1-2/+1
Also unify SYSDB_PW_NAME and SYSDB_GR_NAME in SYSDB_NAME and make it "name"
2009-03-04Improve sysdbSimo Sorce1-2/+0
Add comments in header files to better explain interfaces and intended usage. Expose function to convert from ldb errors to errnos. Add sysdb_attrs helper to add a long integer as a value.
2009-02-28Convert sync calls in sysdb to async, transaction dependent, calls.Simo Sorce1-11/+1
2009-02-26Serialize access to sysdb and also exposes ldb transactions.Simo Sorce1-0/+95
This is necessary because in ldb only 1 transaction per context is possible and all operations (or new transactions) are nested within it. Will revisit this later when ldb will addresses the problem.