summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-08-12 16:10:11 -0400
committerSimo Sorce <ssorce@redhat.com>2008-08-13 15:57:43 -0400
commitcee4b2cc1e66cebca59667b4d7de51b2abb45b7e (patch)
treede3f6ef1d4b09b4adfde30561b3924d9e26fc6b5
parent44689b93c905848f2e240734d8c47927f11f82b2 (diff)
downloadfreeipa-cee4b2cc1e66cebca59667b4d7de51b2abb45b7e.tar.gz
freeipa-cee4b2cc1e66cebca59667b4d7de51b2abb45b7e.tar.xz
freeipa-cee4b2cc1e66cebca59667b4d7de51b2abb45b7e.zip
Fix usage of mozldap libraries,
thanks to W. Michael Petullo <mike@flyn.org> for finding the problem.
-rw-r--r--ipa-server/ipa-kpasswd/ipa_kpasswd.c2
-rw-r--r--ipa-server/ipa-server.spec.in2
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 43ca223d5..f2d3490f9 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 4a7840529..f8de8aa35 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