LDAP
From Wikitech
(Difference between revisions)
m (dab) |
|||
| Line 1: | Line 1: | ||
Hosts should be to use LDAP for users and some other stuff. | Hosts should be to use LDAP for users and some other stuff. | ||
| − | ==setup on new machine== | + | ==setup LDAP ''client'' on new machine== |
* run /home/wikipedia/bin/setup-ldap | * run /home/wikipedia/bin/setup-ldap | ||
* copy zwinger:/etc/ldap.conf to the new machine | * copy zwinger:/etc/ldap.conf to the new machine | ||
LDAP server is on srv1 (master) and srv2 (slave). failover should be automatic. to add new users, add them on srv1, then run /home/wikipedia/bin/ldapsync. srv2 will update automatically. | LDAP server is on srv1 (master) and srv2 (slave). failover should be automatic. to add new users, add them on srv1, then run /home/wikipedia/bin/ldapsync. srv2 will update automatically. | ||
Revision as of 20:12, 3 July 2005
Hosts should be to use LDAP for users and some other stuff.
setup LDAP client on new machine
- run /home/wikipedia/bin/setup-ldap
- copy zwinger:/etc/ldap.conf to the new machine
LDAP server is on srv1 (master) and srv2 (slave). failover should be automatic. to add new users, add them on srv1, then run /home/wikipedia/bin/ldapsync. srv2 will update automatically.