- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPWS 2.15 Apache mod_auth_ldap authentication issu...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 07:18 PM
03-26-2006 07:18 PM
HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
we have an issue with apache ldap users authentication - users which have passwords containing characters with accent are not sucessfully authenticated.
Apache httpd.conf:
Alias /test "/usr/share/test"
AuthName "TEST3 domain name and password"
AuthType Basic
Require valid-user
AuthLDAPURL ldap://192.168.22.149:3268/dc=mstest3dom,dc=cz?sAMAccountName?sub?(objectCategory=Person)(objectClass=User)
AuthLDAPBindDN "cn=ldapproxyuser,cn=Users,dc=mstest3dom,dc=cz"
AuthLDAPBindPassword "ldapproxyuser"
AuthLDAPEnabled on
AuthLDAPAuthoritative on
Apache error_log:
[Thu Mar 23 17:32:58 2006] [notice] Apache/2.0.55 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/5.0.4 configured -- resuming normal operations
[Thu Mar 23 17:33:28 2006] [warn] [client 192.168.22.163] [29459] auth_ldap authenticate: user test4 authentication failed; URI /test [ldap_simple_bind_s() to check user credentials failed][Invalid credentials]
[Thu Mar 23 17:33:30 2006] [warn] [client 192.168.22.163] [29459] auth_ldap authenticate: user test4 authentication failed; URI /test [ldap_simple_bind_s() to check user credentials failed][Invalid credentials]
[Thu Mar 23 17:33:30 2006] [warn] [client 192.168.22.163] [29459] auth_ldap authenticate: user test4 authentication failed; URI /test [ldap_simple_bind_s() to check user credentials failed][Invalid credentials]
Environment:
# uname -a
HP-UX hpux B.11.11 U 9000/800 593776517 unlimited-user license
# /opt/hpws/apache/bin/httpd -V
Server version: Apache/2.0.55 HP-UX_Apache-based_Web_Server
Server built: Jan 10 2006 13:36:51
Server's Module Magic Number: 20020903:11
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_PROCESS_LOCK_IS_GLOBAL
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/opt/hpws/apache"
-D DEFAULT_CHROOT_DIR=""
-D SUEXEC_BIN="/opt/hpws/apache/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
#
LDAP server is MS Active Directory (MS Windows 2000 server)
User test4:
has password "test4ž"
ž = 9E (in windows-1250 encoding)
ž = C5 BE (in utf8 encoding)
... after "manual" password encoding to utf8 and copy&paste "test4Ĺľ" user authenticate OK.
Packet sniffer results:
apache@win send passwords utf8 encoded - auth. is OK
apache@hpux send passwords windows-1250 encoded (browser encoding) - auth. ERROR
Other/notes:
Playing with locales/environment variables of apache user does not help.
Is there (in Apache or OS ...) some other way how to tell apache to make utf8 password encoding before its send to LDAP server (mod_charset_lite? ...)?
Thank you,
Michal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 10:57 PM
03-28-2006 10:57 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
have you looked for AuthLDAPCharsetConversion and AuthLDAPConvertFromLanguage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 07:05 PM
03-30-2006 07:05 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
any update on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 07:45 PM
04-10-2006 07:45 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
thank you for ideas, but IMHO this directives are not implemented in this version:
-http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
-# strings /opt/hpws/apache/modules/mod_auth_ldap.so|grep AuthLDAP
Unrecognized value for AuthLDAPAliasDereference directive
Too many AuthLDAPGroupAttribute directives
AuthLDAPCharsetConfig
AuthLDAPFrontPageHack
AuthLDAPEnabled
AuthLDAPDereferenceAliases
AuthLDAPGroupAttributeIsDN
AuthLDAPGroupAttribute
AuthLDAPCompareDNOnServer
AuthLDAPAuthoritative
AuthLDAPRemoteUserIsDN
AuthLDAPBindPassword
AuthLDAPBindDN
AuthLDAPURL
Michal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 07:48 PM
04-10-2006 07:48 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 08:47 PM
04-10-2006 08:47 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
could you please detail the workaround, so that future users with the same problem can benefit from your solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 07:54 PM
04-17-2006 07:54 PM
Re: HPWS 2.15 Apache mod_auth_ldap authentication issue (passwords with accent)
Michal