LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-19-2012, 12:01 PM   #1
gnu699
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Rep: Reputation: Disabled
LDAP + Synchro partial + ACL


Hello all,


I have 3 servers running openldap, in n-way mode.

i search to synchronize branchs or parts of my master ldap to my slaves ldap with the ACLs on the master (olcAccess).

For example:
-synchronize ou=People & ou=Groups to slave1
-synchronize ou=DHCP Servers to slave2

i'm reading the man slapd.access & i'm testing but its not trivial documentation.

Can someone help me?


Thanks very much!

gnu699

Last edited by gnu699; 07-19-2012 at 12:21 PM.
 
Old 09-07-2012, 11:31 AM   #2
gnu699
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello all,


I found a solution to do that with 'filter=' in syncrepl in the slave server:

Code:
olcSyncrepl: {0}rid=
		provider=ldap://ldap-1.example.com			 						
                binddn="cn=admin,dc=example,dc=com"
		bindmethod=simple 
		credentials=password 		
		searchbase="dc=example,dc=com" 
		filter="(|(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com)(entryDN:dnSubtreeMatch:=ou=Groups,dc=example,dc=com))"
		type=refreshAndPersist 
		interval=00:00:00:10 retry="5 5 100 +" 
		timeout=3
But i search again with the ACLs.
 
  


Reply

Tags
acl, ldap, partial, synchronization



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does the ACL of a file created under a directory differ from the default ACL sctebnt Linux - Security 5 12-02-2011 08:13 AM
squid acl for ldap users haw3d Linux - Server 0 12-19-2010 07:23 AM
LDAP ACL assistance don_wombat_73 Linux - Software 0 11-20-2008 08:54 AM
SQL synchro macadam Linux - Software 2 02-19-2005 12:56 PM
Searching for clock-synchro to world time server Schmurff Linux - Software 1 03-09-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration