meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ldap [2018/07/30 13:18] – niziak | ldap [2020/04/14 12:55] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== LDAP ====== | ||
| + | |||
| [[http:// | [[http:// | ||
| Line 30: | Line 32: | ||
| * // | * // | ||
| - | ====== Components ====== | + | ====== |
| * **dc** - domain component dc=company, | * **dc** - domain component dc=company, | ||
| Line 37: | Line 39: | ||
| * **displayName** - one line summary (for people can be the same as **cn**) | * **displayName** - one line summary (for people can be the same as **cn**) | ||
| + | ====== objectClassess ====== | ||
| + | |||
| + | Are predefined containers for **attributes**. For example OpenLDAP' | ||
| + | * inetOrgPerson | ||
| + | * **cn**, **sn** - as required attributes | ||
| + | * lots of optional attributes like: " | ||
| + | |||
| + | ====== common attributes ====== | ||
| + | And container classes: | ||
| + | * cn,sn (inetOrgPerson) | ||
| + | * mail=rfc822Mailbox (inetOrgPerson) | ||
| + | * uid=userid (inetOrgPerson) | ||
| + | * userPassword (person, posixAccount, | ||
| + | * hash: SSHA | ||
| + | * displayName (inetOrgPerson) | ||
| ====== Structure design ====== | ====== Structure design ====== | ||
| Line 55: | Line 72: | ||
| * dc=company, | * dc=company, | ||
| * ou=people | * ou=people | ||
| - | * cn=John Doe | + | |
| - | * cn=Joe Black | + | |
| + | * cn=Johny | ||
| + | * sn=Doe | ||
| + | * mail=john.doe@company.org | ||
| + | * mail=j.doe@company.org | ||
| + | | ||
| + | | ||
| + | * sn=Black | ||
| + | * ou=software | ||
| + | * ou=software | ||
| * ou=customers | * ou=customers | ||
| * cn=Google | * cn=Google | ||
| Line 62: | Line 88: | ||
| * ou=devices | * ou=devices | ||
| * ou=it | * ou=it | ||
| + | * uid=nextcloudsystemuser, | ||
| * root,www ,etc | * root,www ,etc | ||
| * ou=location | * ou=location | ||