|
|
@ -1084,7 +1084,7 @@ configTempDir.setAutoDelete(false); // RAJA DEBUG ONLY FIXME
|
|
|
|
credentials->username = "cn="+rootUserName+","+basedcname;
|
|
|
|
credentials->username = "cn="+rootUserName+","+basedcname;
|
|
|
|
credentials->password = rootPassword;
|
|
|
|
credentials->password = rootPassword;
|
|
|
|
credentials->realm = realmconfig.name.upper();
|
|
|
|
credentials->realm = realmconfig.name.upper();
|
|
|
|
LDAPManager* ldap_mgr = new LDAPManager(realmconfig.name.upper(), realmconfig.admin_server, credentials);
|
|
|
|
LDAPManager* ldap_mgr = new LDAPManager(realmconfig.name.upper(), "ldapi://", credentials);
|
|
|
|
if (ldap_mgr->moveKerberosEntries("o=kerberos,cn=kerberos control,ou=master services,ou=core,ou=realm," + basedcname, &errorstring) != 0) {
|
|
|
|
if (ldap_mgr->moveKerberosEntries("o=kerberos,cn=kerberos control,ou=master services,ou=core,ou=realm," + basedcname, &errorstring) != 0) {
|
|
|
|
delete ldap_mgr;
|
|
|
|
delete ldap_mgr;
|
|
|
|
delete credentials;
|
|
|
|
delete credentials;
|
|
|
|