0

I would like to modify this snippet so that connections from a certain IP subnet will be accepted without a requirement for authentication.

Is this possible?

TIA

Shaun

<Location "/rssbus">
    AuthBasicProvider ldap
    AuthType Basic
    AuthzLDAPAuthoritative on
    AuthLDAPURL "ldap://blah.com:3628/DC=blah,DC=com?sAMAccountName?sub?(objectClass=*)" STARTTLS
    AuthLDAPBindDN "bdn@eu.blah.com"
    AuthLDAPBindPassword XXXXXXXX
    AuthLDAPRemoteUserIsDN off
    Require valid-user
    Require ldap-group mygroup,OU=IT,OU=Groups,OU=gong,DC=blah,DC=com

    ProxyPass https://stgjo/bus
    ProxyPassReverse https://stgjo/bus

3

You will need to add a Satisfy directive. Like it's described here

So that would give you :

<Location "/rssbus">
    AuthBasicProvider ldap
    AuthType Basic
    AuthzLDAPAuthoritative on
    AuthLDAPURL "ldap://blah.com:3628/DC=blah,DC=com?sAMAccountName?sub?(objectClass=*)" STARTTLS
    AuthLDAPBindDN "bdn@eu.blah.com"
    AuthLDAPBindPassword XXXXXXXX
    AuthLDAPRemoteUserIsDN off
    Require valid-user
    Require ldap-group mygroup,OU=IT,OU=Groups,OU=gong,DC=blah,DC=com
    Order allow,deny
    Allow from your.ip.address.allowed
    Satisfy Any 

    ProxyPass https://stgjo/bus
    ProxyPassReverse https://stgjo/bus
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.