summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-06 13:56:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-06 13:56:08 -0500
commitbe70ba63c22a2c85bb86b9500252da570c97bd9f (patch)
tree4e2266bb7c6d54362f35dff813dbb2cf7ab603bc /src
parent75044dd48af51f848e49f6705ec6e9423571dd8c (diff)
downloadkcmldapcontroller-be70ba63c22a2c85bb86b9500252da570c97bd9f.tar.gz
kcmldapcontroller-be70ba63c22a2c85bb86b9500252da570c97bd9f.zip
Use ldapi during setup
Diffstat (limited to 'src')
-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;