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

Configuration (ITS#730)



Full_Name: Jajati K. Samal
Version: 2.0.1
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.166.29.138)


I have down loaded OpenLdap-2.0.1 and installed according to the given INSTALL
file.
Now the server is running and I'm able to add some perticular nodes. I mean
according to 
my schema, I added the DN's like 
c=US
o=< myOrg>, c=US
ou= <myOU>, o= <myOrg>, c=US
Then I want to add a node "domainname = < myDomainName>, ou= <myOU>, o= <myOrg>,
c=US
 below ou= <myOU>, o= <myOrg>, c=US. Containt of the node are
objectclass : top
objectclass: domain
domainname: <myDomainName>

domainname is an attribute in my slapd.at.conf and domain is an objectclass in
slapd.oc.conf.
the objectclass domain looks as following

objectClass domain
requires
	objectclass,
	domainname
allows


No while using ldapadd -D "<Bind DN>" -h <host name> -p <port number> -w
<password>
 -f < ldif file name> I'm getting an error saying the
ldap_add: Undefined attribute type
	additional info: attribute type undefined

ldif_record() = 17

my ldif file is
dn: domainname = < myDomainName>, ou= <myOU>, o= <myOrg>, c=US
objectclass: top
objectclass: domain
domainname : <myDomainName>
Could u plz publish the solution to this....
Do I have to do some extra work or configuration ???
Jajati K. Samal
jajati_k@yahoo.com