Forums / Install & configuration / LDAPEqualSign
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
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.
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.
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...