summaryrefslogtreecommitdiffstats
path: root/src/libtdeldap.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-08-25 11:13:14 -0500
committerTimothy Pearson <[email protected]>2015-08-25 11:13:14 -0500
commitd6f004658dac16c19a6e4a6109b93b5b52adddc0 (patch)
treea37dc7f4df2a2460ddc93863a763eb91ad295a13 /src/libtdeldap.h
parentf4afc1290d29af023cef891b361cb34e11d229d8 (diff)
downloadlibtdeldap-d6f004658dac16c19a6e4a6109b93b5b52adddc0.tar.gz
libtdeldap-d6f004658dac16c19a6e4a6109b93b5b52adddc0.zip
Allow certificate expiry to be set
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r--src/libtdeldap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h
index a1573c7..09db75d 100644
--- a/src/libtdeldap.h
+++ b/src/libtdeldap.h
@@ -65,6 +65,10 @@
// 1 year
#define KERBEROS_PKI_PEMKEY_EXPIRY_DAYS 365
+// 1 month
+#define KERBEROS_PKI_KRB_EXPIRY_DAYS 30
+#define KERBEROS_PKI_LDAP_EXPIRY_DAYS 30
+
// Values from hdb.asn1
enum LDAPKRB5Flags {
KRB5_INITIAL = 0x00000001,
@@ -190,6 +194,10 @@ class LDAPCertConfig
TQString provided_ldap_crt;
TQString provided_ldap_key;
+ int caExpiryDays;
+ int kerberosExpiryDays;
+ int ldapExpiryDays;
+
TQString countryName;
TQString stateOrProvinceName;
TQString localityName;