|
|
|
@ -23,6 +23,7 @@
|
|
|
|
|
#include <netdb.h>
|
|
|
|
|
#include <pwd.h>
|
|
|
|
|
|
|
|
|
|
#include <tquuid.h>
|
|
|
|
|
#include <tqlayout.h>
|
|
|
|
|
#include <tqtabwidget.h>
|
|
|
|
|
|
|
|
|
@ -998,6 +999,11 @@ void replacePlaceholdersInFile(TQString infile, TQString outfile, LDAPRealmConfi
|
|
|
|
|
timestamp.replace("-", "");
|
|
|
|
|
timestamp.replace(":", "");
|
|
|
|
|
timestamp.replace("T", "");
|
|
|
|
|
TQString uuid;
|
|
|
|
|
TQUuid randomUUID = TQUuid::createUuid();
|
|
|
|
|
uuid = randomUUID.toString();
|
|
|
|
|
uuid.replace("{", "");
|
|
|
|
|
uuid.replace("}", "");
|
|
|
|
|
|
|
|
|
|
TQString kdc_certfile = KERBEROS_PKI_KDC_FILE;
|
|
|
|
|
TQString kdc_keyfile = KERBEROS_PKI_KDCKEY_FILE;
|
|
|
|
@ -1038,6 +1044,7 @@ void replacePlaceholdersInFile(TQString infile, TQString outfile, LDAPRealmConfi
|
|
|
|
|
line.replace("@@@REALM_SIMPLE_CP_NAME@@@", simpledcnamecap);
|
|
|
|
|
line.replace("@@@REALM_SIMPLE_LC_NAME@@@", simpledcname.lower());
|
|
|
|
|
line.replace("@@@TIMESTAMP@@@", timestamp);
|
|
|
|
|
line.replace("@@@ENTRYUUID@@@", uuid);
|
|
|
|
|
line.replace("@@@LDAP_KEYTAB_FILE@@@", LDAP_KEYTAB_FILE);
|
|
|
|
|
line.replace("@@@LDAP_USER_NAME@@@", ldapusername);
|
|
|
|
|
line.replace("@@@LDAP_GROUP_NAME@@@", ldapgroupname);
|
|
|
|
|