This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:ldap:ldapc8reppartiel [2020/02/11 22:03] procacci@tem-tsp.eu [rebuild script] |
docpublic:systemes:ldap:ldapc8reppartiel [2020/02/15 07:46] (current) procacci@tem-tsp.eu [acl] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== replica ==== | ||
| + | |||
| + | === ref === | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| ===== package ltb-project ===== | ===== package ltb-project ===== | ||
| Line 21: | Line 32: | ||
| chown -R ldap:ldap / | chown -R ldap:ldap / | ||
| systemctl start slapd | systemctl start slapd | ||
| + | </ | ||
| + | |||
| + | ===== ACL ldap master ==== | ||
| + | |||
| + | sur le master ldap il faut disposer d'un compte de replication qui a le droit en lecture sur toutes les arborecences et attributs necessaires a notre replica | ||
| + | |||
| + | notament sur l' | ||
| + | |||
| + | < | ||
| + | #JP acl | ||
| + | # continue pour que repint puisse lire dans la replication son propre pass et pas seulement faire du auth | ||
| + | # cf https:// | ||
| + | # finalement pas utile car pour etre self il faut d' | ||
| + | access to attrs=userPassword | ||
| + | by self auth continue | ||
| + | by anonymous | ||
| + | by dn=" | ||
| + | by * none | ||
| + | | ||
| + | #Voir le root DSE + base DN , cf http:// | ||
| + | access to dn.subtree=" | ||
| + | by dn=" | ||
| + | by * read | ||
| + | ... | ||
| + | | ||
| </ | </ | ||
| Line 93: | Line 129: | ||
| # attribut userpassword, | # attribut userpassword, | ||
| access to attrs=userPassword | access to attrs=userPassword | ||
| - | by self auth | ||
| by anonymous | by anonymous | ||
| by dn=" | by dn=" | ||
| Line 129: | Line 164: | ||
| bindmethod=simple | bindmethod=simple | ||
| retry=" | retry=" | ||
| + | keepalive=" | ||
| binddn=" | binddn=" | ||
| credentials=" | credentials=" | ||
| updateref | updateref | ||
| + | </ | ||
| + | |||
| + | la liste des parametres syncrepl est dans le man slapd.conf | ||
| + | |||
| + | < | ||
| + | https:// | ||
| + | | ||
| + | syncrepl rid=< | ||
| + | [interval=dd: | ||
| + | [attrs=< | ||
| + | [timeout=< | ||
| + | [credentials=< | ||
| + | [tls_cert=< | ||
| + | [tls_ciphersuite=< | ||
| + | [syncdata=default|accesslog|changelog] | ||
| </ | </ | ||