mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
ipa-pwd-extop: declare operation notes support from 389-ds locally
The function slapi_pblock_set_flag_operation_notes(); is defined in ldap/servers/slapd/pblock.c in 389-ds but is only available through slapi-private.h header, not through slapi-plugin.h public API. It was introduced in ~1.4.1.7 (~2019) via https://pagure.io/389-ds-base/issue/50349. Since we only use it with an MFA note, all versions of the 389-ds that will support MFA note will have this function. Fixes: https://pagure.io/freeipa/issue/9554 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
23b224d7ad
commit
e431ce0ce7
@ -1414,6 +1414,11 @@ done:
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_OP_NOTE_MFA_AUTH
|
||||
/* defined in ldap/servers/slapd/pblock.c in 389-ds but not exposed via slapi-plugin.h */
|
||||
extern void slapi_pblock_set_flag_operation_notes(Slapi_PBlock *pb, uint32_t opflag);
|
||||
#endif
|
||||
|
||||
/* PRE BIND Operation
|
||||
*
|
||||
* Used for:
|
||||
|
Loading…
Reference in New Issue
Block a user