diff options
Diffstat (limited to 'src/ldapcontroller.cpp')
-rw-r--r-- | src/ldapcontroller.cpp | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp index ad2e313..b48633d 100644 --- a/src/ldapcontroller.cpp +++ b/src/ldapcontroller.cpp @@ -60,21 +60,37 @@ #include "ldapcontrollerconfigbase.h" -// FIXME -// Connect this to CMake/Automake +#ifndef KDE_CONFDIR #define KDE_CONFDIR "/etc/trinity" +#endif + +#ifndef TDE_LIBDIR #define TDE_LIBDIR "/opt/trinity/lib" +#endif + +#ifndef LDAP_KEYTAB_FILE #define LDAP_KEYTAB_FILE "/etc/ldap/ldap.keytab" +#endif -// FIXME -// This assumes Debian! -// RedHat would be "/etc/sysconfig/ldap" +#ifndef LDAP_DEFAULT_FILE #define LDAP_DEFAULT_FILE "/etc/default/slapd" +#endif + +#ifndef HEIMDAL_DEFAULT_FILE #define HEIMDAL_DEFAULT_FILE "/etc/default/heimdal-kdc" +#endif + +#ifndef SASL_DEFAULT_FILE #define SASL_DEFAULT_FILE "/etc/default/saslauthd" +#endif + +#ifndef SASL_CONTROL_FILE #define SASL_CONTROL_FILE "/etc/ldap/sasl2/slapd.conf" +#endif +#ifndef HEIMDAL_ACL_FILE #define HEIMDAL_ACL_FILE "/etc/heimdal-kdc/kadmind.acl" +#endif #define KEY_STRENGTH 2048 @@ -2101,3 +2117,5 @@ TQString LDAPController::quickHelp() const { return i18n("This module configures an LDAP Realm Controller."); } + +#include "ldapcontroller.moc" |