https://issues.apache.org/bugzilla/show_bug.cgi?id=55622

--- Comment #6 from Jarle Jacobsen <[email protected]> ---
I got it working in my Subversion Edge installation. I copied the
svn_viewvc_httpd.conf file and modified the httpd.conf file to use my version
instead. In the copied version I added the following before the <Location />
element:

<AuthnProviderAlias file csvn-file-users>
  AuthUserFile "C:\csvn\data/conf/svn_auth_file"
</AuthnProviderAlias>

<AuthnProviderAlias ldap ldap-users>
  AuthLDAPUrl
"ldaps://DomainDnsZones.eu.mycompany.com/DC=eu,DC=mycompany,DC=com?sAMAccountName?sub?(&(objectCategory=user)(|(memberOf=CN=CMS
Users Local,OU=Security
Groups,OU=Groups,OU=Norway,OU=TEAD,DC=eu,DC=mycompany,DC=com)(memberOf=CN=CMS
Users Global,OU=Security
Groups,OU=Groups,OU=Norway,OU=TEAD,DC=eu,DC=mycompany,DC=com)))" "SSL"

  AuthLDAPBindDN "CN=someUser,OU=System
Accounts,OU=Norway,OU=TEAD,DC=eu,DC=mycompany,DC=com"
  AuthLDAPBindPassword "MyPassword"

</AuthnProviderAlias>

<AuthnProviderAlias ldap ldap-users-india>
  AuthLDAPUrl
"ldaps://apdc02.ap.mycompany.com/DC=ap,DC=mycompany,DC=com?sAMAccountName?sub?(&(objectCategory=user)(memberOf=CN=SG
IZZ IFZ CMS Users Global,OU=Security
Groups,OU=Groups,OU=India,OU=TEAD,DC=ap,DC=mycompany,DC=com))" "SSL"

  AuthLDAPBindDN "CN=someUser,OU=System
Accounts,OU=Norway,OU=TEAD,DC=eu,DC=mycompany,DC=com"
  AuthLDAPBindPassword "MyPassword"

</AuthnProviderAlias>



The Location element for root is modified to look like this:

# Apache will issue sub_req for PATH_INFO on ScriptAlias which
# gives a spurious error message. Setting auth at root level to avoid clogging
logs.
<Location />
  AuthType Basic
  AuthName "CollabNet Subversion Repository"
  AuthBasicProvider csvn-file-users ldap-users ldap-users-india
  LDAPReferrals Off

  Require valid-user
</Location>


I'm using Subversion Edge 4.0.3 with Apache Http Server 2.4.6. I already had
the server configured for LDAP and File auth so the required modules was
already included in the conf files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to