Skip to content
Snippets Groups Projects
Commit 30d94695 authored by Luke Howard's avatar Luke Howard
Browse files

Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin

parent 313d3633
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment