summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ldapcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp
index a23e5cf..9dbdce9 100644
--- a/src/ldapcontroller.cpp
+++ b/src/ldapcontroller.cpp
@@ -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;