[389-users] Replication Manager DN wrong
Following the directions for setting up a supplier dn for replication I created a file with the following: [root@ldap01 slapd-ldap01]# cat /root/supplier.ldif dn: cn=replication manager,cn=config objectClass: inetorgperson objectClass: person objectClass: top cn: replication manager sn: RM userPassword: X passwordExpirationTime: 20380119031407Z nsIdleTimeout: 0 And then I did cat /root/supplier.ldif /etc/dirsrv/slapd-ldap01/dse.ldif and then restarted dirsrv. When I do that I see the following. Shutting down dirsrv: ldap01... [ OK ] Starting dirsrv: ldap01...[22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class inetorgperson (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class person (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class top (remove the trailing space) [ OK ] How do I delete the entry or fix the entry? I tried to use ldapdelete to delete it but no luck. ldapdelete -p 389 -h ldap01.us2.example.com -w X -D -D cn=directory manager cn=replication manager,cn=config Thanks, Louis-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Re: [389-users] Replication Manager DN wrong
On Thu, Aug 22, 2013 at 10:49 AM, Louis Bohm louisb...@gmail.com wrote: Following the directions for setting up a supplier dn for replication I created a file with the following: [root@ldap01 slapd-ldap01]# cat /root/supplier.ldif dn: cn=replication manager,cn=config objectClass: inetorgperson objectClass: person objectClass: top cn: replication manager sn: RM userPassword: X passwordExpirationTime: 20380119031407Z nsIdleTimeout: 0 And then I did cat /root/supplier.ldif /etc/dirsrv/slapd-ldap01/dse.ldif and then restarted dirsrv. When I do that I see the following. Shutting down dirsrv: ldap01... [ OK ] Starting dirsrv: ldap01...[22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class inetorgperson (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class person (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class top (remove the trailing space) [ OK ] How do I delete the entry or fix the entry? I tried to use ldapdelete to delete it but no luck. ldapdelete -p 389 -h ldap01.us2.example.com -w X -D -D cn=directory manager cn=replication manager,cn=config Thanks, Louis -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users by chance did you edit the entry to not include the spaces after the object classes? has unknown object class top * (remove the trailing space)* edit (make backup first) the /etc/dirsrv/slapd-instancename/dse.ldif and see if the spaces are there. -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Re: [389-users] Replication Manager DN wrong
The file did have the spaces. Took me a bit but I figured out a ldapmodify command that was able to fix it by removing the spaces…. Louis On Aug 22, 2013, at 12:32 PM, Justin Edmands shockwav...@gmail.com wrote: On Thu, Aug 22, 2013 at 10:49 AM, Louis Bohm louisb...@gmail.com wrote: Following the directions for setting up a supplier dn for replication I created a file with the following: [root@ldap01 slapd-ldap01]# cat /root/supplier.ldif dn: cn=replication manager,cn=config objectClass: inetorgperson objectClass: person objectClass: top cn: replication manager sn: RM userPassword: X passwordExpirationTime: 20380119031407Z nsIdleTimeout: 0 And then I did cat /root/supplier.ldif /etc/dirsrv/slapd-ldap01/dse.ldif and then restarted dirsrv. When I do that I see the following. Shutting down dirsrv: ldap01... [ OK ] Starting dirsrv: ldap01...[22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class inetorgperson (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class person (remove the trailing space) [22/Aug/2013:10:22:04 -0400] - Entry cn=replication manager,cn=config has unknown object class top (remove the trailing space) [ OK ] How do I delete the entry or fix the entry? I tried to use ldapdelete to delete it but no luck. ldapdelete -p 389 -h ldap01.us2.example.com -w X -D -D cn=directory manager cn=replication manager,cn=config Thanks, Louis -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users by chance did you edit the entry to not include the spaces after the object classes? has unknown object class top (remove the trailing space) edit (make backup first) the /etc/dirsrv/slapd-instancename/dse.ldif and see if the spaces are there. -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users