[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion integrate LDAP

From: Wlllem Dalen <willempietje11_at_gmail.com>
Date: Mon, 28 Nov 2016 12:58:50 +0100

Hi,

Everything i tried and in tried, but it won’t work.

<Location /svn>

    ErrorDocument 404 default

    DAV svn

    SVNParentPath /data/svn

    SVNListParentPath off

    AuthType Basic

    AuthBasicProvider ldap

# file

    AuthName "SVN"

    AuthzSVNAccessFile /etc/httpd/conf/dav_svn.acl

#ldap

    AuthLDAPURL "ldap://ldap-server:389/DC=dep,DC=com?sAMAccountName?
sub?(&(objectClass=*)(memberOf=CN=SVN,OU=User
Groups,OU=Accounts,DC=dep,DC=com))"
NONE

    AuthLDAPBindDN "binddn of the service account"

    AuthLDAPBindPassword "password of the service account to search"

   #Require ldap-group CN=SVN,OU=ASDS,OU=User
Groups,OU=Accounts,DC=dep,DC=com

   Require valid-user

</Location>

ssl-access_log:

 - - [28/Nov/2016:12:40:59 +0100] "GET /svn/se/ HTTP/1.1" 401 381
 - [28/Nov/2016:12:41:12 +0100] "GET /svn/se/ HTTP/1.1" 403 209
[28/Nov/2016:12:41:12 +0100] "GET /favicon.ico HTTP/1.1" 404 209

ssl_error_log:

Mon Nov 28 12:41:12.226892 2016] [authz_svn:error] [pid 29816] [client]
Access denied: 'user' GET se:/

ssl_request_log:

[28/Nov/2016:12:40:59 +0100] TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET
/svn/se/ HTTP/1.1" 381
[28/Nov/2016:12:41:12 +0100] TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET
/svn/se/ HTTP/1.1" 209
[28/Nov/2016:12:41:12 +0100] TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET
/favicon.ico HTTP/1.1" 209

It seems that is an authorization error. When i remove
*AuthzSVNAccessFile /etc/httpd/conf/dav_svn.acl*

then i have access to the repo, and that's not okay.

Is there anyone who can help me?

The system : RedHat 7, SVN:1.7, Apache:2.4

regards
Received on 2016-11-28 12:58:55 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.