httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Strullato" <>
Subject [users@httpd] AuthLDAPURL and object not found
Date Tue, 18 Mar 2008 10:47:32 GMT
Hi all, I'm trying to authenticate users with ldap. I added to
httpd.confthe following lines

<Location "/4.4">
  AuthType Basic
  AuthName "Secure Area"
  AuthzLDAPAuthoritative On
  AuthBasicProvider ldap
  AuthLDAPBindDN "cn=Directory Manager"
  AuthLDAPBindPassword "<password>"
  Require valid-user

but I cannot authenticate: I get
[Tue Mar 18 10:56:23 2008] [debug] mod_authnz_ldap.c(373): [client]
[3871] auth_ldap authenticate: using URL
[Tue Mar 18 10:56:23 2008] [warn] [client] [3871] auth_ldap
authenticate: user <USER> authentication failed; URI /4.4
[ldap_search_ext_s() for user failed][No such object]
[Tue Mar 18 10:56:23 2008] [error] [client] user <USER> not found:

This is a typical ldif I use:

dn: uid=<UID>,<BASE_DN>
uid: <UID>
modifyTimestamp: 20070910071722Z
modifiersName: cn=directory manager
sudoUser: ALL
sudoRunAs: root
sudoOption: ALL
sudoCommand: ALL
sudoHost: ALL
sshPublicKey: 0000000000000000000
objectClass: top
objectClass: posixaccount
objectClass: shadowaccount
objectClass: hostobject
objectClass: account
objectClass: sudorole
objectClass: ldappublickey
host: <HOSTNAME>
uidNumber: 585
cn: <CN>
loginShell: /bin/bash
gidNumber: 100
homeDirectory: /home/<UID>
userPassword: {SSHA}<PASSWORD>
creatorsName: cn=directory manager
gecos: <GECOS>

Do you suggest me how to change the AuthLDAPURL?


Marco Strullato

View raw message