summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kpasswd
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-01-14 13:41:05 +0100
committerSimo Sorce <ssorce@redhat.com>2011-01-14 17:33:11 -0500
commitbd965c92d829f9d88f4e29f37890c9beffbd716d (patch)
treea90c0ae3ac8079de2fd8eb1bf2d077e3d0aadadb /daemons/ipa-kpasswd
parent84ff4ca0f1272bff2f3046db53d1ce4007f46e15 (diff)
downloadfreeipa-bd965c92d829f9d88f4e29f37890c9beffbd716d.tar.gz
freeipa-bd965c92d829f9d88f4e29f37890c9beffbd716d.tar.xz
freeipa-bd965c92d829f9d88f4e29f37890c9beffbd716d.zip
Mozldap-specific code removed
Mozldap code removed from all sources and configure source script. Now, IPA will compile even when package mozldap-devel is not installed on the system. https://fedorahosted.org/freeipa/ticket/756
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 */