-
- lerr = meta_back_do_single_bind( op, li, lc, dn, ndn, cred,
- method, i );
+ if ( isroot && li->targets[ i ]->pseudorootdn != NULL ) {
+ realdn = li->targets[ i ]->pseudorootdn;
+ realndn = li->targets[ i ]->pseudorootdn;
+ realcred = li->targets[ i ]->pseudorootpw;
+ realmethod = LDAP_AUTH_SIMPLE;
+ }
+
+ lerr = meta_back_do_single_bind( li, lc,
+ realdn, realndn, realcred, realmethod, i );