|
|
|
@ -3031,10 +3031,11 @@ int LDAPManager::writeClientCronFiles(TQString *errstr) {
|
|
|
|
|
if (file.open(IO_WriteOnly)) {
|
|
|
|
|
TQTextStream stream( &file );
|
|
|
|
|
|
|
|
|
|
stream << "#!/bin/sh" << "\n";
|
|
|
|
|
stream << "\n";
|
|
|
|
|
stream << "# This file was automatically generated by TDE\n";
|
|
|
|
|
stream << "# All changes will be lost!\n";
|
|
|
|
|
stream << "\n";
|
|
|
|
|
stream << "#!/bin/sh" << "\n";
|
|
|
|
|
stream << CRON_UPDATE_NSS_COMMAND << "\n";
|
|
|
|
|
|
|
|
|
|
file.close();
|
|
|
|
@ -3062,10 +3063,11 @@ int LDAPManager::writePrimaryRealmCertificateUpdateCronFile(TQString *errstr) {
|
|
|
|
|
if (file.open(IO_WriteOnly)) {
|
|
|
|
|
TQTextStream stream( &file );
|
|
|
|
|
|
|
|
|
|
stream << "#!/bin/sh" << "\n";
|
|
|
|
|
stream << "\n";
|
|
|
|
|
stream << "# This file was automatically generated by TDE\n";
|
|
|
|
|
stream << "# All changes will be lost!\n";
|
|
|
|
|
stream << "\n";
|
|
|
|
|
stream << "#!/bin/sh" << "\n";
|
|
|
|
|
stream << CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_COMMAND << "\n";
|
|
|
|
|
stream << CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_OPENLDAP_RELOAD_COMMAND << "\n";
|
|
|
|
|
|
|
|
|
|