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

Re: undefined attribute


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

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


--  Andreas Gabriel
@AG Neurophysik ,Renthof 7, 35032 Marburg TEL/FAX +49 +6421 28-25683/27034
@HRZ, Hans-Meerwein-Str.  , 35032 Marburg TEL/FAX +49 +6421 28-23560/26994
------------------ Philipps-Universitaet Marburg -------------------------