mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
Fix callback initializer.
This commit is contained in:
parent
66f6ba4df9
commit
3d89f398a9
1 changed files with 2 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ int slap_sasl_match( char *rule, struct berval *assertDN, struct berval *authc )
|
|||
Filter *filter=NULL;
|
||||
regex_t reg;
|
||||
smatch_info sm;
|
||||
slap_callback cb = {sasl_sc_r, sasl_sc_s, sasl_sc_smatch, &sm};
|
||||
slap_callback cb = { sasl_sc_r, sasl_sc_s, sasl_sc_smatch, NULL };
|
||||
Operation op = {0};
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
|
|
@ -539,6 +539,7 @@ int slap_sasl_match( char *rule, struct berval *assertDN, struct berval *authc )
|
|||
|
||||
sm.dn = assertDN;
|
||||
sm.match = 0;
|
||||
cb.sc_private = &sm;
|
||||
|
||||
ldap_pvt_thread_mutex_init( &op.o_abandonmutex );
|
||||
op.o_tag = LDAP_REQ_SEARCH;
|
||||
|
|
|
|||
Loading…
Reference in a new issue