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

newbie question: populating the ldap database



Title: PortalWave Stationery
I have just intalled and configured OpenLDAP on my Red Hat 7. 
Here is what i did:
1.  tar zxvf openldap-stable-20000704.tgz
2.  ./configure
3.  make depend
4.  make
5.  make test
6.  make install
 
make madification to the slapd.conf the start the ldap server.
 
I created the following test.ldif, then using ldapadd command to add the entry.  This works.
-----------------------------------------------------------------------------------
dn: cn=Thomas Jefferson, dc=people, dc=portalwave, dc=com
objectclass: person
cn: Thomas Jefferson
sn: Jefferson
-----------------------------------------------------------------------------------
 
However, when i added a mail attribute, it fail to add.  (note:  i'm not adding the same entry)
The test.ldif file that DO NOT work:
-----------------------------------------------------------------------------------
dn: cn=Thomas2 Jefferson, dc=people, dc=portalwave, dc=com
objectclass: person
cn: Thomas2 Jefferson
sn: Jefferson
mail: kevyn.nguyen@portalwave.com
-----------------------------------------------------------------------------------
 
I got this error:
 
ldap_add: Undefined attribute type
        additional info: attribute type undefined
 
Does anyone know why it does not work?
 
<><><><><><><><><><><>
Kevyn Nguyen