---
# System prepended metadata

title: Untitled

---

> dc=example,dc=net
> ├ ou=groups
> │ ├ ou=clubGroups
> │ │ ├ ou=clubMemberGroups
> │ │ └ ou=clubAdminGroups
> │ ├ ou=serviceGroups
> │ └ ou=userGroups
> ├ ou=users
> └ ou=serviceUsers  

## uid=[uid],ou=users,dc=example,dc=net
*objectClass=inetOrgPerson
objectClass=posixAccount
objectClass=re2o-user
objectClass=re2o-adherent **OR** re2o-club*

Represent a re2o account (user or club)
#### Attributes : 
uid: unique id
cn: pseudo (for authentication)
sn: last name for users, name for clubs
givenName: first name for users
mail: email address
jpegPhoto: optionnal photo
roomNumber: room number of the user
userPassword: hash of user's password
gidNumber: POSIX gid
uidNumber: POSIX uid
loginShell: POSIX shell path
homeDirectory: POSIX home directory
re2o-macAddress: mac addresses of the user
re2o-dialupAccess: is the user account active ?
re2o-sshKey: ssh keys for ssh authentication

## uid=[uid],ou=serviceUsers,dc=example,dc=net
*objectClass: applicationProcess
objectClass: simpleSecurityObject*

Represent a re2o service
#### Attributes:

uid: unique id
cn: service name
userPassword: hash of service's password

## uid=[uid],ou=userGroups,ou=groups,dc=example,dc=net
*objectClass: posixGroup*

Represent a group of users
#### Attributes:

uid: unique id
cn: group name
gidNumber: POSIX gid
memberUid: member of this group

##  uid=[uid],ou=serviceGroups,ou=groups,dc=example,dc=net
*objectClass: groupOfNames*

Represent a group of services
#### Attributes:

uid: unique id
cn: group name
member: member of this group

## uid=[uid], ou=clubMemberGroups,ou=clubGroups,ou=groups,dc=example,dc=net
objectClass: groupOfName

Represent the group of a club's members

#### Attributes:
uid: unique id
cn: club name
member: club's member

## uid=[uid], ou=clubAdminGroups,ou=clubGroups,ou=groups,dc=example,dc=net
objectClass: groupOfName

Represent the group of a club's admins

#### Attributes:
uid: unique id
cn: club name
member: club's admin