[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: undefined attribute



On Thu, 6 Nov 2003, Andreas Gabriel (HRZ) wrote:

> Hi,
>
> haven't you a definition of attributetype nisDomain
> in your nis.schema?

No, I don't. BTW I am using OpenLDAP on Solaris 9 if that matters

>
> attributetype ( 1.3.6.1.1.1.1.30 NAME 'nisDomain'
> 	DESC 'NIS domain'
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
>
> And there is also a wrong ldif listing of your entry, because you are using
> only objectclasses of type ABSTRACT and AUXILIARY. You need also
> an ObjectClass of type STRUCTURAL. In addition, the attribute of any RDN
> is always a MUST attribute (implicitly).
>
>  > dn: dc=qwestip,dc=net
>  > objectclass: top
>  > objectclass: nisDomainObject
>  > nisDomain: qwestip.net
>  > adding new entry dc=qwestip,dc=net
>  > ldap_add_s: Undefined attribute type
>
> # The right entry listing is following
>
> dn: dc=qwestip,dc=net
> objectclass: top
> objectclass: domain
> objectclass: nisDomainObject
> dc: qwestip
> nisDomain: qwestip.net
>
> regards
> A. Gabriel
>
> Asif Iqbal wrote:
> > Anyone would know if I should have nisDomain in the first place as an attribute
> > ?
> >
> > Thanks
> >
>
>
>