Forums / Install & configuration / Problems with LDAP & Loginhandler

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.

eZ debug

Timing: Jan 30 2025 21:46:28
Script start
Timing: Jan 30 2025 21:46:28
Module start 'content'
Timing: Jan 30 2025 21:46:28
Module end 'content'
Timing: Jan 30 2025 21:46:28
Script end

Main resources:

Total runtime0.3299 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.0469370.2891
Module start 'content' 0.00790.0159 958.33591,005.7031
Module end 'content' 0.02380.3060 1,964.03913,895.4922
Script end 0.3298  5,859.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00481.4581200.0002
Check MTime0.00150.4423200.0001
Mysql Total
Database connection0.00070.202510.0007
Mysqli_queries0.227468.94191410.0016
Looping result0.00140.43391390.0000
Template Total0.305592.610.3055
Template load0.00090.277110.0009
Template processing0.304692.340210.3046
Override
Cache load0.00070.198910.0007
Sytem overhead
Fetch class attribute can translate value0.00180.557810.0018
XML
Image XML parsing0.00030.088210.0003
General
dbfile0.00591.7811200.0003
String conversion0.00000.002430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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