This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:ldap:ldapolc [2017/04/02 15:04] procacci@tem-tsp.eu [integration des branches] |
docpublic:systemes:ldap:ldapolc [2017/04/03 20:43] (current) procacci@tem-tsp.eu [lsc.xml] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | ===== Annuaire openldap OLC + LSC ===== | ||
| ===== references ===== | ===== references ===== | ||
| Line 672: | Line 675: | ||
| ead by * none | ead by * none | ||
| olcAccess: {3}to * by * none | olcAccess: {3}to * by * none | ||
| + | </ | ||
| + | |||
| + | si necessité de detruite une regle, exemple de ldif qui supprime la regle 3 : | ||
| + | |||
| + | < | ||
| + | [root@idm ~]# cat olcAccessDelId.ldif | ||
| + | dn: olcDatabase={1}mdb, | ||
| + | changetype: modify | ||
| + | delete: olcAccess | ||
| + | olcAccess: {3} | ||
| </ | </ | ||
| ===== LSC project synchro ===== | ===== LSC project synchro ===== | ||
| Line 749: | Line 762: | ||
| < | < | ||
| - | [root@idm ~]# ldapdelete -H ldap:// | + | [root@idm ~]# ldapdelete -H ldap:// |
| Enter LDAP Password: | Enter LDAP Password: | ||
| </ | </ | ||
| Line 762: | Line 775: | ||
| [root@idm lsc]# cp lsc.xml ldap-mte2id | [root@idm lsc]# cp lsc.xml ldap-mte2id | ||
| [root@idm lsc]# cd ldap-mte2id | [root@idm lsc]# cd ldap-mte2id | ||
| + | </ | ||
| + | |||
| + | ==== lsc logic ==== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ==== lsc.xml ==== | ||
| + | |||
| + | exemple de configuration d'une synchro ldap 2 ldap | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | ==== execution lsc ==== | ||
| + | |||
| + | < | ||
| + | [root@idm ldap-mte2id]# | ||
| + | 20: | ||
| + | 20: | ||
| + | 20: | ||
| + | ... | ||
| + | avr. 03 20:27:22 - INFO - Reflections took 68 ms to scan 1 urls, producing 56 keys and 117 values | ||
| + | avr. 03 20:27:22 - INFO - Logging configuration successfully loaded from / | ||
| + | avr. 03 20:27:22 - INFO - LSC configuration successfully loaded from / | ||
| + | avr. 03 20:27:22 - INFO - Connecting to LDAP server ldap:// | ||
| + | avr. 03 20:27:22 - INFO - Connecting to LDAP server ldap:// | ||
| + | avr. 03 20:27:22 - INFO - Starting sync for user | ||
| + | avr. 03 20:27:24 - INFO - # Adding new object eduPersonPrincipalName=proc@tm-tp.eu, | ||
| + | # Mon Apr 03 20:27:24 UTC 2017 | ||
| + | dn: eduPersonPrincipalName=proc@tm-tp.eu, | ||
| + | changetype: add | ||
| + | supannListeRouge: | ||
| + | ... | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | supanncivilite: | ||
| + | ... | ||
| + | sn: PROC | ||
| + | |||
| + | avr. 03 20:27:24 - INFO - All entries: 1, to modify entries: 1, successfully modified entries: 1, errors: 0 | ||
| + | </ | ||
| + | |||
| + | log ldap associés | ||
| + | |||
| + | < | ||
| + | Apr 3 20:27:22 idm slapd[4786]: | ||
| + | Apr 3 20:27:22 idm slapd[4786]: | ||
| + | Apr 3 20:27:22 idm slapd[4786]: | ||
| + | Apr 3 20:27:22 idm slapd[4786]: | ||
| + | Apr 3 20:27:23 idm slapd[4786]: | ||
| + | Apr 3 20:27:23 idm slapd[4786]: | ||
| + | Apr 3 20:27:23 idm slapd[4786]: | ||
| + | Apr 3 20:27:23 idm slapd[4786]: | ||
| + | Apr 3 20:27:24 idm slapd[4786]: | ||
| + | Apr 3 20:27:24 idm slapd[4786]: | ||
| + | Apr 3 20:27:24 idm slapd[4786]: | ||
| + | Apr 3 20:27:24 idm slapd[4786]: | ||
| </ | </ | ||