Re: Proxy Authorization

"Dieter Kluenter" <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
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
>
> [root@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.