From: Howard Chu Date: Sun, 16 Feb 2003 08:37:19 +0000 (+0000) Subject: Fix ber_printf arguments X-Git-Tag: NO_SLAP_OP_BLOCKS~350 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4db079ac712af317d7c3cc048c86c92e88e72e9;p=openldap Fix ber_printf arguments --- diff --git a/libraries/libldap/passwd.c b/libraries/libldap/passwd.c index e8ef6fbf27..d96fdb6350 100644 --- a/libraries/libldap/passwd.c +++ b/libraries/libldap/passwd.c @@ -90,17 +90,17 @@ ldap_passwd( LDAP *ld, ber_printf( ber, "{" /*}*/ ); if( user != NULL ) { - ber_printf( ber, "ts", + ber_printf( ber, "tO", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, user ); } if( oldpw != NULL ) { - ber_printf( ber, "ts", + ber_printf( ber, "tO", LDAP_TAG_EXOP_MODIFY_PASSWD_OLD, oldpw ); } if( newpw != NULL ) { - ber_printf( ber, "ts", + ber_printf( ber, "tO", LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, newpw ); }