Skip to content

Commit

Permalink
Update Modify
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 25, 2024
1 parent 1777c4c commit 6ff0097
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 7 additions & 0 deletions modify.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ changetype: modify
replace: userPassword
userPassword: CUSTOM_SERVICE_PASSWORD

dn: olcDatabase={1}mdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by dn="uid=ldapsvcaccount,dc=CUSTOM_ORG,dc=CUSTOM_TLD" read by * break
olcAccess: {1}to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,dc=CUSTOM_ORG,dc=CUSTOM_TLD" write by anonymous auth by * none
olcAccess: {2}to * by self read by dn.exact=cn=admin,dc=CUSTOM_ORG,dc=CUSTOM_TLD write by * none

8 changes: 0 additions & 8 deletions templates/05-svc-service.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,3 @@ objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
userPassword: CUSTOM_SERVICE_PASSWORD

dn: olcDatabase={1}mdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by dn="uid=ldapsvcaccount,dc=CUSTOM_ORG,dc=CUSTOM_TLD" read by * break
olcAccess: {1}to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,dc=CUSTOM_ORG,dc=CUSTOM_TLD" write by anonymous auth by * none
olcAccess: {2}to * by self read by dn.exact=cn=admin,dc=CUSTOM_ORG,dc=CUSTOM_TLD write by * none

0 comments on commit 6ff0097

Please sign in to comment.