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

Newbie : Anonymous access toOpenLDAP



'lo (soory for English, but I'm french.... :)

I'm a newbie in Linux use and I must install OpenLDAP. For the moment I want to 
use it with a full anonymous access.

The problem is that when I do a ldapadd, I've received the alarm message : 
ldif_record : 32.

My configuration is : (only what's not in comment)
Openldap version : 1.2.12
Redhat 7.2

***********DNS***********
gatekeeper.com
IP @ : 200.0.53.184


*******ldap.conf*********
host 127.0.0.1
base dc=gatekeeper,dc=com 
ssl no
pam_password md5

*******slapd.conf********
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc 822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema

schemacheck off

database ldbm
suffix "dc=gatekeeper,dc=com"
rootdn "cn=root,dc=gatekeeper,dc=com"

********entry.ldif********
dn: cn=admin,dc=gatekeeper,dc=com
objectClass: organizationRole
cn: admin
description: Directory Manager

dn: uid=First,dc=gatekeeper,dc=com
objectClass:top
objectClass:Person
objectClass:organizationalPerson
objectClass:inetOrgPerson
uid: First
cn: First Listed
sn: First
userPassword:
description: N/A

****Command Line *********
ldapadd -x -D "dc=gatekeeper,dc=com" -f entry.ldif
adding new entry "cn=admin,dc=gatekeeper,dc=com"
ldap_add:No Such Object

ldif_record()= 32

*********Conclusion******
If someone can explain me what is wrong and how to allow anonymous to have full 
access, it'll be great.

Thanks

Cedric, LDAP's Newbie