Jittinan Suwanrueangsri <[email protected]> writes: > Hi All > > I try configure slapd.conf to support proxy authorization but I can not add > authzTo attribute to an entry > > [r...@masterldap ~]# ldapmodify -x -w secret -D "cn=admin,dc=demo,dc=net" > dn: uid=matt,ou=Users,dc=demo,dc=net > changetype: add > authzTo: dn.regex=^uid=[^,]*,ou=Users,dc=demo,dc=net$
this is just wrong, see man ldapmodify(1), it should be changetype: modify add: authzTo authzTo: dn.regex..... [...] > I didn't see an authzTo attribute in any openldap schema .How can I fix an > error? it is hard coded in servers/slapd/schema_prep.c -Dieter -- Dieter Klünter | Systemberatung http://dkluenter.de GPG Key ID:8EF7B6C6 53°37'09,95"N 10°08'02,42"E
