diff options
Diffstat (limited to 'src/libtdeldap.cpp')
-rw-r--r-- | src/libtdeldap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index bc6890b..0549759 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -51,6 +51,8 @@ #include <sys/un.h> extern "C" { + #include <krb5.h> + #include <krb5_asn1.h> #include <hdb.h> #include <hdb_asn1.h> #include <kadm5/admin.h> @@ -1089,6 +1091,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) { } TQByteArray acl_asn1_data; if (pkinit_acl_subject != "") { +#if HDB_INTERFACE_VERSION > 4 krb5_error_code krb5_ret; HDB_extension extended_attributes; memset(&extended_attributes, 0, sizeof(extended_attributes)); @@ -1110,6 +1113,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) { } free(pkinit_acl->val); free(asn1_encoding_buf); +#endif } // Assemble the LDAPMod structure |