summaryrefslogtreecommitdiffstats
path: root/server/ldb_modules
Commit message (Collapse)AuthorAgeFilesLines
* Add rebuild task to memberof pluginSimo Sorce2009-12-101-2/+726
| | | | | | | | | | | 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
* Compute and save memberuid in cache as wellSimo Sorce2009-12-031-108/+690
| | | | | | | | | This patch adds a new generated attribute to every group that has direct or indirect members. This attribute is called memberuid and contains the name of the users that are directo or indirect members of this group. This is done to greatly speed up group enumerations when NSS reads groups off the cache.
* Fix memberof pluginSimo Sorce2009-12-031-12/+15
| | | | | A loop was badly built and was skipping entries. This left some memberof attributes in place that should have been removed.
* Fix tabsSimo Sorce2009-12-011-21/+21
|
* Relax memberof constraints a bitSimo Sorce2009-08-241-85/+226
| | | | | | Allow to try to set members that do not actually exist. In that case simply remove them when we find out they are not real entries.
* Instrument memberof for debuggingSimo Sorce2009-07-201-0/+54
| | | | Fix ldb debug to avoid printing the debug function name, it's useless.
* Rework transaction code to use tevent_reqSimo Sorce2009-07-031-1/+1
| | | | | | 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.
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-262-116/+2
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* Add syntaxes for member and memberofSimo Sorce2009-02-121-0/+8
|
* Simplify delete path by removing effectively redundant code.Simo Sorce2009-01-281-221/+41
| | | | Thanks Nathan for the review that lead to this!
* Add comments on how memberof works.Simo Sorce2009-01-281-0/+96
| | | | Enable memberof by default in the default db example
* Add a memberof plugin so that we can properly apply the same group membershipsSimo Sorce2009-01-282-0/+2298
as in IPA if necessary. This patch slightly modifies ldb to split out a modules header file without exposing the private headers.