ITS#9309 don't allow ppolicy to be configured more than once on a backend

This commit is contained in:
Howard Chu 2020-08-10 16:07:39 +01:00
parent 85399807b4
commit c8c39b8468

View File

@ -3281,6 +3281,7 @@ int ppolicy_initialize()
ldap_pvt_thread_mutex_init( &chk_syntax_mutex );
ppolicy.on_bi.bi_type = "ppolicy";
ppolicy.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
ppolicy.on_bi.bi_db_init = ppolicy_db_init;
ppolicy.on_bi.bi_db_open = ppolicy_db_open;
ppolicy.on_bi.bi_db_close = ppolicy_db_close;