Created
July 3, 2016 16:38
-
-
Save oko/a189b637492abbfb5fdc3c584aa2928d to your computer and use it in GitHub Desktop.
Pulp LDAP setup with FreeIPA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files webservices.wsgi> | |
# pass everything that isn't a Basic auth request through to Pulp | |
SetEnvIfNoCase ^Authorization$ "Basic.*" USE_APACHE_AUTH=1 | |
Order allow,deny | |
Allow from env=!USE_APACHE_AUTH | |
Satisfy Any | |
AuthType Basic | |
AuthBasicProvider ldap | |
AuthName "Pulp Login" | |
AuthLDAPUrl "ldap://hostname/cn=users,cn=accounts,dc=example,dc=com?uid?sub?(memberOf=cn=group,cn=groups,cn=accounts,dc=example,dc=com)" | |
AuthLDAPBindDN "uid=service-account,cn=sysaccounts,cn=etc,dc=example,dc=com" | |
AuthLDAPBindPassword "" | |
AuthLDAPRemoteUserAttribute uid | |
#AuthzLDAPAuthoritative On | |
Require valid-user | |
WSGIPassAuthorization On | |
WSGIProcessGroup pulp | |
WSGIApplicationGroup pulp | |
SSLRenegBufferSize 1048576 | |
SSLRequireSSL | |
SSLVerifyDepth 3 | |
SSLOptions +StdEnvVars +ExportCertData | |
SSLVerifyClient optional | |
</Files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: uid=service-account,cn=sysaccounts,cn=etc,dc=example,dc=com | |
changetype: add | |
objectclass: account | |
objectclass: simplesecurityobject | |
uid: service-account | |
userPassword: password | |
passwordExpirationTime: 20380119031407Z | |
nsIdleTimeout: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment