diff --git a/doc/ldap_graph.dot b/doc/ldap_graph.dot index 1e225173..4dcee28b 100644 --- a/doc/ldap_graph.dot +++ b/doc/ldap_graph.dot @@ -1,33 +1,406 @@ -## this schema has been generated using the ldif2dot script found here http://marcin.owsiany.pl/ldif2dot-page -## the ldapsearch query is: ldapsearch -x -b 'dc=yunohost,dc=org' -## shape=box has been added everywhere by hand - strict digraph "" { rankdir=LR - n0 [shape=box,label="dn: dc=yunohost,dc=org\lobjectClass: dcObject\lobjectClass: organization\lo: yunohost.org\ldc: yunohost\l"] - n1 [shape=box,label="dn: cn=admin,dc=yunohost,dc=org\lgidNumber: 1007\lcn: admin\lhomeDirectory: /home/admin\lobjectClass: organizationalRole\lobjectClass: posixAccount\lobjectClass: simpleSecurityObject\lloginShell: /bin/bash\ldescription: LDAP Administrator\luidNumber: 1007\luid: admin\l"] + + fontname = "Helvetica" + fontsize = 10 + splines = true + + node [ + fontname = "Helvetica" + fontsize = 10 + shape = "plaintext" + ] + + edge [ + fontname = "Helvetica" + fontsize = 10 + ] + + + + n0 [label=< + + + + + + +
+ + dn: dc=yunohost,dc=org +
+ objectClass: dcObject +
+ objectClass: organization +
+ o: yunohost.org +
+ dc: yunohost +
+ >] + + + + n1 [label=< + + + + + + + + + + + + +
+ + dn: cn=admin,dc=yunohost,dc=org +
+ gidNumber: 1007 +
+ cn: admin +
+ homeDirectory: /home/admin +
+ objectClass: organizationalRole +
+ objectClass: posixAccount +
+ objectClass: simpleSecurityObject +
+ loginShell: /bin/bash +
+ description: LDAP Administrator +
+ uidNumber: 1007 +
+ uid: admin +
+ >] n0->n1 - n2 [shape=box,label="dn: ou=domains,dc=yunohost,dc=org\lobjectClass: organizationalUnit\lou: domains\l"] + + + + n2 [label=< + + + + +
+ + dn: ou=domains,dc=yunohost,dc=org +
+ objectClass: organizationalUnit +
+ ou: domains +
+ >] n0->n2 - n3 [shape=box,label="dn: ou=groups,dc=yunohost,dc=org\lobjectClass: organizationalUnit\lou: groups\l"] + + + + n3 [label=< + + + + +
+ + dn: ou=groups,dc=yunohost,dc=org +
+ objectClass: organizationalUnit +
+ ou: groups +
+ >] n0->n3 - n4 [shape=box,label="dn: ou=sudo,dc=yunohost,dc=org\lobjectClass: organizationalUnit\lou: sudo\l"] + + + + n4 [label=< + + + + +
+ + dn: ou=sudo,dc=yunohost,dc=org +
+ objectClass: organizationalUnit +
+ ou: sudo +
+ >] n0->n4 - n5 [shape=box,label="dn: ou=apps,dc=yunohost,dc=org\lobjectClass: organizationalUnit\lou: apps\l"] + + + + n5 [label=< + + + + +
+ + dn: ou=apps,dc=yunohost,dc=org +
+ objectClass: organizationalUnit +
+ ou: apps +
+ >] n0->n5 - n6 [shape=box,label="dn: ou=users,dc=yunohost,dc=org\lobjectClass: organizationalUnit\lou: users\l"] + + + + n6 [label=< + + + + +
+ + dn: ou=users,dc=yunohost,dc=org +
+ objectClass: organizationalUnit +
+ ou: users +
+ >] n0->n6 - n7 [shape=box,label="dn: cn=admins,ou=groups,dc=yunohost,dc=org\lobjectClass: posixGroup\lmemberUid: admin\lgidNumber: 4001\lcn: admins\l"] + + + + n7 [label=< + + + + + + +
+ + dn: cn=admins,ou=groups,dc=yunohost,dc=org +
+ objectClass: posixGroup +
+ memberUid: admin +
+ gidNumber: 4001 +
+ cn: admins +
+ >] n3->n7 - n8 [shape=box,label="dn: cn=sftpusers,ou=groups,dc=yunohost,dc=org\lobjectClass: posixGroup\lgidNumber: 4002\lcn: sftpusers\lmemberUid: admin\lmemberUid: neutrinet\lmemberUid: alice\lmemberUid: bob\l"] + + + + n8 [label=< + + + + + + + + + +
+ + dn: cn=sftpusers,ou=groups,dc=yunohost,dc=org +
+ objectClass: posixGroup +
+ gidNumber: 4002 +
+ cn: sftpusers +
+ memberUid: admin +
+ memberUid: neutrinet +
+ memberUid: alice +
+ memberUid: bob +
+ >] n3->n8 - n9 [shape=box,label="dn: cn=admin,ou=sudo,dc=yunohost,dc=org\lcn: admin\lsudoCommand: ALL\lsudoUser: admin\lobjectClass: sudoRole\lsudoOption: !authenticate\lsudoHost: ALL\l"] + + + + n9 [label=< + + + + + + + + +
+ + dn: cn=admin,ou=sudo,dc=yunohost,dc=org +
+ cn: admin +
+ sudoCommand: ALL +
+ sudoUser: admin +
+ objectClass: sudoRole +
+ sudoOption: !authenticate +
+ sudoHost: ALL +
+ >] n4->n9 - n10 [shape=box,label="dn: virtualdomain=domain.com,ou=domains,dc=yunohost,dc=org\lobjectClass: mailDomain\lvirtualdomain: domain.com\l"] + + + + n10 [label=< + + + + +
+ + dn: virtualdomain=domain.com,ou=domains,dc=yunohost,dc=org +
+ objectClass: mailDomain +
+ virtualdomain: domain.com +
+ >] n2->n10 - n11 [shape=box,label="dn: uid=example_admin_user,ou=users,dc=yunohost,dc=org\luid: example_admin_user\lobjectClass: mailAccount\lobjectClass: inetOrgPerson\lobjectClass: posixAccount\lloginShell: /bin/false\luidNumber: 80833\lmaildrop: example_admin_user\lcn: firstname lastname\ldisplayName: firstname lastname\lmailuserquota: 0\lgidNumber: 80833\lsn: lastname\lhomeDirectory: /home/example_admin_user\lmail: example_admin_user@domain.com\lmail: root@domain.com\lmail: admin@domain.com\lmail: webmaster@domain.com\lmail: postmaster@domain.com\lgivenName: firstname\l"] + + + + n11 [label=< + + + + + + + + + + + + + + + + + + + + + +
+ + dn: uid=example_admin_user,ou=users,dc=yunohost,dc=org +
+ uid: example_admin_user +
+ objectClass: mailAccount +
+ objectClass: inetOrgPerson +
+ objectClass: posixAccount +
+ loginShell: /bin/false +
+ uidNumber: 80833 +
+ maildrop: example_admin_user +
+ cn: firstname lastname +
+ displayName: firstname lastname +
+ mailuserquota: 0 +
+ gidNumber: 80833 +
+ sn: lastname +
+ homeDirectory: /home/example_admin_user +
+ mail: example_admin_user@domain.com +
+ mail: root@domain.com +
+ mail: admin@domain.com +
+ mail: webmaster@domain.com +
+ mail: postmaster@domain.com +
+ givenName: firstname +
+ >] n6->n11 - n12 [shape=box,label="dn: uid=alice,ou=users,dc=yunohost,dc=org\luid: alice\lobjectClass: mailAccount\lobjectClass: inetOrgPerson\lobjectClass: posixAccount\luidNumber: 41580\lmaildrop: alice\lcn: alice pouet\ldisplayName: alice pouet\lmailuserquota: 0\lgidNumber: 41580\lsn: pouet\lhomeDirectory: /home/alice\lmail: alice@ynh.local\lgivenName: alice\lloginShell: /bin/bash\l"] + + + + n12 [label=< + + + + + + + + + + + + + + + + + +
+ + dn: uid=alice,ou=users,dc=yunohost,dc=org +
+ uid: alice +
+ objectClass: mailAccount +
+ objectClass: inetOrgPerson +
+ objectClass: posixAccount +
+ uidNumber: 41580 +
+ maildrop: alice +
+ cn: alice pouet +
+ displayName: alice pouet +
+ mailuserquota: 0 +
+ gidNumber: 41580 +
+ sn: pouet +
+ homeDirectory: /home/alice +
+ mail: alice@ynh.local +
+ givenName: alice +
+ loginShell: /bin/bash +
+ >] n6->n12 + } diff --git a/doc/ldap_graph.png b/doc/ldap_graph.png index 6e1e62d4..667a8284 100644 Binary files a/doc/ldap_graph.png and b/doc/ldap_graph.png differ