[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Adding saslAuthzFrom attribute
I still cannot get it to work. I cannot add
saslAuthzTo either to a normal (objectclass=person)
DN. ldapmodify still complains that the attribute type
is not found:
dn: cn=user,ou=organization,dc=example,dc=com
changetype: add
add: saslAuthzTo
saslAuthzTo: cn=Manager,dc=example,dc=com
adding new entry
"cn=user,ou=organization,dc=exaample,dc=com"
ldapmodify: update failed:
cn=user,ou=organization,dc=example,dc=com
ldap_add: Undefined attribute type (17)
additional info: add: attribute type undefined
I checked the mailinglists, admin guide, man page of
slapd.conf, etc, but still could not find any
information.
Please help.
Thanks
Chee Wai
--- Chee Wai Yeung <cheewai_yeung2003@yahoo.com.hk>
wrote:
> Hi,
>
> I did but it didn't work. It was after doing this
> then
> I looked into the source code of openldap 2.1.17 and
> found its definition in the source code.
>
> Thanks
> Chee Wai
>
> --- Vishal Khanna <vishal.khanna@aitpl.co.in> wrote:
> > include all schemas in the slapd.conf file and try
> > Vishal K
> >
> > Chee Wai Yeung wrote:
> > > Hello,
> > >
> > > I am running OpenLDAP 2.1.17. It is not in the
> > schema
> > > files, but I think they are compiled in.
> > > (in slapd/schema_prep.c)
> > >
> > > The Admin guide simply mentioned that a dn needs
> > this
> > > attribute but it didn't say how I can add this
> > > attribute to an entry.
> > >
> > > Thanks
> > > Chee Wai
> > >
> > > --- Vishal Khanna <vishal.khanna@aitpl.co.in>
> > wrote:
> > >
> > >>Are you sure this attribute is present in one of
> > the
> > >>included schemas
> > >>shipped with the system..
> > >>
> > >>
> > >>Chee Wai Yeung wrote:
> > >>
> > >>>Hi,
> > >>>
> > >>>I know what I am trying to do is quite
> dangerous,
> > >>
> > >>but
> > >>
> > >>>since it is being tested only so once I get the
> > >>
> > >>hang
> > >>
> > >>>of it I will do it some other way:
> > >>>Basically I want to allow a user to proxy
> > >>
> > >>authorize as
> > >>
> > >>>cn=Manager of my ldap server. I try to add the
> > >>>following attribute to cn=Manager:
> > >>>
> > >>>dn: cn=Manager,dc=example,dc=com
> > >>>changetype: add
> > >>>add: saslAuthzFrom
> > >>>saslAuthzFrom: uid=user,dc=example,dc=com
> > >>>
> > >>>but running ldapmodify:
> > >>>
> > >>>ldapmodify -D 'cn=Manager,dc=example,dc=com' -x
> > -W
> > >>>ldif
> > >>>
> > >>>gave me:
> > >>>
> > >>>attribute type undefined
> > >>>
> > >>>Please advise what I should do as I don't seem
> to
> > >>
> > >>find
> > >>
> > >>>the correct steps in the openldap docs.
> > >>>
> > >>>Thanks
> > >>>Chee Wai
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com