educare:ldif
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
educare:ldif [2018/06/20 22:45] – profpro | educare:ldif [2020/06/08 22:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | https:// | ||
+ | |||
+ | Esempio di formato LDIF per creare lo schema degli elementi nel database | ||
+ | |||
+ | < | ||
+ | dn: ou=Persone, | ||
+ | objectClass: | ||
+ | ou: Persone | ||
+ | |||
+ | dn: ou=Gruppi, | ||
+ | objectClass: | ||
+ | ou: Gruppi | ||
+ | </ | ||
+ | |||
+ | Esempio di formato LDIF per inserire elementi nel database | ||
+ | |||
+ | < | ||
+ | dn: cn=studenti, | ||
+ | objectClass: | ||
+ | cn: studenti | ||
+ | gidNumber: 5000 | ||
+ | </ | ||
+ | |||
+ | Esempio di formato LDIF (LDAP Data Interchange Format) per inserire un utente | ||
+ | |||
+ | < | ||
+ | dn: cn=Mario Rossi, | ||
+ | cn: Mario Rossi | ||
+ | givenName: Mario | ||
+ | sn: Rossi | ||
+ | telephoneNumber: | ||
+ | telephoneNumber: | ||
+ | mail: mario@esempio.com | ||
+ | manager: cn=Larry Smith, | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | </ | ||
+ | |||
+ | dc=esempio, | ||
+ | |||
+ | è il suffisso del database, ricavabile dal hostname. | ||
+ | |||