Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsc configuration #311

Open
sht33 opened this issue Nov 27, 2024 · 1 comment
Open

lsc configuration #311

sht33 opened this issue Nov 27, 2024 · 1 comment

Comments

@sht33
Copy link

sht33 commented Nov 27, 2024

I have two AD domains, A and B, and have made them highly available. Since the AD domain will automatically synchronize user information, I only need to synchronize LDAP user data to one AD domain. How do I configure lsc to synchronize data to A, and when A has a problem, synchronize data to B?

@soisik
Copy link
Contributor

soisik commented Nov 27, 2024

you can simply declare all your ad directories in the connection url , eg:
<url>ldaps://ad1.example.local:636/DC=example,DC=local ldaps://ad2.example.local:636/</url>
LSC will try the first url and if it cannot connect, will try next url and so on.
Note that putting the base DN only in the first URL is not a typo, it's supposed to be so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants