summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libtdeldap.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 868b423..93d79a1 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -4592,8 +4592,7 @@ int LDAPManager::generateClientCertificatePrivateKey(TQString privateKeyFile, in
return -1;
}
if (chown(client_keyfile.ascii(), 0, 0) < 0) {
- if (errstr) *errstr = TQString("Unable to change owner of \"%1\"").arg(client_keyfile);
- return -1;
+ printf("[WARNING] Unable to change owner of \"%s\"", client_keyfile.ascii());
}
// Clean up
@@ -4653,8 +4652,7 @@ int LDAPManager::generateClientCertificatePublicCertificate(int expirydays, LDAP
return -1;
}
if (chown(client_certfile.ascii(), 0, 0) < 0) {
- if (errstr) *errstr = TQString("Unable to change owner of \"%1\"").arg(client_certfile);
- return -1;
+ printf("[WARNING] Unable to change owner of \"%s\"", client_certfile.ascii());
}
// Clean up