2.2.1 slapd.conf Slave syncrepl Openldap2.2: Difference between revisions
From SambaWiki
Whitеcraig (talk | contribs) No edit summary |
m (Reverted edit of Whitеcraig, changed back to last version by Asender) |
||
Line 1: | Line 1: | ||
2.2.1: slapd.conf Slave syncrepl Openldap2.2 |
|||
<center><big><big><big><big>Welcome to '''the Internet!''' |
|||
This is the configuration file for openldap version 2.2 using the syncrepl method refreshOnly. |
|||
# slapd.conf Slave syncrepl Openldap2.2 |
|||
# LDAP Consumer |
|||
[[Image:Internet.jpg|center]] |
|||
include /etc/openldap/schema/core.schema |
|||
include /etc/openldap/schema/cosine.schema |
|||
include /etc/openldap/schema/inetorgperson.schema |
|||
include /etc/openldap/schema/nis.schema |
|||
include /etc/openldap/schema/samba.schema |
|||
pidfile /var/run/slapd/slapd.pid |
|||
argsfile /var/run/slapd/slapd.args |
|||
database bdb |
|||
suffix "dc=differentialdesign,dc=org" |
|||
rootdn "cn=Manager,dc=differentialdesign,dc=org" |
|||
rootpw Manager |
|||
directory /var/lib/ldap |
|||
syncrepl |
|||
rid=0 |
|||
provider=ldap://node1.differentialdesign.org:389 |
|||
binddn="cn=syncuser,dc=differentialdesign,dc=org" |
|||
bindmethod=simple |
|||
credentials=SyncUser |
|||
searchbase="dc=differentialdesign,dc=org" |
|||
filter="(objectClass=*)" |
|||
attrs="*" |
|||
schemachecking=off |
|||
scope=sub |
|||
type=refreshOnly |
|||
interval=00:06:00:00 |
|||
access to attrs=userPassword |
|||
by dn="cn=sambaadmin,dc=differentialdesign,dc=org" read |
|||
by dn="cn=syncuser,dc=differentialdesign,dc=org" write |
|||
by * auth |
|||
access to attrs=sambaLMPassword,sambaNTPassword |
|||
by dn="cn=sambaadmin,dc=differentialdesign,dc=org" read |
|||
by dn="cn=syncuser,dc=differentialdesign,dc=org" write |
|||
access to * |
|||
by dn="cn=syncuser,dc=differentialdesign,dc=org" write |
|||
by * read |
|||
# Indices to maintain |
|||
index objectClass eq |
|||
index cn pres,sub,eq |
|||
index sn pres,sub,eq |
|||
index uid pres,sub,eq |
|||
index displayName pres,sub,eq |
|||
index uidNumber eq |
|||
index gidNumber eq |
|||
index memberUID eq |
|||
index sambaSID eq |
|||
index sambaPrimaryGroupSID eq |
|||
index sambaDomainName eq |
|||
index default sub |
Latest revision as of 02:54, 26 February 2007
2.2.1: slapd.conf Slave syncrepl Openldap2.2
This is the configuration file for openldap version 2.2 using the syncrepl method refreshOnly.
# slapd.conf Slave syncrepl Openldap2.2 # LDAP Consumer include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/samba.schema pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args database bdb suffix "dc=differentialdesign,dc=org" rootdn "cn=Manager,dc=differentialdesign,dc=org" rootpw Manager directory /var/lib/ldap syncrepl rid=0 provider=ldap://node1.differentialdesign.org:389 binddn="cn=syncuser,dc=differentialdesign,dc=org" bindmethod=simple credentials=SyncUser searchbase="dc=differentialdesign,dc=org" filter="(objectClass=*)" attrs="*" schemachecking=off scope=sub type=refreshOnly interval=00:06:00:00 access to attrs=userPassword by dn="cn=sambaadmin,dc=differentialdesign,dc=org" read by dn="cn=syncuser,dc=differentialdesign,dc=org" write by * auth access to attrs=sambaLMPassword,sambaNTPassword by dn="cn=sambaadmin,dc=differentialdesign,dc=org" read by dn="cn=syncuser,dc=differentialdesign,dc=org" write access to * by dn="cn=syncuser,dc=differentialdesign,dc=org" write by * read # Indices to maintain index objectClass eq index cn pres,sub,eq index sn pres,sub,eq index uid pres,sub,eq index displayName pres,sub,eq index uidNumber eq index gidNumber eq index memberUID eq index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index default sub