From a5f492e53fd1fc1aedc0d3ea46d1f2e6b1539621 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sat, 12 Aug 2017 13:35:50 +0200 Subject: [PATCH] [doc] add other user related schemas --- doc/ldap.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/doc/ldap.rst b/doc/ldap.rst index 1c53f272..b9faa3d4 100644 --- a/doc/ldap.rst +++ b/doc/ldap.rst @@ -143,6 +143,37 @@ The admin user is a special case that looks like this: uidNumber: 1007 uid: admin +Other user related schemas: + +:: + + + # path: cn=admins,ou=groups,dc=yunohost,dc=org + objectClass: posixGroup + objectClass: top + memberUid: admin + gidNumber: 4001 + cn: admins + + # path: cn=sftpusers,ou=groups,dc=yunohost,dc=org + objectClass: posixGroup + objectClass: top + gidNumber: 4002 + cn: sftpusers + memberUid: admin + memberUid: alice + # and all other users + + # path: cn=admin,ou=sudo,dc=yunohost,dc=org + # this entry seems to specify which unix user is a sudoer + cn: admin + sudoCommand: ALL + sudoUser: admin + objectClass: sudoRole + objectClass: top + sudoOption: !authenticate + sudoHost: ALL + Reading users from LDAP -----------------------