From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Pavel Stoliarov To: community@altlinux.ru Date: Wed, 8 Sep 2004 09:44:55 +0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Message-Id: <200409080944.55789.mylinux02@mail.ru> Subject: [Comm] openldap =?koi8-r?b?ySDSxdDMycvBw8nR?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 04:42:10 -0000 Archived-At: List-Archive: List-Post: =F7=D3=C5=CD =D0=D2=C9=D7=C5=D4. =E9=CD=C5=C5=D4=D3=D1 Master 2.2 =C9 OpenLdap 2.0.27-alt5 =EE=C5=D3=CB=CF=CC=D8=CB=CF =C4=CE=C5=CA =CD=D5=DE=C1=C0=D3=D8 =D3 =D2=C5= =D0=CC=C9=CB=C1=C3=C9=D1=CD=C9, =CE=C9 =CB=C1=CB =CE=C5 =CD=CF=C7=D5 =D0=CF= =C2=C5=C4=C9=D4=D8.=20 =F2=C5=D0=CC=C9=CB=C1=C3=C9=C9 =D3 master slapd =C9=C4=D5=D4 =CE=CF=D2=CD= =C1=CC=D8=CE=CF =CE=C1 slave . =F7 OpenLDAP Administrator's Guide =CE=C1=D0=C9=D3=C1=CE=CF : 1. The LDAP client submits an LDAP modify operation to the slave slapd. 2. The slave slapd returns a referral to the LDAP client referring the=20 client to the master slapd. 3. The LDAP client submits the LDAP modify operation to the master slapd. 4. The master slapd performs the modify operation, writes out the change= to=20 its replication log file and returns a success code to the client. 5. The slurpd process notices that a new entry has been appended to the= =20 replication log file, reads the replication log entry, and sends the change= =20 to the slave slapd via LDAP. 6. The slave slapd performs the modify operation and returns a success c= ode=20 to the slurpd process. =F7=CF=D4 =C9=CD=C5=CE=CE=CF =DC=D4=CF =C9 =CE=C5 =D2=C1=C2=CF=D4=C1=C5=D4= , =D0=D2=C9 =D0=CF=D0=D9=D4=CB=C5 =D5=C4=C1=CC=C9=D4=D8 =C9=CC=C9 =C4=CF= =C2=C1=D7=C9=D4=D8 =CE=CF=D7=D9=CA =DC=CC=C5=CD=C5=CE=D4=20 =CE=C1 slave =D3=C5=D2=D7=C5=D2=C5 , =DC=CC=C5=CD=C5=CE=D4 =D0=D2=CF=D3=D4= =CF =D5=C4=C1=CC=D1=C5=D4=D3=D1 =C9=CC=C9 =C4=CF=C2=C1=D7=CC=D1=C5=D4=D3=D1= =C2=C5=DA =DA=C1=D0=D2=CF=D3=C1=20 master slapd =EB=CF=CE=C6=C9=C7=C9 :=20 master slapd.conf : =2E.. access to * by dn=3D"cn=3Dadmin,dc=3Dmycompany,dc=3Dru" write by * read ####################################################################### # ldbm database definitions ####################################################################### database ldbm suffix "dc=3Dmycompany,dc=3Dru" rootdn "cn=3Dadmin,dc=3Dmycompany,dc=3Dru" # 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}vWihzY6W+2FU8eiVZF4sLrZJG0Q93Sir # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd/tools. Mode 700 recommended. directory /var/lib/ldap/bases replica host=3Dslave.mycompany.ru:389 binddn=3D"cn=3Dadmin,dc=3Dmycompany,dc=3Dru" bindmethod=3Dsimple credentials=3Dtest replogfile /var/log/ldap/replica.log =2E... =2D----------------------------------------------- slave slapd.conf : =2E.... access to * by dn=3D"cn=3Dadmin,dc=3Dmycompany,dc=3Dru" write by * read ####################################################################### # ldbm database definitions ####################################################################### database ldbm suffix "dc=3Dmycompany,dc=3Dru" rootdn "cn=3Dadmin,dc=3Dmycompany,dc=3Dru" # 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}vWihzY6W+2FU8eiVZF4sLrZJG0Q93Sir # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd/tools. Mode 700 recommended. directory /var/lib/ldap/bases updatedn "cn=3Dadmin,dc=3Dmycompany,dc=3Dru" updateref ldap://master.mycompany.ru =2E..... =2D-=20 Best regards Pavel Stoliarov