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

Re: undefined attribute

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


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 ( NAME 'nisDomain'
	DESC 'NIS domain'

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

A. Gabriel

Asif Iqbal wrote:

Anyone would know if I should have nisDomain in the first place as an attribute


Have a look at ...


Dave Lewney
Principal Systems Programmer, IT Services
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273 271956