On 10/22/2013 10:52 AM, Jonathan Vaughn
wrote:
This is the documented way to do it. https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Advanced_Entry_Management.html#groups-cmd-memberof 6.1.4.5. Synchronizing memberOf Values The MemberOf Plug-in automatically manages the memberOf attribute on group member entries, based on the configuration in the group entry itself. However, the memberOf attribute can be edited on a user entry directly (which is improper) or new entries can be imported or replicated over to the server that have a memberOf attribute already set. These situations create inconsistencies between the memberOf configuration managed by the server plug-in and the actual memberships defined for an entry. Directory Server has a memberOf repair task which manually runs the plug-in to make sure the appropriate memberOf attributes are set on entries. There are three ways to trigger this task: In the Directory Server Console Using the fixup-memberof.pl script Running a cn=memberof task,cn=tasks,cn=config tasks entry 6.1.4.5.1. Initializing and Regenerating memberOf Attributes Using fixup-memberof.pl The fixup-memberof.pl script launches a special task to regenerate all of the memberOf attributes on user entries based on the defined member attributes in the group entries. This is a clean-up task which synchronizes the membership defined in group entries and the corresponding user entries and overwrites any accidental or improper edits on the user entries. Open the tool directory for the Directory Server instance, /usr/lib/dirsrv/slapd-instance_name/. Run the script, binding as the Directory Manager. ./fixup-memberof.pl -D "cn=Directory Manager" -w password The fixup-memberof.pl command is described in more detail in the Configuration and Command-Line Tool Reference. If it is not working for you, then please describe the steps you took.
|
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users