hi,

i've installed icinga-web 1.3.1, today, but I can't login via ldap, like
with 1.3.0. What I ever write into the auth.xml:

ae:parameter name="ldap_basedn">dc=dc</ae:parameter>

Everytime I get:

Auth.Provider.LDAP connection successfully (ldap://ldap)
[Wed Apr  6 10:22:07 2011] [debug] Auth.Provider.LDAP Prepare LDAPsearch
(base=denny, filter=(objectClass=*))
[Wed Apr  6 10:22:07 2011] [fatal] Uncaught AppKitPHPError: PHP Error
ldap_search(): Search: Invalid DN syntax
(/usr/local/icinga-web/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php:87)
 
(/usr/local/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:20)
[Wed Apr  6 10:22:07 2011] [debug] Auth.Provider.LDAP Error: Invalid DN
syntax (errno=34,resource=928)

So i've changed the basedn directly in
"/usr/local/icinga-web/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php"

and now, the correct base are used:

Object (name=rbg-ldap) initialized
[Wed Apr  6 10:41:35 2011] [debug] Auth.Provider.LDAP Try LDAP connect
(dsn=ldap://ldap,bind=true)
[Wed Apr  6 10:41:35 2011] [debug] Auth.Provider.LDAP got resource
Resource id #928
[Wed Apr  6 10:41:35 2011] [debug] Auth.Provider.LDAP Successfully bind
(dn=)
[Wed Apr  6 10:41:35 2011] [info] Auth.Provider.LDAP connection
successfully (ldap://ldap)
[Wed Apr  6 10:41:35 2011] [debug] Auth.Provider.LDAP Prepare LDAPsearch
(base=cn=accounts,dc=foo, filter=(objectClass=*))
[Wed Apr  6 10:41:37 2011] [info] Auth.Dispatch: Delegate authentication
(not_authoritative=rbg-ldap,user=denny)

but no login :-/

So, I think, its a bug from Debians Sqeeze LDAP PHP?

cu denny


Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to