mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
actually, get_perms is needed by ldapi:// rgeardless of -DSLAP_X_LISTENER_MOD
This commit is contained in:
parent
acea7499e7
commit
8558b8808e
1 changed files with 3 additions and 6 deletions
|
|
@ -672,16 +672,13 @@ static int slap_open_listener(
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef LDAP_PF_LOCAL
|
||||
#ifdef SLAP_X_LISTENER_MOD
|
||||
#if defined(LDAP_PF_LOCAL) || defined(SLAP_X_LISTENER_MOD)
|
||||
if ( lud->lud_exts ) {
|
||||
err = get_url_perms( lud->lud_exts, &l.sl_perms, &crit );
|
||||
} else
|
||||
#endif /* SLAP_X_LISTENER_MOD */
|
||||
{
|
||||
} else {
|
||||
l.sl_perms = S_IRWXU;
|
||||
}
|
||||
#endif /* LDAP_PF_LOCAL */
|
||||
#endif /* LDAP_PF_LOCAL || SLAP_X_LISTENER_MOD */
|
||||
|
||||
ldap_free_urldesc( lud );
|
||||
if ( err ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue