LINUX.ORG.RU

Сообщения mediv

 

OpenLdap server на CentOS 5.6

Форум — Admin

При добавлении ldif файлов в базу, а имеено при инициализации адресной книги ошибка:

[b]ldapadd: Naming violation (64) additional info: value of naming attribute 'ou' is not present in entry[/b]

конфиги:

include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema

allow bind_v2

pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args

access to attrs=userPassword by self write by anonymous write by * none acces to * by self write by anonymous read by * none database bdb suffix «dc=atlantis,dc=ua» rootdn «cn=root,dc=atlantis,dc=ua» rootpw 1234567

directory /var/lib/ldap

index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShell eq,pres index uid,memberUid eq,pres,sub index nisMapName,nisMapEntry eq,pres,sub

ldap.conf

BASE dc=atlantis,dc=ua URI ldap://localhost

инит базы (init.ldif):

dn: dc=atlantis,dc=ua objectClass: dcObject objectClass: organization objectClass: top dc: atlantis o: atlantis

книга:

dn:ou=addresbook,dc=atlantis,dc=ua objectClass:top objectClass:organizationalUnit ou:addressbook

Спс за ранее за помощь)

mediv
()

RSS подписка на новые темы