Точнее в конфаг ldap вотчо
Sep 23 10:52:23 marchs slapd[5143]: bdb_db_cache: db_open(sambaSID) failed: Permission denied (13)
Sep 23 10:52:23 marchs slapd[5143]: <= bdb_equality_candidates: (sambaSID) index_param failed (13)
Sep 23 10:52:23 marchs slapd[5143]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Sep 23 10:52:23 marchs slapd[5143]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Sep 23 10:52:23 marchs slapd[5143]: bdb_db_cache: db_open(sambaSID) failed: Permission denied (13)
Sep 23 10:52:23 marchs slapd[5143]: <= bdb_equality_candidates: (sambaSID) index_param failed (13)
Вот содержимое slapd.conf
#------------------------------------------------------------------------------
# Modified Calculate-server 2.1.2
# File of a profile “profile/samba”
#------------------------------------------------------------------------------
include><------>/etc/openldap/schema/core.schema
include><------>/etc/openldap/schema/cosine.schema
include><------>/etc/openldap/schema/nis.schema
include><------>/etc/openldap/schema/inetorgperson.schema
include><------>/etc/openldap/schema/misc.schema
include><------>/etc/openldap/schema/samba.schema
pidfile><------>/var/run/openldap/slapd.pid
argsfile<------>/var/run/openldap/slapd.arg
loglevel<------>2
allow<[<-----]{style=“text-align:right;”}>bind_v2
modulepath<---->/usr/lib/openldap/openldap
access to attrs=userPassword
by dn=“cn=ldapadmin,dc=calculate” write
by dn=“ou=Samba,ou=Services,dc=calculate” write
by dn=“ou=Unix,ou=Services,dc=calculate” write
by self read
by * auth
access to attrs=sambaLMPassword,sambaNTPassword
by dn=“cn=ldapadmin,dc=calculate” write
by dn=“ou=Samba,ou=Services,dc=calculate” write
by * none
access to dn.base=“cn=proxyuser,dc=calculate”
by dn=“cn=ldapadmin,dc=calculate” write
by dn=“cn=proxyuser,dc=calculate” read
by * none
access to dn.base=“cn=ldapadmin,dc=calculate”
by dn=“cn=ldapadmin,dc=calculate” write
by * none
access to dn.regex=".*ou=Samba,ou=Services,dc=calculate$"
by dn=“cn=ldapadmin,dc=calculate” write
by dn=“ou=Samba,ou=Services,dc=calculate” write
by dn=“ou=Unix,ou=Services,dc=calculate” write
by dn=“cn=proxyuser,dc=calculate” read
by * none
access to dn.regex=".*ou=Unix,ou=Services,dc=calculate$"
by dn=“cn=ldapadmin,dc=calculate” write
by dn=“ou=Samba,ou=Services,dc=calculate” write
by dn=“ou=Unix,ou=Services,dc=calculate” write
by dn=“cn=proxyuser,dc=calculate” read
by * none
access to dn.regex=".*ou=([^,]+),ou=Services,dc=calculate$"
by dn=“cn=ldapadmin,dc=calculate” write
by dn.regex=“ou=$1,ou=Services,dc=calculate” write
by * none
access to dn.regex=".*,ou=Services,dc=calculate"
by dn=“cn=ldapadmin,dc=calculate” write
by * none
access to *
by dn=“cn=ldapadmin,dc=calculate” write
by self write
by * read
database<------>bdb
suffix<><------>“dc=calculate”
checkpoint<—[1024<-]{style=“text-align:right;”}>5
cachesize<----->10000
directory<----->/var/lib/openldap-data
index<[objectClass<–]{style=“text-align:right;”}>eq
index<[cn<—]{style=“text-align:right;”}><------>pres,sub,eq
index<[sn<—]{style=“text-align:right;”}><------>pres,sub,eq
index<[uid<–]{style=“text-align:right;”}><------>pres,sub,eq
index<[uidNumber<----]{style=“text-align:right;”}>eq
index<[gidNumber<----]{style=“text-align:right;”}>eq
index<[memberUID<----]{style=“text-align:right;”}>eq
index<[uniqueMember<-]{style=“text-align:right;”}>eq,pres
index<[displayName<–]{style=“text-align:right;”}>pres,sub,eq
index<[sambaSID<-----]{style=“text-align:right;”}>eq
index<[sambaSIDList<-]{style=“text-align:right;”}>eq
index<[sambaPrimaryGroupSID<-]{style=“text-align:right;”}>eq
index<->sambaDomainName>eq
index<[default><-----]{style=“text-align:right;”}>sub