[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Continuous mode (ldapmodify -c) not working



Ori Bani wrote:
> Am I doing something wrong?  Here is an example:
> 
> $ ldapmodify -c -x -D 'cn=config' -W
> Enter LDAP Password: <password>
> dn: olcDatabase={0}config,cn=config
> changetype: modify
> delete: olcSizeLimit
> -
> modifying entry "olcDatabase={0}config,cn=config"
> ldap_modify: No such attribute (16)
>         additional info: modify/delete: olcSizeLimit: no such attribute

Option -c does not mean that you can override any server-side checking. It
just means that processing the LDIF input is continued.

In your case entry olcDatabase={0}config,cn=config simply does not contain
attribute 'olcSizeLimit' which is what the error message says.

Ciao, Michael.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature