при попытке создать базу получаеться такая херь!!!!!
slapd.conf
-----//----------//----------//------------
access to dn=".*,dc=vasia,dc=ru" attr=userPassword
by dn="cn=admin,dc=vasia,dc=ru" write
by self write
by * auth
access to dn=".*,dc=vasia,dc=ru" attr=mail
by dn="cn=admin,dc=vasia,dc=ru" write
by self write
by * read
access to dn=".*,ou=vmail,dc=vasia,dc=ru"
by * read
access to dn=".*,dc=vasia,dc=ru"
by self write
by * read
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/qmail.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/rfc2377.schema
include /usr/local/etc/openldap/schema/phpQLAdmin.schema
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=vasia,dc=ru"
#suffix "o=My Organization Name,dc=US"
rootdn "cn=admin,dc=vasia,dc=ru"
#rootdn "cn=Manager,o=My Organization Name, dc=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw {SSHA}K2b9nqRxOz+7yiOuonSZQZu3x5oyoNbA
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/db/openldap-ldbm
# Indices to maintain
index, objectClass,uid,uidNumber,gidNumber eq
index, cn,mail,surname,givenname eq,subinitial
--------/////-----------////////----------
new.ldif
--------////------/////----------
dn: dc=vasia, dc=ru
objectclass: dcObject
dn: dc=vasia, dc=ru
objectclass: top
dn: ou=qmail, dc=vasia, dc=ru
objectclass: top
objectclass: organizationalunit
dn: uid=admin, ou=qmail, dc=vasia, dc=ru
objectClass: organizationalunit
cn: vasia pupkins
objectClass: top
objectClass: person
objectClass: inetorgpersonerson
objectClass: qmailUser
mail: admin@vasia.ru
mailHost: mail.vasia.ru
mailMessageStore: /var/qmail/users/admin
uid: admin
userPassword: {SSHA}K2b9nqRxOz+7yiOuonSZQZu3x5oyoNbA
--------------/////////////------------///////////////
добавляю такой командой
ldapadd -vxc -h localhost -D "cn=admin, dc=vasia, dc=ru" -w clehmorgovii -f /usr/local/etc/new.ldif
полуаю такой ответ
ldap_init( localhost, 0 )
add objectclass:
dcObject
top
top
organizationalunit
organizationalunit
top
person
inetorgpersonerson
qmailUser
add dn:
dc=vasia, dc=ru
ou=qmail, dc=vasia, dc=ru
uid=admin, ou=qmail, dc=vasia, dc=ru
add cn:
vasia pupkins
add mail:
admin@vasia.ru
add mailHost:
mail.vasia.ru
add mailMessageStore:
/var/qmail/users/admin
add uid:
admin
add userPassword:
{SSHA}K2b9nqRxOz+7yiOuonSZQZu3x5oyoNbA
adding new entry "dc=vasia, dc=ru"
ldap_add: Undefined attribute type
additional info: dn: attribute type undefined
ldif_record() = 17
на команду ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
получаю такой ответ
version: 2
#
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=lukmar,dc=ru
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
ПОДСКАЖИТЕ ЧТО ДЕЛАТЬ..??? КРОМЕ КАК ЧИТАТЬ МАНЫ!!! ИЛИ ГДЕ ВЗЯТЬ ПОЛНУЮ ДОКУМЕНТАЦИЮ ПО НАСТРОЙКЕ!!!!?????