mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 12:39:35 -05:00
ITS#8616 don't check for existing value when deleting values
This commit is contained in:
parent
dc4a6f7e90
commit
9069cbe543
1 changed files with 3 additions and 12 deletions
|
|
@ -3039,22 +3039,13 @@ sp_cf_gen(ConfigArgs *c)
|
|||
si->si_chktime = 0;
|
||||
break;
|
||||
case SP_SESSL:
|
||||
if ( si->si_logs )
|
||||
si->si_logs->sl_size = 0;
|
||||
else
|
||||
rc = LDAP_NO_SUCH_ATTRIBUTE;
|
||||
si->si_logs->sl_size = 0;
|
||||
break;
|
||||
case SP_NOPRES:
|
||||
if ( si->si_nopres )
|
||||
si->si_nopres = 0;
|
||||
else
|
||||
rc = LDAP_NO_SUCH_ATTRIBUTE;
|
||||
si->si_nopres = 0;
|
||||
break;
|
||||
case SP_USEHINT:
|
||||
if ( si->si_usehint )
|
||||
si->si_usehint = 0;
|
||||
else
|
||||
rc = LDAP_NO_SUCH_ATTRIBUTE;
|
||||
si->si_usehint = 0;
|
||||
break;
|
||||
}
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue