Repository LDAP Authentication issue | Server 500 Error

ikcus
ikcus
[B]System Overview:[/B] 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: [URL="http://support.wandisco.com/index.php?/Knowledgebase/Article/View/411/56/ldap-setup"]http://support.wandisco.com/index.php?/Knowledgebase/Article/View/411/56/ldap-setup[/URL] 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] KeepAlive On SSLEngine on SSLCertificateFile openssl/certs/ubersvn.crt SSLCertificateKeyFile openssl/certs/ubersvn.key 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 CustomLog data/logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION [/CODE] Here is another config that fails: [CODE] KeepAlive On SSLEngine on SSLCertificateFile openssl/certs/ubersvn.crt SSLCertificateKeyFile openssl/certs/ubersvn.key 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 CustomLog data/logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION [/CODE] Here are the only warnings and errors I see in the logs [B]CATALNA.OUT[/B] [CODE] [15 Nov 2013 11:05:43] ERROR - Directory: /opt/ubersvn/tomcat/temp/sventon_config/RepositoryBrowser/repositories/svn could NOT be created [/CODE] This directory does get created and the sventon_config.properties is there with the following content [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] [B]UBERSVN.LOG[/B] [CODE] [15 Nov 2013 11:05:43] ERROR (?:?) - Directory: /opt/ubersvn/tomcat/temp/sventon_config/RepositoryBrowser/repositories/svn could NOT be created[/CODE] [B]ERROR.LOG[/B] [CODE][Fri Nov 15 11:05:48 2013] [warn] RSA server certificate CommonName (CN) `ubersvn' does NOT match server name!? [/CODE] [B]SVENTON.LOG[/B] [CODE] 2013-11-15 09:29:37,716 INFO [org.sventon.appl.Application] - 2013-11-15 09:29:37,717 INFO [org.sventon.appl.Application] - 2013-11-15 09:29:37,718 WARN [org.sventon.appl.Application] - 2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - 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] - 2013-11-15 09:29:37,718 INFO [org.sventon.appl.Application] - 2013-11-15 09:29:37,719 INFO [org.sventon.appl.Application] - 2013-11-15 09:29:37,719 INFO [org.sventon.appl.Application] - 2013-11-15 10:29:26,565 INFO [org.sventon.appl.ConfigDirectory] - 2013-11-15 10:29:27,172 INFO [org.sventon.repository.RepositoryChangeMonitorImpl] - 2013-11-15 10:29:27,204 INFO [org.sventon.service.SVNProvider] - 2013-11-15 10:29:27,326 INFO [org.sventon.cache.direntrycache.DirEntryCacheUpdater] - 2013-11-15 10:29:27,340 INFO [org.sventon.cache.logmessagecache.LogMessageCacheUpdater] - 2013-11-15 10:29:27,444 INFO [org.sventon.appl.Application] - 2013-11-15 10:29:27,446 INFO [org.sventon.appl.Application] - 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] - 2013-11-15 10:29:27,492 INFO [org.sventon.appl.Application] - 2013-11-15 10:29:29,882 INFO [org.sventon.appl.Application] - 2013-11-15 10:29:29,882 INFO [org.sventon.appl.Application] - 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] - 2013-11-15 10:29:29,897 INFO [org.sventon.appl.Application] - [/CODE] I have also set apache and tomcat to full DEBUG in logging. Any information would be much appreciated.

1-1 of 1

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
7291 views