I am in the process of setting up a domino server as an LDAP server to enable authentication through a Apache Proxy server.
I have set up the Domino LDAP service and this seems to be running fine on the server. The ldapsearch utility runs and returns results, but when I try to authenticate through Apache it fails with …
LDAP> Bind failed: Username / password binds not allowed
I can see if finds the user but authentication is not working, I have listed the full Domino server log entries and also the relevant lines from my Apache config.
If anyone has had the same probelm or knows how to get this work, would be great to hear from you.
Apache lines
######################
<Location /secure >
AuthType Basic
AuthName “LDAP”
AuthLDAPAuthoritative on
AuthLDAPEnabled on
AuthLDAPUrl ldap://host/
Require valid-user
Domino Log
########################
08/07/2005 12:17:26.50 [0B30:0007-0A68] LDAP CIServ Listen> Connection Accepted on Port 389 for Session 154D0002
08/07/2005 12:17:26.50 [0B30:0009-09FC] LDAP> InitForSearch
08/07/2005 12:17:26.50 [0B30:0009-09FC] LDAP> InitForSearch
08/07/2005 12:17:26.50 [0B30:0009-09FC] LDAP> BERGetTag State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> BERGetLeadingLengthByte State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> BERGetNext State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> Bind State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> Version: 3
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> DN:
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> Method: 0x80 (Simple)
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> Successful bind for Anonymous User
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> Return Result State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> StateReturnResult returning result Code 0 (Success)
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> SendBufferFree
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> InitForSearch
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> BERGetTag State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> BERGetLeadingLengthByte State
08/07/2005 12:17:26.51 [0B30:0009-09FC] LDAP> BERGetNext State
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Search State
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Scope: SUBTREE
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Dereference Aliases: 3
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> TimeLimit: 0
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> SizeLimit: 0
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Attributes to return: ALL
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Base:
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Filter: (&(objectclass=*)(uid=admin))
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Found entry in LDAP QR Cache.
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Hits:1
08/07/2005 12:17:26.53 [0B30:0009-09FC] LDAP> Return Result State
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> StateReturnResult returning result Code 0 (Success)
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> SendBufferFree
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> InitForSearch
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> BERGetTag State
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> BERGetLeadingLengthByte State
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> BERGetNext State
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> Bind State
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> Version: 3
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> DN: CN=TNS Administrator,O=TNSDemo
08/07/2005 12:17:26.55 [0B30:0009-09FC] LDAP> Method: 0x80 (Simple)
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> Bind failed: Username / password binds not allowed
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> Return Result State
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> StateReturnResult returning result Code 48 (Inappropriate authentication)
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> SendBufferFree
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> InitForSearch
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> BERGetTag State
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> BERGetLeadingLengthByte State
08/07/2005 12:17:26.57 [0B30:0009-09FC] LDAP> BERGetNext State
08/07/2005 12:17:26.59 [0B30:0009-09FC] LDAP> UnBind State
08/07/2005 12:17:26 LDAP Server: 192.30.102.52 connected
08/07/2005 12:17:26 LDAP Server: 192.30.102.52 disconnected