Skip to content

Instantly share code, notes, and snippets.

@rhizoome
Last active April 4, 2018 14:52
Show Gist options
  • Save rhizoome/fe3530cc59fc7668968e90e437c2bdd5 to your computer and use it in GitHub Desktop.
Save rhizoome/fe3530cc59fc7668968e90e437c2bdd5 to your computer and use it in GitHub Desktop.
root@e4140f069f31:/# slapadd -b cn=config
dn: olcDatabase={1}mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: {1}mdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=edubs,dc=ch
olcLastMod: TRUE
olcRootDN: cn=admin,dc=edubs,dc=ch
olcRootPW:: e1NTSEF9V3c3MTV3NmlJUlpzdktSMWVFSW95OWZNQlZWNk1uNlY=
olcDbCheckpoint: 512 30
olcDbMaxSize: 1073741824
structuralObjectClass: olcMdbConfig
entryUUID: fdc2a8c0-cc5e-1037-8f28-0ffb4cee4511
creatorsName: cn=admin,cn=config
createTimestamp: 20180404141955Z
olcAccess: to * by * read
olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by dn="cn
=admin,dc=edubs,dc=ch" write by anonymous auth by * none
olcAccess: {1}to * by self write by dn="cn=admin,dc=edubs,dc=ch" write by *
none
olcDbIndex: uid eq
olcDbIndex: mail eq
olcDbIndex: memberOf eq
olcDbIndex: entryCSN eq
olcDbIndex: entryUUID eq
olcDbIndex: objectClass eq
entryCSN: 20180404141955.896673Z#000000#000#000000
modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
modifyTimestamp: 20180404141955Z
slapadd: dn="olcDatabase={1}mdb,cn=config" (line=1): no objectClass attribute
@hairmare
Copy link

hairmare commented Apr 4, 2018

objectClass: olcDatabaseConfig
objectClass: olcMdbConfig

@rhizoome
Copy link
Author

rhizoome commented Apr 4, 2018

dn: olcDatabase={1}mdb,cn=config
olcAccess: to * by * read

adding new entry "olcDatabase={1}mdb,cn=config"
ldap_add: Insufficient access (50)```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment