mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 21:04:45 -05:00
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin
This commit is contained in:
parent
313d3633e3
commit
30d946959e
1 changed files with 3 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue