summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Add rebuild task to memberof pluginSimo Sorce2009-12-101-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
* Upgrade cache and local databases to case-sensitive namesStephen Gallagher2009-11-181-1/+3
|
* Make the sysdb user and group names case-sensitiveStephen Gallagher2009-11-181-1/+0
|
* Remove magicPrivateGroups optionSimo Sorce2009-10-091-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.
* Split database in multiple filesSimo Sorce2009-09-081-14/+14
| | | | | The special persistent local database retains the original name. All other backends now have their own cache-NAME.ldb file.
* Upgrade database to 0.2Simo Sorce2009-08-271-3/+3
| | | | Provides also an upgrade function.
* Rework transaction code to use tevent_reqSimo Sorce2009-07-031-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.
* Rename sysdb_req to sysdb_handle.Simo Sorce2009-07-031-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.
* Remove _PW_ and _GR_ from SYSDB_ definesSimo Sorce2009-03-051-2/+1
| | | | Also unify SYSDB_PW_NAME and SYSDB_GR_NAME in SYSDB_NAME and make it "name"
* Improve sysdbSimo Sorce2009-03-041-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.
* Convert sync calls in sysdb to async, transaction dependent, calls.Simo Sorce2009-02-281-11/+1
|
* Serialize access to sysdb and also exposes ldb transactions.Simo Sorce2009-02-261-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.