summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb_private.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.