Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

156
Vistas
Apache 24 with openldap fail to prompt user login

freeBSD 11.3, apache 24 with mod_ldap, mod_authz_ldap loaded in http.conf

here is the configuration for ldap in http.conf

LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

LDAPTrustedGlobalCert CA_BASE64 /usr/local/etc/CA.pem
LDAPTrustedMode SSL

< Directory />
    AuthLDAPURL ldaps://ldap.jackyu.org/dc=jackyu,dc=org?uid
    AuthLDAPGroupAttributeIsDN off
    AuthLDAPGroupAttribute memberUid
    AuthLDAPBindDN cn=pamclient,ou=SystemAdmin,dc=jackyu,dc=org
    AuthLDAPBindPassword xyz
    AuthType basic
    AuthName "Secure Access"
    AuthBasicProvider ldap
    require ldap-group cn=family,ou=group,dc=jackyu,dc=org
    AllowOverride None
    Order deny,allow
    Deny from all
#    AuthzLDAPAuthoritative on (this is removed in apache 24)
< /Directory>

For apapche 22, this configuration works fine, but for apache 24, when user tries to access the site, it shows forbidden (403 error), without prompting user the login popup. User has no chance to login.

This apache 24 server can connect to ldap server in the shell for user authentication. The problem is apache 24 doesn't prompt user login when user tries to access the site.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

here are the configuration works for apache 24

LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

LDAPTrustedGlobalCert CA_BASE64 /usr/local/etc/CA.pem
LDAPTrustedMode SSL

< Directory />
    AuthLDAPURL ldaps://ldap.jackyu.org/dc=jackyu,dc=org?uid
    AuthLDAPGroupAttributeIsDN off
    AuthLDAPGroupAttribute memberUid
    AuthLDAPBindDN cn=pamclient,ou=SystemAdmin,dc=jackyu,dc=org
    AuthLDAPBindPassword xyz
    AuthType basic
    AuthName "Secure Access"
    AuthBasicProvider ldap
    Require ldap-group cn=family,ou=group,dc=jackyu,dc=org
    AllowOverride None
#    Order deny,allow (this is removed in apache 24)
#    Deny from all (this is removed in apache 24)
#    AuthzLDAPAuthoritative on (this is removed in apache 24)
< /Directory>
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda