You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/11/27 01:58:14 UTC

DO NOT REPLY [Bug 41042] New: - LDAP auth fails: Could not set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41042

           Summary: LDAP auth fails: Could not set LDAP_OPT_X_TLS to
                    LDAP_OPT_X_TLS_HARD
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authn_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: e61559@ems.rmit.edu.au


LDAP authentication fails when using SSL with the following error:

[debug] mod_authnz_ldap.c(373): [client 131.170.25.205] [14315] auth_ldap
authenticate: using URL ldap://my.ldap.server/o=myorg?cn?sub
[warn] [client 131.170.25.205] [14315] auth_ldap authenticate: user username
authentication failed; URI /ldap-status [LDAP: ldap_set_option failed. Could not
set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD][Unknown error]

I'm using Apache-2.2.3 with OpenLDAP 2.3.30 built with Sun C 5.8 Patch 121015-02
2006/03/29.

I can fire off the equivalent query using ldapsearch and it works fine, so I
suspect mod_ldap is involved somehow.

The config I'm using for this is:
<IfModule ldap_module>
   LDAPTrustedGlobalCert CA_BASE64 /www/my-cert.pem
   <Location /ldap-status>
      SetHandler ldap-status
      AuthType basic
      AuthName "NDS Username and Password"
      AuthBasicProvider ldap
      AuthUserFile /dev/null
      AuthLDAPURL ldap://my.lpap.server/o=myorg?cn?sub SSL
      AuthzLDAPAuthoritative off
      require valid-user
   </Location>
</IfModule>

Using an 'ldaps://' URL makes no difference.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41042] - LDAP auth fails: Could not set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41042


e61559@ems.rmit.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41042] - LDAP auth fails: Could not set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41042


e61559@ems.rmit.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From e61559@ems.rmit.edu.au  2006-11-26 21:36 -------
Fixed.

See resolution to bug #41041.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41042] - LDAP auth fails: Could not set LDAP_OPT_X_TLS to LDAP_OPT_X_TLS_HARD

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41042>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41042


e61559@ems.rmit.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From e61559@ems.rmit.edu.au  2006-11-26 21:37 -------
Fixed.

*** This bug has been marked as a duplicate of 41041 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org