LINUX.ORG.RU
ФорумAdmin

OpenLdap server на CentOS 5.6


0

1

При добавлении 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

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


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

Сколько букв S в слове addresbook (1-я строка)?

А в слове addressbook (4-я строка)?

Nastishka ★★★★★
()

value of naming attribute 'ou' is not present in entry

Значение атрибута 'ou' отсутствует в записи.

Что непонятного то? :/

zgen ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.