Commit Graph
25 Commits
Author SHA1 Message Date
Nathan Kinder 72a3114a01 Cleaned up comments that were mangled by vim 2008-07-18 13:11:21 -04:00
Nathan Kinder 2301f60652 Re-base memberOf plug-in off of current FDS memberOf plug-in. Resolves: 452537, 453011, 443241, 439628 2008-07-18 13:11:19 -04:00
Simo Sorce b3ca8359ee Fix cut&paste error 2008-06-11 11:36:21 -04:00
Rich Megginson 2d588a8254 Fedora DS 1.1.1 exposes a public task api. In order for ipa-1-0 to build against this, ipa-memberof.c needs to be able to use the public api or the private one. 2008-05-30 13:49:46 -04:00
W. Michael Petullo 29ddbc610c This patch begins the process of replacing OpenLDAP with mozldap.
FreeIPA relies on RedHat's Directory Server, which uses mozldap.
A FreeIPA build using mozldap would reduce the project's dependencies and
redundant code. In addition, mozldap uses NSS instead of OpenSSL.
This is beneficial for the reasons listed in [1].

[1] http://fedoraproject.org/wiki/FedoraCryptoConsolidation
2008-05-01 09:59:43 -04:00
Nathan Kinder d854d25483 Fixed various memory leaks in memberOf plug-in.
440474
2008-04-22 16:55:50 -04:00
Simo Sorce e666bfbca7 Some more function name errors due to merge from DS own memberof plugin that
has different function names. This was a runtime linker crash bug :/
2008-03-31 17:22:37 -04:00
Simo Sorce 1737dbb174 Fix typo 2008-03-31 12:53:45 -04:00
Nathan Kinder 6340de3fb8 Avoid listing a group as a memberOf itself when a circular grouping
is created.

We basically just need to add a check to see if we're to use a group
DN as the memberOf value when performing an operation on itself for
all operation types.

439450
2008-03-28 14:18:18 -07:00
Nathan Kinder 80149d9f11 Fixed handling of modify operations that delete all present member
values without specifying the values to delete in the memberOf
plug-in.  Member entries were not being updated because the code
used the values in the mod to find the member entries to update.

The fix is to detect when a delete modify has no values specified
and just use the replace code since it compares the pre-op and
post-op copies of the group to figure out what member entries to
update.

439097
2008-03-28 08:56:06 -07:00
Nathan Kinder 07059a5ef2 Handle MODRDN operations properly for indirect group members.
Without this, an entry's memberOf attribute is not updated with
the new group DN when an indirect group is renamed.

This is in bugzilla for FDS as bz 438891.
2008-03-26 15:03:01 -07:00
Nathan Kinder 71c21b5293 Fix bugs in handling of circular groupings in memberOf plug-in.
Resolves 432140
2008-02-14 16:27:34 -08:00
Simo Sorce 3580d0affb Use groupOfNames and member, not groupOfUniqueNames and uniqueMember 2007-11-20 10:22:43 -05:00
Karl MacMillan c49d478b92 Fix build from autoconf patch import. -
Karl MacMillan f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. -
Rob Crittenden dac58ee693 Enabled memberof plugin 2007-10-16 10:17:39 -04:00
Karl MacMillan d2a19b2009 Karl MacMillan wrote:
> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
-
Pete Rowley 23508d33b5 Add DS task to fix up memberof, turn debug build back on 2007-08-21 12:41:32 -07:00
Karl MacMillan 92be45e3fe Fix -Wall for memberof plugin (from Pete Rowley). -
Simo Sorce 0a6007bcf2 Fix the relative name, Richm explained that the allowed values are either:
/full/path/plugin-name.so
or just
plugin-name (no .so as different arches have different extensions)
2007-08-16 17:59:23 -04:00
Simo Sorce 1e59adbe45 in F7 all directory names have changed from fedora-ds to dirsrv
which should also be the name used in DS 8.0, change all occurences
2007-08-15 19:45:18 -04:00
Simo Sorce 9faa5ce77e Use relative .so names for plugin so that lib/lib64 does not get in the way
change the pwd-extop conf ldif to a more sensible name
2007-08-15 18:55:20 -04:00
Karl MacMillan c1b3a4c412 Install server plugins in correct lib directory. -
Karl MacMillan e27ab98fd2 Integrate memberof plugin into build. -
Pete Rowley d3415f85b0 initial commit of memberof DS plugin 2007-08-10 16:06:23 -07:00