rename class ldapsync to lgit, fix typos in README
This commit is contained in:
parent
4a9b8ae755
commit
334716f370
@ -9,8 +9,8 @@ Following script copies changes made on 192.168.1.13 LDAP server to the 192.168.
|
|||||||
```
|
```
|
||||||
import lgit
|
import lgit
|
||||||
|
|
||||||
server1 = lgit.ldapserver("192.168.1.13", "cn=admin,dc=example,dc=com", "adminpass", "ou=Users,dc=example,dc=com")
|
server1 = lgit.logserver("192.168.1.13", "cn=admin,dc=example,dc=com", "adminpass", "ou=Users,dc=example,dc=com")
|
||||||
server2 = lgit.ldapserver("192.168.1.21", "ou=bob,ou=Users,dc=example,dc=com", "pasSw0rd", "ou=Users,dc=example,dc=com")
|
server2 = lgit.logserver("192.168.1.21", "ou=bob,ou=Users,dc=example,dc=com", "pasSw0rd", "ou=Users,dc=example,dc=com")
|
||||||
|
|
||||||
server1.pull(server2)
|
server1.pull(server2)
|
||||||
|
|
||||||
@ -21,8 +21,8 @@ Following script pulls all user changes from both servers to each other
|
|||||||
```
|
```
|
||||||
import lgit
|
import lgit
|
||||||
|
|
||||||
server1 = lgit.ldapserver("192.168.1.13", "cn=admin,dc=example,dc=com", "adminpass", "ou=Users,dc=example,dc=com")
|
server1 = lgit.logserver("192.168.1.13", "cn=admin,dc=example,dc=com", "adminpass", "ou=Users,dc=example,dc=com")
|
||||||
server2 = lgit.ldapserver("192.168.1.21", "ou=bob,ou=Users,dc=example,dc=com", "pasSw0rd", "ou=Users,dc=example,dc=com")
|
server2 = lgit.logserver("192.168.1.21", "ou=bob,ou=Users,dc=example,dc=com", "pasSw0rd", "ou=Users,dc=example,dc=com")
|
||||||
|
|
||||||
lg = lgit.lgit()
|
lg = lgit.lgit()
|
||||||
lg.sync()
|
lg.sync()
|
||||||
|
Loading…
Reference in New Issue
Block a user