1. Create a file admin2.ldif
dn: cn=EMEN2 Admin,cn=Root DNs,cn=config cn: EMEN2 Admin sn: Admin givenName: EMEN2 objectClass: inetOrgPerson objectClass: person objectClass: top objectClass: ds-cfg-root-dn-user objectClass: organizationalPerson userPassword: juSugU4w ds-cfg-alternate-bind-dn: cn=EMEN2 Admin2. run the following command:
/path to opendj/bin/ldapmodify -h localhost -p 1389 -D "cn=Directory Manager" -w password_for_Directory Manager -a -f "admin2.ldif"
No comments:
Post a Comment