Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin

This commit is contained in:
Luke Howard 2003-01-21 08:35:48 +00:00
parent 313d3633e3
commit 30d946959e

View file

@ -102,8 +102,8 @@ do_bind(
* }
*
* SaslCredentials ::= SEQUENCE {
* mechanism LDAPString,
* credentials OCTET STRING OPTIONAL
* mechanism LDAPString,
* credentials OCTET STRING OPTIONAL
* }
*/
@ -542,6 +542,7 @@ do_bind(
slapi_x_operation_set_pb( pb, op );
slapi_pblock_set( pb, SLAPI_BIND_TARGET, (void *)dn.bv_val );
slapi_pblock_set( pb, SLAPI_BIND_METHOD, (void *)method );
slapi_pblock_set( pb, SLAPI_BIND_CREDENTIALS, (void *)&cred );
slapi_pblock_set( pb, SLAPI_MANAGEDSAIT, (void *)(1) );
rc = doPluginFNs( be, SLAPI_PLUGIN_PRE_BIND_FN, pb );