Use ldapi during setup

pull/1/head
Timothy Pearson 13 years ago
parent 75044dd48a
commit be70ba63c2

@ -1084,7 +1084,7 @@ configTempDir.setAutoDelete(false); // RAJA DEBUG ONLY FIXME
credentials->username = "cn="+rootUserName+","+basedcname;
credentials->password = rootPassword;
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) {
delete ldap_mgr;
delete credentials;

Loading…
Cancel
Save