diff options
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r-- | src/libtdeldap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h index 1e7fb23..35d3c27 100644 --- a/src/libtdeldap.h +++ b/src/libtdeldap.h @@ -31,6 +31,10 @@ #include <ksimpleconfig.h> +// FIXME +// Connect this to CMake/Automake +#define TDE_BINDIR "/opt/trinity/bin" + #define TDE_CERTIFICATE_DIR "/etc/trinity/ldap/tde-ca/" #define KERBEROS_PKI_ANCHORDIR "/etc/trinity/ldap/tde-ca/anchors/" #define KERBEROS_PKI_PRIVATEDIR "/etc/trinity/ldap/tde-ca/private/" @@ -50,6 +54,9 @@ #define DEFAULT_IGNORED_USERS_LIST "avahi,avahi-autoipd,backup,bin,colord,daemon,games,gnats,haldaemon,hplip,irc,klog,landscape,libuuid,list,lp,mail,man,messagebus,news,ntp,polkituser,postfix,proxy,pulse,root,rtkit,saned,sshd,statd,sync,sys,syslog,timidity,usbmux,uucp,www-data" +#define CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_FILE "/etc/cron.daily/tde-upd-pri-rlm-certs" +#define CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_COMMAND TDE_BINDIR "/primaryrccertupdater" + // Values from hdb.asn1 enum LDAPKRB5Flags { KRB5_INITIAL = 0x00000001, @@ -369,6 +376,7 @@ class LDAPManager : public TQObject { int setPasswordForUser(LDAPUserInfo user, TQString *errstr); static void writeCronFiles(); + static void writePrimaryRealmCertificateUpdateCronFile(); static TQString getMachineFQDN(); static void writeLDAPConfFile(LDAPRealmConfig realmcfg); static void writeTDERealmList(LDAPRealmConfigList realms, KSimpleConfig* config); |