System Overview:
OS Ubuntu 12.04.3 LTS
uberSVN #13.2-3153 SVN - 1.7 Running in HTTPS
Active Directory Services Win2K8R2
First off thanks for the video on setting up the LDAP URL in uberSVN. I will share the link again for others as it was a big help with the URL syntax:
http://support.wandisco.com/index.ph.../56/ldap-setup
I was able to import users with no issues following this tutorial.
I also can get uberSVN working (in HTTPS) with no issues while using uberSVN Internally Managed Authentication for the repositories using a local uberSVN account.
As soon as I select LDAP Active Directory Authentication for the repository, and restart the service, I get a login dialog box. After entering either an LDAP account or a local uberSVN user account I get a Server 500 error. I have tried multiple configuration in the repositories.conf file but have yet to figure it out.
Here is one config that fails:
Here is another config that fails:
Here are the only warnings and errors I see in the logs
CATALNA.OUT
This directory does get created and the sventon_config.properties is there with the following content
UBERSVN.LOG
ERROR.LOG
SVENTON.LOG
I have also set apache and tomcat to full DEBUG in logging. Any information would be much appreciated.
OS Ubuntu 12.04.3 LTS
uberSVN #13.2-3153 SVN - 1.7 Running in HTTPS
Active Directory Services Win2K8R2
First off thanks for the video on setting up the LDAP URL in uberSVN. I will share the link again for others as it was a big help with the URL syntax:
http://support.wandisco.com/index.ph.../56/ldap-setup
I was able to import users with no issues following this tutorial.
I also can get uberSVN working (in HTTPS) with no issues while using uberSVN Internally Managed Authentication for the repositories using a local uberSVN account.
As soon as I select LDAP Active Directory Authentication for the repository, and restart the service, I get a login dialog box. After entering either an LDAP account or a local uberSVN user account I get a Server 500 error. I have tried multiple configuration in the repositories.conf file but have yet to figure it out.
Here is one config that fails:
Code:
<VirtualHost *:443>
KeepAlive On
SSLEngine on
SSLCertificateFile openssl/certs/ubersvn.crt
SSLCertificateKeyFile openssl/certs/ubersvn.key
<Location /svn>
DAV svn
SVNPath "/vault/svn"
AuthType Basic
AuthName "svn"
AuthBasicProvider domain.com
AuthzLDAPAuthoritative off
AuthLDAPBindAuthoritative off
Require valid-user
AuthzSVNAccessFile "/opt/ubersvn/conf/svn.authz"
Order deny,allow
Allow from all
SVNAutoversioning On
</Location>
CustomLog data/logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
</VirtualHost>
Code:
<VirtualHost *:443>
KeepAlive On
SSLEngine on
SSLCertificateFile openssl/certs/ubersvn.crt
SSLCertificateKeyFile openssl/certs/ubersvn.key
<Location /svn>
DAV svn
SVNPath "/vault/svn"
AuthType Basic
AuthName "svn"
AuthBasicProvider domain.com
AuthzLDAPAuthoritative off
AuthLDAPBindAuthoritative off
AuthLDAPGroupAttribute memberOf
AuthLDAPGroupAttributeIsDN on
Require ldap-group CN=ubersvn-users,OU=UBERSVN,DC=domain,DC=com
AuthzSVNAccessFile "/opt/ubersvn/conf/svn.authz"
Order deny,allow
Allow from all
SVNAutoversioning On
</Location>
CustomLog data/logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
</VirtualHost>
CATALNA.OUT
Code:
[15 Nov 2013 11:05:43] ERROR - Directory: /opt/ubersvn/tomcat/temp/sventon_config/RepositoryBrowser/repositories/svn could NOT be created
Code:
useCache=false
cacheUserPassword=
repositoryRootUrl=https://vmp-svn-002.domain.com:443/svn
rssTemplateFile=/rsstemplate.html
allowZipDownloads=false
mailTemplateFile=/mailtemplate.html
enableEntryTray=true
enableAccessControl=true
repositoryDisplayRootUrl=https://vmp-svn-002.domain.com:443/svn
cacheUserName=
userName=
enableIssueTrackerIntegration=false
rssItemsCount=20
userPassword=
Code:
[15 Nov 2013 11:05:43] ERROR (?:?) - Directory: /opt/ubersvn/tomcat/temp/sventon_config/RepositoryBrowser/repositories/svn could NOT be created
Code:
[Fri Nov 15 11:05:48 2013] [warn] RSA server certificate CommonName (CN) `ubersvn' does NOT match server name!?
Code:
2013-11-15 09:29:37,716 INFO [org.sventon.appl.Application] - <Starting Application reinitialization.>
2013-11-15 09:29:37,717 INFO [org.sventon.appl.Application] - <Loading repository config: svn>
2013-11-15 09:29:37,718 WARN [org.sventon.appl.Application] - <Configuration property file did exist but did not contain any configuration values>
2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - <Reloading configurations:>
2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - < added: [RepositoryConfiguration{repositoryName=svn}]>
2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - < removed: []>
2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - <Initializing caches>
2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - <Caches initialized ok>
2013-11-15 09:29:37,719 INFO [org.sventon.appl.Application] - <Cleaning up config directories.>
2013-11-15 09:29:37,719 INFO [org.sventon.appl.Application] - <Application reinitialization completed.>
2013-11-15 10:29:26,565 INFO [org.sventon.appl.ConfigDirectory] - <Config root directory for current servlet context set to: /opt/ubersvn/tomcat/temp/sventon_config/RepositoryBrowser>
2013-11-15 10:29:27,172 INFO [org.sventon.repository.RepositoryChangeMonitorImpl] - <Starting repository monitor>
2013-11-15 10:29:27,204 INFO [org.sventon.service.SVNProvider] - <Found SVNProvider: class org.sventon.service.javahl.JavaHLSVNProvider>
2013-11-15 10:29:27,326 INFO [org.sventon.cache.direntrycache.DirEntryCacheUpdater] - <Starting>
2013-11-15 10:29:27,340 INFO [org.sventon.cache.logmessagecache.LogMessageCacheUpdater] - <Starting>
2013-11-15 10:29:27,444 INFO [org.sventon.appl.Application] - <Initializing sventon version 0.1 beta>
2013-11-15 10:29:27,446 INFO [org.sventon.appl.Application] - <Loading repository config: svn>
2013-11-15 10:29:27,492 INFO [org.sventon.appl.Application] - <1 repository configuration(s) loaded>
2013-11-15 10:29:27,492 INFO [org.sventon.appl.Application] - <Initializing caches>
2013-11-15 10:29:27,492 INFO [org.sventon.appl.Application] - <Caches initialized ok>
2013-11-15 10:29:29,882 INFO [org.sventon.appl.Application] - <Starting Application reinitialization.>
2013-11-15 10:29:29,882 INFO [org.sventon.appl.Application] - <Loading repository config: svn>
2013-11-15 10:29:29,883 INFO [org.sventon.appl.Application] - <1 repository configuration(s) loaded>
2013-11-15 10:29:29,897 INFO [org.sventon.appl.Application] - <New config same as old. Configuration unchanged.>
2013-11-15 10:29:29,897 INFO [org.sventon.appl.Application] - <Application reinitialization completed.>