summaryrefslogtreecommitdiff
path: root/server/ldb_modules
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-3612/+0
Also update BUILD.txt
2010-02-18Supress warnings with -O2Jakub Hrozek1-1/+1
2010-01-12Fix #382, a segfault bug in the memberof plugin.Simo Sorce1-1/+1
2009-12-10Add rebuild task to memberof pluginSimo Sorce1-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
2009-12-03Compute and save memberuid in cache as wellSimo Sorce1-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.
2009-12-03Fix memberof pluginSimo Sorce1-12/+15
A loop was badly built and was skipping entries. This left some memberof attributes in place that should have been removed.
2009-12-01Fix tabsSimo Sorce1-21/+21
2009-08-24Relax memberof constraints a bitSimo Sorce1-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.
2009-07-20Instrument memberof for debuggingSimo Sorce1-0/+54
Fix ldb debug to avoid printing the debug function name, it's useless.
2009-07-03Rework transaction code to use tevent_reqSimo Sorce1-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.
2009-02-26Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2-116/+2
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
2009-02-12Add syntaxes for member and memberofSimo Sorce1-0/+8
2009-01-28Simplify delete path by removing effectively redundant code.Simo Sorce1-221/+41
Thanks Nathan for the review that lead to this!
2009-01-28Add comments on how memberof works.Simo Sorce1-0/+96
Enable memberof by default in the default db example
2009-01-28Add a memberof plugin so that we can properly apply the same group membershipsSimo Sorce2-0/+2298
as in IPA if necessary. This patch slightly modifies ldb to split out a modules header file without exposing the private headers.