Sorry,
It must be something else:
modifying entry "olcDatabase={-1}frontend,cn=config"
ldap_modify: Object class violation (65)
additional info: attribute 'olcPasswordHash' not allowed
Kind regards,
Ulrich Windl
> -----Original Message-----
> From: Stefan Kania <[email protected]>
> Sent: Tuesday, March 4, 2025 9:37 AM
> To: [email protected]
> Subject: [EXT] Re: Trying to set 'olcPasswordHash' I get "ldap_modify: Object
> class violation (65) additional info: attribute 'olcPasswordHash' not allowed"
>
> The ldif must look like this:
> ------------
> dn: olcDatabase={-1}frontend,cn=config
> changetype: modify
> add: olcPasswordHash
> olcPasswordHash: {SSHA256}
> -
> add: olcPasswordHash
> olcPasswordHash: {SSHA}
> ------------
> You cant't add it in one step
>
> Am 04.03.25 um 08:48 schrieb Windl, Ulrich:
> > dn: olcDatabase={-1}frontend,cn=config
> >
> > changetype: modify
> >
> > add: olcPasswordHash
> >
> > olcPasswordHash: {SSHA256}
> >
> > olcPasswordHash: {SSHA}
> >
>
>
>