1
Общий раздел / Re: OpenLdap проксирование на два AD ldap.
« : 19 Октябрь 2015, 11:56:10 »
Здравствуйте, Егор!
Отправил Вам slapd.conf.
Спасибо, Виталий.
Отправил Вам slapd.conf.
Спасибо, Виталий.
В этом разделе можно просмотреть все сообщения, сделанные этим пользователем.
Now, we need to load these configs into the main slapd configuration file. Open slapd.conf, and look for the following comment:Вот что я оставил в своем конфиге:
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
Remove anything below this comment and then add the following lines:
# Features to permit
allow bind_v2
# Schema and objectClass definitions
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile /var/run/slapd/slapd.pid
# List of arguments that were passed to the server
argsfile /var/run/slapd/slapd.args
# Read slapd.conf(5) for possible values
loglevel 1
Надо ли еще что-то оставить?We define one backend like this in /etc/openldap/slapd-be-1.conf:
database ldif
suffix "ou=backend1" (название группы в произвольном порядке или как в backend каталоге? т.е. мы задаем или указываем имя группы ?)
directory "/var/lib/ldap/backend1" (тут понятно)
rootdn "cn=ldif-admin,ou=backend1" (ldif-admin-должен быть такой юзер в удаленном каталоге? ou=backend1 соответствует "ou" из директивы suffix?)
rootpw "LDIF"
Populate backends with sample dataдальше также... содержание статьи с моим elementary уровнем чатается крайне тяжело и трудно понять такие вещи как "These will represent the directories you're trying to merge" т.е. представлять, куда, кому?
We need to populate the directories with something to query.
Put this in backend1.ldif:
dn: ou=backend1 (тоже непонятно, какие ou/cn создаются, какие указываются)
objectClass: top
objectClass: organizationalUnit
ou: backend1
dn: ou=people,ou=backend1
objectClass: top
objectClass: organizationalUnit
ou: people
dn: cn=user1,ou=people,ou=backend1
objectClass: inetOrgPerson
cn: user1
givenName: user1
sn: Somebodyson
mail: user1@example.com