Hi!, I am starting at the LDAP world, and now I am
trying to insert data , I found an example at:
where the records to insert looks like
:
dn: o=linuxfocus.org o: linuxfocus.org objectclass: top objectclass: organization dn: ou=editors, o=linuxfocus.org ou: editors objectclass: organizationalUnit dn: uid=aghaffar, ou=editors, o=linuxfocus.org uid: aghafar cn: Atif Ghaffar sn: Ghaffar givenname: Atif objectclass: person userpassword: {CRYPT}yIvSBWSuLs2N2 mailacceptinggeneralid: aghaffar@linuxfocus.org ou: editors dn: uid=mkempe, ou=editors, o=linuxfocus.org uid: mkempe cn: Magnus Kempe sn: Kempe givenname: Magnus objectclass: person userpassword: clearpass mailacceptinggeneralid: mkempe@linuxfocus.org maildrop: mkempe@developer.ch preferredlanguage: fr ou: editors Within a ldif file. Then i followed executing the command: ldapadd -D "cn=Manager, o=linuxfocus.org" -w secret < linuxfocus.org.ldif I get the follow message: adding new entry "o=linuxfocus.org" adding new entry "ou=editors, o=linuxfocus.org" adding new entry "uid=aghaffar, ou=editors, o=linuxfocus.org" Why occurs that this fails at the update attempt and the message of 'Undefined attribute type'? at my slapd.conf file I have configured: $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.5 2002/11/26 18:26:01 kurt Exp $ # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory pidfile /usr/local/var/slapd.pid # Load dynamic backend modules: # Sample security restrictions # Sample access control policy: ####################################################################### I hope someone can help me, and can tell me what is bad here. Thank you in advance, Regards. Ernesto Freyre
Área de Operaciones Qnet - Servicios Internet Telf. 241-4122 anexos 2245/2244 www.qnet.com.pe |