OK, an update: got it to work eventually by adding the –b <baseDn> flag. I read somewhere after my initial email that it was required. However, I also found some info by Googling that said that I had to add
the objetclass inetUser to each user that I wanted to have the memberOf attribute. I added this to one account to test, then re-ran the fixup-memberof.pl script and it added the groups that user was in into that account, so that worked great. We have about 800 users, and not all are group members (some accounts are strictly for authentication and have no posix attributes), so is there a way that I can script something to add inetUser to each account
where they have group memberships? Each user that has this need has the posixAccount objectclass, so perhaps that could be something to key on? Thanks for any help! Harry From: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx]
On Behalf Of Devine, Harry (FAA) I enabled the memberOf plugin but when I try to run the fixup-memberof.pl script, I get the usage prompt back. I ran it as the link you provided says: ./fixup-memberof.pl –D “cn=Directory Manager” –w <password> Do I need to put in the –b baseDn parameter? Also, I tried to follow the link in the RedHat document you sent that refers to the command line tools syntax (section 6.1.4.5.1) but that link is broken. Thanks! Harry From:
389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx]
On Behalf Of Mark Reynolds On 04/06/2015 10:28 AM,
harry.devine@xxxxxxx wrote:
Just use ldapsearch with a proper filter: Thanks for any help! Harry Harry Devine DOT/FAA/AJM-2413 Common ARTS Software Development (609)485-4218
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users |
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users