summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-kpasswd
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 /ipa-server/ipa-kpasswd
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.
Diffstat (limited to 'ipa-server/ipa-kpasswd')
-rw-r--r--ipa-server/ipa-kpasswd/ipa_kpasswd.c2
1 files changed, 1 insertions, 1 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);