diff options
author | Timothy Pearson <[email protected]> | 2012-06-06 13:56:08 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-06 13:56:08 -0500 |
commit | be70ba63c22a2c85bb86b9500252da570c97bd9f (patch) | |
tree | 4e2266bb7c6d54362f35dff813dbb2cf7ab603bc /src/ldapcontroller.cpp | |
parent | 75044dd48af51f848e49f6705ec6e9423571dd8c (diff) | |
download | kcmldapcontroller-be70ba63c22a2c85bb86b9500252da570c97bd9f.tar.gz kcmldapcontroller-be70ba63c22a2c85bb86b9500252da570c97bd9f.zip |
Use ldapi during setup
Diffstat (limited to 'src/ldapcontroller.cpp')
-rw-r--r-- | src/ldapcontroller.cpp | 2 |
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; |