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.

eZ debug

Timing: Jan 18 2025 16:09:38
Script start
Timing: Jan 18 2025 16:09:38
Module start 'layout'
Timing: Jan 18 2025 16:09:38
Module start 'content'
Timing: Jan 18 2025 16:09:38
Module end 'content'
Timing: Jan 18 2025 16:09:38
Script end

Main resources:

Total runtime0.0140 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.4609152.6406
Module start 'layout' 0.00490.0024 742.101639.4766
Module start 'content' 0.00730.0046 781.578193.4922
Module end 'content' 0.01190.0020 875.070338.3047
Script end 0.0139  913.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.7913140.0002
Check MTime0.00128.4033140.0001
Mysql Total
Database connection0.00064.095210.0006
Mysqli_queries0.002215.561430.0007
Looping result0.00000.107310.0000
Template Total0.001611.510.0016
Template load0.00086.023510.0008
Template processing0.00085.395010.0008
Override
Cache load0.00064.144610.0006
General
dbfile0.00021.487180.0000
String conversion0.00000.063040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs