armin.felder created page: add new ldap organisation authored by Armin Felder's avatar Armin Felder
create a second database for a new organisation:
```
dn: olcDatabase={2}mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: {2}mdb
olcDbDirectory: /var/lib/ldap/example
olcSuffix: dc=example,dc=com
olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to * by * read
olcLastMod: TRUE
olcDbCheckpoint: 512 30
olcDbIndex: cn,uid eq
olcDbIndex: member,memberUid eq
olcDbIndex: objectClass eq
olcDbIndex: uidNumber,gidNumber eq
olcDbMaxSize: 1073741824
olcRootDN: cn=admin,dc=example,dc=com
olcRootPW: somepsw
```
add organisation
```ldif
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
dc: example
o: example.com
description: some example organisation
```
\ No newline at end of file