summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kpasswd
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/ipa-kpasswd')
-rw-r--r--daemons/ipa-kpasswd/ipa_kpasswd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/daemons/ipa-kpasswd/ipa_kpasswd.c b/daemons/ipa-kpasswd/ipa_kpasswd.c
index a8bd80023..acec3db12 100644
--- a/daemons/ipa-kpasswd/ipa_kpasswd.c
+++ b/daemons/ipa-kpasswd/ipa_kpasswd.c
@@ -39,11 +39,7 @@
#include <arpa/inet.h>
#include <time.h>
#include <krb5.h>
-#ifdef WITH_MOZLDAP
-#include <mozldap/ldap.h>
-#else
#include <ldap.h>
-#endif
#include <sasl/sasl.h>
#include <ifaddrs.h>
@@ -51,12 +47,6 @@
#define TMP_TEMPLATE "/var/cache/ipa/kpasswd/krb5_cc.XXXXXX"
#define KPASSWD_PORT 464
-#ifdef WITH_MOZLDAP
-/* From OpenLDAP's ldap.h */
-#define LDAP_TAG_EXOP_MODIFY_PASSWD_ID ((ber_tag_t) 0x80U)
-#define LDAP_TAG_EXOP_MODIFY_PASSWD_NEW ((ber_tag_t) 0x82U)
-#endif
-
/* blacklist entries are released only BLCAKLIST_TIMEOUT seconds
* after the children performing the noperation has finished.
* this is to avoid races */