Setting up LDAP for a vhost using puppetlabs-apache module

asked 2016-06-28 11:29:29 -0500

RHuffman gravatar image

Hello, we're trying to set up the following LDAP authentication information:

    AuthBasicProvider file ldap

    #legacy file (or set it to /dev/null
    AuthUserFile /etc/thruk/htpasswd

    AuthLDAPURL "ldap://redacted.com/ou=People,dc=int,dc=redacted,dc=com?cn??(objectClass=inetOrgPerson)" TLS
    AuthLDAPBindDN cn=proxy,dc=int,dc=redacted,dc=com
    AuthLDAPBindPassword redacted
    Require ldap-group cn=users,ou=Restricted,ou=ApplicationGroups,dc=int,dc=redacted,dc=com
    Require ip 127.0.0.1

</location>

Thus far we have had no joy, with puppet choking on any attempt to add the directives. How would you do this?

Thanks in advance!

edit retag flag offensive close merge delete