Changes

HTTP Basic authentication against OpenLDAP directory

44 bytes added, 10:21, 9 January 2015
== Load Service User LDIF ==
Load the newly created <code>services-administration.ldif</code> into the OpenLDAP directory:
{{Cmd<source lang="bash">|/usr/bin/ldapadd -W -M -H "ldaps://ldapm.stoney-cloud.org" -x -D "cn{{=}}Manager,dc{{=}}stoney-cloud,dc{{=}}org" -f services-administration.ldif|output=<pre/source><source lang="bash">
Password: ***********
adding new entry "cn=cloud,ou=services,ou=administration,dc=stoney-cloud,dc=org"
</pre>
}}
== Modify the ACL's ==
{{RootCmd<source lang="bash">|$EDITOR /etc/openldap/acl/slapd.acl.people.conf}}</source<source lang="bash">{{File|/etc/openldap/acl/slapd.acl.people.conf||<source lang='bash'>
# cloud needs access to the people subtree
access to dn.base="ou=people,dc=stoney-cloud,dc=org"
by dn.exact="cn=cloud,ou=services,ou=administration,dc=stoney-cloud,dc=org" read
by * break
</source>}} 
[[Category:OpenLDAP directory]]
SLB, editor, reviewer
3,407
edits