From cee4b2cc1e66cebca59667b4d7de51b2abb45b7e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 12 Aug 2008 16:10:11 -0400 Subject: Fix usage of mozldap libraries, thanks to W. Michael Petullo for finding the problem. --- ipa-server/ipa-kpasswd/ipa_kpasswd.c | 2 +- ipa-server/ipa-server.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipa-server/ipa-kpasswd/ipa_kpasswd.c b/ipa-server/ipa-kpasswd/ipa_kpasswd.c index 43ca223d..f2d3490f 100644 --- a/ipa-server/ipa-kpasswd/ipa_kpasswd.c +++ b/ipa-server/ipa-kpasswd/ipa_kpasswd.c @@ -482,7 +482,7 @@ int ldap_pwd_change(char *client_name, char *realm_name, krb5_data pwd, char **e goto done; } - ber_printf(ctrl, "{tstON}", + ber_printf(ctrl, "{tstO}", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, userdn, LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, &newpw); diff --git a/ipa-server/ipa-server.spec.in b/ipa-server/ipa-server.spec.in index 4a784052..f8de8aa3 100644 --- a/ipa-server/ipa-server.spec.in +++ b/ipa-server/ipa-server.spec.in @@ -54,7 +54,7 @@ IPA is a server for identity, policy, and audit. %prep %setup -q -./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc --localstatedir=%{buildroot}/var --mandir=%{buildroot}/usr/share/man --with-openldap=yes +./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc --localstatedir=%{buildroot}/var --mandir=%{buildroot}/usr/share/man %build -- cgit