Apache Subversion Ldap Internal Server Error
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more [ldap_search_ext_s() for user failed][operations error] about Stack Overflow the company Business Learn more about hiring developers or posting tortoise svn 500 internal server error ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site subversion 500 internal server error for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to
Unexpected Http Status 500 Internal Server Error On Svn
the top LDAP Authentication fails with 500 or 401 depending on bind for Apache2 up vote 3 down vote favorite 1 I'm setting up LDAP authentication for our Subversion repository hosted through Apache on a RHEL 5 system. I run into two different issues when I try to authenticate against Active Directory. Dav svn SvnParentPath /srv/subversion SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthBasicProvider ldap AuthLDAPBindDN "cn=userfoo,ou=Service Accounts,ou=User ldap ldap_simple_bind failed invalid credentials Accounts,dc=my,dc=example,dc=com" AuthLDAPBindPassword "mypass" AuthLDAPUrl "ldap://my.example.com:389/ou=User Accounts,dc=my,dc=example,dc=com?sAMAccountName?sub?(objectClass=user)" NONE Require valid-user If I use the above configuration it continually prompts me with the Basic prompt and I have to eventually select Cancel, which returns a 401 (Authorization Required). If I comment out the bind parts it returns 500 (Internal Server Error), griping that authentication failed: [Mon Nov 02 12:00:00 2009] [warn] [client x.x.x.x] [10744] auth_ldap authenticate: user myuser authentication failed; URI /svn [ldap_search_ext_s() for user failed][Operations error] When I perform the bind using ldapsearch and filter for a simple attribute it returns correctly: ldapsearch -h my.example.com -p 389 -D "cn=userfoo,ou=Service Accounts,ou=User Accounts,dc=my,dc=example,dc=com" -b "ou=User Accounts,dc=my,dc=example,dc=com" -w - "&(objectClass=user)(cn=myuser)" sAMAccountName Unfortunately I have no control or insight into the AD part of the system, only the RHEL server. Does anyone know what the hang up is here? apache-2.2 active-directory svn ldap redhat share|improve this question asked Nov 3 '09 at 1:03 Erik 123118 What does apache error_log say? –Rilindo Oct 23 '11 at 0:22 It's the code block just after the griping that authentication failed: statement. –Erik Nov 7 '11 at 22:45 add a comment| 5 Answers 5 active oldest votes up vote 1 down vote I had the same problem. The identical configuration i
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of auth_ldap authenticate user authentication failed this site About Us Learn more about Stack Overflow the company Business Learn
Authzldapauthoritative
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Authldapurl
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up http://serverfault.com/questions/80762/ldap-authentication-fails-with-500-or-401-depending-on-bind-for-apache2 Svn/Apache user access “500 Internal Error” “Need AuthName” issue up vote 2 down vote favorite 1 Trying to setup SVN to use HTTP, with the user/auth user access files. I have the following in the subversion.conf for the Apache Server: DAV svn SVNPath /apps/CollegeDir/CollegeRepository/ AuthzSVNAccessFile /asvn/svnAccessAuthz AuthType Basic # AuthName "Subversion Repository" AuthUserFile /asvn/svnUserAuthz Require valid-user # # # Limit write permission http://stackoverflow.com/questions/5348229/svn-apache-user-access-500-internal-error-need-authname-issue to list of valid users. # # # Require SSL connection for password protection. # # SSLRequireSSL # # AuthType Basic # AuthName "Authorization Realm" # AuthUserFile /path/to/passwdfile # Require valid-user # I have the following in the user/password auth files (each file is set to apache/apache/766 as a test) /asvn/svnAccessAuthz [/] * = rw [/repos] * = rw [/repos/trunk] * = rw [repos:/] * = rw [repos:/trunk] * = rw [/trunk] * = rw /asvn/svnUserAuthz bill:$apr1$NsGWbE/9$695MXkrm8x06hMabC3Hu71 the svnUserAuthz file was create using: htpasswd -mb /etc/svnUserAuthz bill qqqqqq When I try to access the repos, using the following i get the Internal 500 error, with the "Need Authname /foo" in the apache err logs. svn list --username bill --password qqqqqq http://192.168.1.45/repos svn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for 'http://192.168.1.45/repos' the error_log is: [Thu Mar 17 21:08:38 2011] [error] [client 192.168.1.45] need AuthName: /repos/ [Thu Mar 17 21:08:43 2011] [error] [client 192.168.1.45] need AuthName: /repos/trunk if I comment out the # AuthzSVNAccessFile /asvn/svnAccessAuthz # AuthType Basic # AuthName "Subversion Repository" # AuthUserFile /asvn/svnUserAu
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta http://superuser.com/questions/426055/having-trouble-setting-up-subversion-with-ldap-authentication Discuss the workings and policies of this site About Us Learn more https://bz.apache.org/bugzilla/show_bug.cgi?id=50630 about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a internal server minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Having trouble setting up Subversion with LDAP authentication up vote 1 down vote favorite I am trying to setup an SVN repository using LDAP authentication. I have configured the SVN authentications in internal server error dav_svn.conf as outlined here: http://www.itguyonline.com/blog/2007/05/02/ldap-authentication-for-subversion-on-ubuntu-feisty/ My current configuration is like this: DAV svn SVNParentPath /mnt/svn AuthType Basic AuthBasicProvider ldap AuthName "Subversion Repository" AuthLDAPBindDN "" AuthLDAPBindPassword Require valid-user I got the bind url from Softerra LDAP Browser. Also, I know that the LDAP server is setup correct because we have had other services authenticating with it. When I try to access the repository in my web browser, I can see the login dialog. However, when I enter a correct username and password, it just goes back to an empty login dialog again. This is using port 389. When I change to 636, I get an internal server error after the login dialog. Does anyone have any suggestions? Am I missing a key step? Thanks, Alan apache-http-server svn authentication ldap share|improve this question asked May 18 '12 at 14:53 Alan Spark 148212 prowser continuosly ask you for credentials because cannot verify authentication with ldap. First use any ldap browser (for example apache directory studio) and try connect to ld
Login: [x] First Last Prev Next This bug is not in your last search results. Bug50630 - Apache return 500 error with authentication by LDAP secure port (ldaps) Summary: Apache return 500 error with authentication by LDAP secure port (ldaps) Status: NEW Product: Apache httpd-2 Classification: Unclassified Component: mod_authz_ldap Version: 2.2.13 Hardware: PC Linux Importance: P2 normal with 3 votes (vote) TargetMilestone: --- Assigned To: Apache HTTPD Bugs Mailing List URL: Keywords: Depends on: Blocks: Show dependency tree Reported: 2011-01-21 08:36 UTC by Ignasi Modified: 2014-05-30 07:08 UTC (History) CC List: 3 users (show) bugs d.george Scott.A.Hendrickson Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Ignasi 2011-01-21 08:36:03 UTC We have Linux RHEL6 with httpd 2.2.15, and after loged with LDAP username and password, apache return 500 error. Return this error only if you use ldaps (port 636), for ldap (port 389) works fine. No information available about this error in the server error log. With the follow configuration: # vim: syntax=apache SSLEngine On SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM SSLCertificateFile /etc/pki/tls/certs/xxx.crt SSLCertificateKeyFile /etc/pki/tls/private/xxxxxxxxx.key ServerName xxxxxxxxxx ServerAlias xxxxxxxxxxxxx DocumentRoot /var/www/xxxxxxxx # Specific configuration SetHandler server-status AuthType Basic AuthName "Admin xxxxxx" AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPURL ldaps://ldap.xxxxxxxx.com/ou=People,dc=xxxxx,dc=com?uid?one Require ldap-user xxxx xxxx ErrorLog logs/xxxxxxxx-ssl-error_log CustomLog logs/xxxxxxxxx-ssl-access_log combined Modules loaded: auth_basic_module ldap_module authnz_ldap_module The same configuration works with RHEL5.x and httpd 2.2.3 Comment 1 Eric Covener 2011-01-21 09:16:26 UTC Set LogLevel debug and attach the messages that accompany the LDAP authentication/authorization. If you don't see any, you're not looking in the right log. Comment 2 Ignasi 2011-01-21 10:01:23 UTC We stopped httpd, we deleted all the logs and then we started httpd and tried to access the site, just once. Apache does not write anything in any error log file when the 500 Internal Server Error happens. # ls -al /var/log/httpd/ total 16 drwx------. 2 ap