return EXIT_FAILURE;
}
+ ber_printf( ber, "{" /*}*/ );
+
if( dn != NULL ) {
ber_printf( ber, "ts",
LDAP_TAG_EXOP_X_MODIFY_PASSWD_ID, dn );
free(newpw);
}
+ ber_printf( ber, /*{*/ "}" );
+
rc = ber_flatten( ber, &bv );
if( rc < 0 ) {
}
/* we should check the tag */
- tag = ber_scanf( ber, "a", &s);
+ tag = ber_scanf( ber, "{a}", &s);
if( tag == LBER_ERROR ) {
perror( "ber_scanf" );