Am 09.05.23 um 15:33 schrieb Ondřej Kuzník:
On Sat, May 06, 2023 at 05:07:31PM +0200, Stefan Kania wrote:
- ldif
dn: name={1}verw-tel,olcOverlay={2}variant,olcDatabase={2}mdb,cn=config objectClass: olcVariantRegex olcVariantEntryRegex: cn=(.+),ou=users,ou=verwaltung,ou=firma,dc=example,dc=net
dn: olcVariantVariantAttribute=telephonNumber,name={1}verw-tel,olcOverlay={2}variant,olcDatabase={2}mdb,cn=config objectClass: olcVariantAttributePattern olcVariantVariantAttribute: telephoneNumber olcVariantAlternativeAttribute: telephoneNumber olcVariantAlternativeEntryPattern: ou=Verwaltung,ou=firma,dc=example,dc=net
ldapadd is not crashing slapd anymore, but I got this message:
adding new entry "olcVariantVariantAttribute=telephonNumber,name={1}verw-tel,olcOverlay={2}variant,olcDatabase={2}mdb,cn=config" ldap_add: Naming violation (64) additional info: value of single-valued naming attribute 'olcVariantVariantAttribute' conflicts with value present in entry
So still not working.
Both olcVariantVariantAttribute uses different attributes.
so what is wrong?
Note the typo "olcVariantVariantAttribute=telephonNumber" vs. "olcVariantVariantAttribute: telephon*e*Number".
sh.. I read it several times but I didn't see the typo :-) I will try it as soon as I'm back from SambaXP. Next listen to "From an OpenLDAP back-end for Samba to a Samba back-end for OpenLDAP" ;-)
Stefan
Regards,