Problems with LDAP & Loginhandler

Author Message

Tobias Münch

Monday 23 March 2009 12:57:09 am

Hello,
I'm certanly new to ez publish. I have installed ez Publish 4.1 with the newest eZ components. The last day i have configured my ldap.ini, so I can use our Active Directory server to authenticate. It works really fine.
But when a user logs into eZ Publish with their spezific Username and Password, he is the administrator user. Not only the rights to edit - The Administrator Profil is used by an ldap user.
My Question is now: How can I configure this? That an LDAP-User uses his own eZ Profil(generated with the LDAP.ini). Thanks for Help!

<B>My ldap.ini </b>

LDAPDebugTrace=enabled

LDAPVersion=3
LDAPEnabled=true
LDAPServer=XXXXXXXXXX
LDAPPort=389

LDAPBaseDn=ou--XXXXXXX,dc--XXXXXXXXX,dc--local
LDAPBindUser=XXXXXXXX
LDAPBindPassword=XXXXXXXXX

LDAPSearchScope=sub
LDAPEqualSign=--
LDAPSearchFilters[]

LDAPLoginAttribute=sAMAccountName
LDAPUserGroupType=id
LDAPUserGroup[]=57
LDAPGroupRootNodeId=57

LDAPGroupMappingType=SimpleMapping

LDAPGroupBaseDN=ou--XXXXXXXX,dc--XXXXXXXX,dc--local
LDAPGroupClass=group

LDAPGroupNameAttribute=cn
LDAPGroupMemberAttribute=member

LDAPGroupDescriptionAttribute=description

LDAPUserGroupMap[]
LDAPUserGroupMap[groupa]=ez_groupa
LDAPUserGroupMap[groupb]=ez_groupb

LDAPUserGroupAttributeType=name
LDAPUserGroupAttribute=member
LDAPFirstNameAttribute=givenname

LDAPFirstNameIsCommonName=false
LDAPLastNameAttribute=sn
LDAPEmailAttribute=mail

LDAPEmailEmptyAttributeSuffix=
utf8Encoding=false
KeepGroupAssignment=disabled

Luis-Filipe Antunes

Wednesday 25 March 2009 3:40:31 am

I have the same problem with 4.1

see http://issues.ez.no/IssueView.php?Id=14660

André R.

Wednesday 25 March 2009 7:12:12 am

Added it to roadmap so we'll track it, and hopefully fix it before 4.1.1.
Add any observations you may have in the issue (if it for instance only happens under certain conditions).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andreas Kaiser

Tuesday 31 March 2009 6:30:38 am

This has been fixed in trunk (4.2.0Alpha1) Rev. 23313 & 23314 stable/4.1 (4.1.1) Rev. 23315

More info in http://issues.ez.no/IssueView.php?Id=14660

I have to try the patch, because we are installing a new ezp 4.1 project that has to work with ldap...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Tobias Münch

Wednesday 01 April 2009 6:44:02 am

Thanks for the help. It works with the new ezsession.php.

Looking forward to work more with eZ Publish. Really nice ECMS.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.