diff options
author | Timothy Pearson <[email protected]> | 2012-06-04 18:47:39 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-04 18:47:39 -0500 |
commit | 24377abde30bc11ba41ce7b206d25f01d79a72e1 (patch) | |
tree | ccfd1f562820b37902d8026464efccabe4a21e9e /src/ldapcontroller.cpp | |
parent | ded257d2225a74343c32b3303ec3778da216b688 (diff) | |
download | kcmldapcontroller-24377abde30bc11ba41ce7b206d25f01d79a72e1.tar.gz kcmldapcontroller-24377abde30bc11ba41ce7b206d25f01d79a72e1.zip |
Fix incorrect schema files
Diffstat (limited to 'src/ldapcontroller.cpp')
-rw-r--r-- | src/ldapcontroller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp index 03cd5a4..a345db3 100644 --- a/src/ldapcontroller.cpp +++ b/src/ldapcontroller.cpp @@ -848,6 +848,8 @@ configTempDir.setAutoDelete(false); // RAJA DEBUG ONLY FIXME replacePlaceholdersInFile(templateDir + "openldap/ldif/hdb.ldif", destDir + "ldap/slapd.d/cn=config/cn=schema/" + TQString("cn={%1}hdb.ldif").arg(ldifSchemaNumber), realmconfig, adminUserName, adminGroupName, machineAdminGroupName, adminPassword, rootUserName, rootPassword, ldifSchemaNumber, slapd_uid, slapd_gid); ldifSchemaNumber = 8; replacePlaceholdersInFile(templateDir + "openldap/ldif/tde-core.ldif", destDir + "ldap/slapd.d/cn=config/cn=schema/" + TQString("cn={%1}tde-core.ldif").arg(ldifSchemaNumber), realmconfig, adminUserName, adminGroupName, machineAdminGroupName, adminPassword, rootUserName, rootPassword, ldifSchemaNumber, slapd_uid, slapd_gid); +// ldifSchemaNumber = 9; +// replacePlaceholdersInFile(templateDir + "openldap/ldif/samba.ldif", destDir + "ldap/slapd.d/cn=config/cn=schema/" + TQString("cn={%1}samba.ldif").arg(ldifSchemaNumber), realmconfig, adminUserName, adminGroupName, machineAdminGroupName, adminPassword, rootUserName, rootPassword, ldifSchemaNumber, slapd_uid, slapd_gid); // Set permissions chmod(TQString(HEIMDAL_DEFAULT_FILE).ascii(), S_IRUSR|S_IWUSR|S_IRGRP); |