Forums / Install & configuration / LDAPEqualSign

LDAPEqualSign

Author Message

cliffp pratt

Thursday 21 October 2010 6:57:53 pm

I have LDAPEqualSign set to '--' on override/ldap.ini.append.php. However from a tcpdump it appears that this is not being used. See below. This is in 4.0.7 updated from 3.8.

LDAPEqualSign=--

Any ideas?

Cheers,

Cliff

TCPDUMP:

14:24:33.975600 IP xxxxxxxxxxxxx.39535 > yyyyyyyyyyyyyyyy.ldap: P 1:89(88) ack 1 win 46 <nop,nop,timestamp 360614234 0>
0x0000: 4500 008c 326c 4000 4006 7b02 ac14 1fd2 E...2l@.@.{.....
0x0010: ac14 1503 9a6f 0185 34c3 bb2b 51dc b869 .....o..4..+Q..i
0x0020: 8018 002e 8d7c 0000 0101 080a 157e 895a .....|.......~.Z
0x0030: 0000 0000 3056 0201 0160 5102 0103 0440 ....0V...`Q....@
0x0040: 434e 2d2d 496e 7472 616e 6574 2053 6572 CN--Intranet.Ser
0x0050: 7665 722c 4f55 2d2d 444d 2050 6574 6f6e ver,OU--DM.Peton
0x0060: 652c 4f55 2d2d 5f55 7365 7273 2c44 432d e,OU--_Users,DC-
0x0070: 2d69 736f 7461 6368 2c44 432d 2d63 6f6d -isotach,DC--com
0x0080: 800a xxxx xxxx xxxx xxxx xxxx ..xxxxxxxxxxx

André R.

Friday 22 October 2010 4:37:07 am

What setting are you using -- on ?

Some settings did not use LDAPEqualSign, like BindUser and GroupBaseDN, it was improved in 4.1:

http://github.com/ezsystems/ezpublish/commit/559c4267fbecfffcd554221164786cd8b781e71a

Changes in question:

$LDAPBindUser = str_replace( $LDAPEqualSign, "=", $LDAPBindUser );

and

$LDAPGroupBaseDN = str_replace( $LDAPEqualSign, '=', $LDAPGroupBaseDN );

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

cliffp pratt

Saturday 23 October 2010 3:33:50 pm

Ah, I'm using it on LDAPBindUser. I've already had a brief look at ezldapuser.php. I'm unwilling to change base code unless I have to, but I'll have a go. I can't believe that I am the only one to have this problem!

I'm currently stuck on 4.0.7 trying to get it to work, having upgraded stepwise from 3.8. I tried upgrading to 4.2.0 stepwise, but not testing at each step, using the upgrade documents, but I ended up with a 4.2.0 which had many problems. I've therefore gone back to the start and upgraded stepwise to 4.0.7, testing at each step.

This has already taken aeons longer than it should and naturally people are getting impatient. And I'm getting very frustrated. Many thanks for your help. I don't think that I could have got this far without help from yourself and the forums.

Cheers,

Cliff

André R.

Sunday 24 October 2010 2:31:41 am

You can alternatively grab ezldapuser.php from svn / git stable/4.1 branch, but if you do you'll also need to download ldap.ini to make sure default values for new settings gets correct value.

As for upgrading, that is a tricky issue.
Form 3.x to 4.x you have encoding, url alias issue and a bunch of other stuff to look out for. Double check that your tables are innodb and utf8 before you launch the 4.0 site.

In 4.1.4 you have lots of handler settings that where changed to use autoloading, and in 4.2 there was changes to ezxmltext that caused issues for old content that wasn't really fixed before 4.4 (most of the issues where fixed in 4.3 though).
You should try ezupgrade maybe, doesn't solve anything but does make upgrading a bit easier.

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

cliffp pratt

Monday 25 October 2010 3:17:25 pm

I grabbed the ezldapuser.php from the 4.1.4 tarball, and it works, thanks!!

On to the next problem...

Cheers,

Cliff

eZ debug

Timing: Jan 18 2025 02:58:22
Script start
Timing: Jan 18 2025 02:58:22
Module start 'content'
Timing: Jan 18 2025 02:58:23
Module end 'content'
Timing: Jan 18 2025 02:58:23
Script end

Main resources:

Total runtime0.6726 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1328180.8516
Module start 'content' 0.00630.5563 769.9844569.9297
Module end 'content' 0.56250.1100 1,339.9141337.3828
Script end 0.6725  1,677.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5885210.0002
Check MTime0.00150.2224210.0001
Mysql Total
Database connection0.00100.144110.0010
Mysqli_queries0.599189.07832010.0030
Looping result0.00190.27581990.0000
Template Total0.647596.320.3238
Template load0.00210.306320.0010
Template processing0.645495.962020.3227
Template load and register function0.00020.024210.0002
states
state_id_array0.00110.170510.0011
state_identifier_array0.00080.114920.0004
Override
Cache load0.00180.2640470.0000
Sytem overhead
Fetch class attribute can translate value0.00130.195030.0004
Fetch class attribute name0.00100.155160.0002
XML
Image XML parsing0.00100.149630.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00370.5450280.0001
String conversion0.00000.001330.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs