Forums / Install & configuration / LDAPS with ez publish

LDAPS with ez publish

Author Message

Pavanred

Monday 13 December 2010 12:56:36 am

I am new to ez publish. I found some documentation to use LDAP authentication for ez publish, I made the changes required to the configuration files but am not able to get LDAPS authentication to work with ez publish. How can I get LDAPS to work with ezpublish? Is there anything else I have to do to get it to work? Can LDAPS be used with ezpublish?

My blog - http://www.pavankumar.info

Maxime Thomas

Monday 13 December 2010 4:59:54 am

First of all, you must know on what you want to connect and where it is.

You have to get the LDAP URI (something like ldap:://mydomain.com:389) and the DN (something cn=admin,dn=mydomain,dn=com).

Then, you need to make an override to the ldap.ini, don't change directly the settings. If it's only for test purpose you can do it of course.

Be sure to correctly set all the parameters for the connection and the DN and attribute to do the connection on.

Look in this file, there's a lot of information about how to configure eZPublish and what you can do.

Another point, enable the debug and look in the error files /var/log/error.log, if there's a problem, it will appear here.

Finally, to test it, ensure you can watch in your directory with a directory browser (such as PHPLDAPAdmin or Apache Directory Studio).

To test the connection, you've got to create a user in your directory and try to log in with this account. If the account is validated (login and password both valid), the user will be created in eZPublish.

If you get some difficulties, don't hesitate to publish your LDAP.ini, we will be more able to help you.

Max

maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

eZ debug

Timing: Jan 17 2025 23:58:46
Script start
Timing: Jan 17 2025 23:58:46
Module start 'content'
Timing: Jan 17 2025 23:58:47
Module end 'content'
Timing: Jan 17 2025 23:58:47
Script end

Main resources:

Total runtime0.9171 sec
Peak memory usage4,096.0000 KB
Database Queries192

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.8438180.8438
Module start 'content' 0.00580.7627 769.6875532.6484
Module end 'content' 0.76850.1485 1,302.3359332.9375
Script end 0.9170  1,635.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4351210.0002
Check MTime0.00150.1660210.0001
Mysql Total
Database connection0.00070.075110.0007
Mysqli_queries0.836891.24621920.0044
Looping result0.00190.21261900.0000
Template Total0.893597.420.4468
Template load0.00180.196020.0009
Template processing0.891797.233920.4459
Template load and register function0.00040.040810.0004
states
state_id_array0.00070.078810.0007
state_identifier_array0.00080.092620.0004
Override
Cache load0.00150.1598200.0001
Sytem overhead
Fetch class attribute can translate value0.00210.226030.0007
Fetch class attribute name0.00140.155430.0005
XML
Image XML parsing0.00100.110730.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.01641.7832270.0006
String conversion0.00000.000430.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs