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

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 02:07:09
Script start
Timing: Jan 18 2025 02:07:09
Module start 'layout'
Timing: Jan 18 2025 02:07:09
Module start 'content'
Timing: Jan 18 2025 02:07:10
Module end 'content'
Timing: Jan 18 2025 02:07:10
Script end

Main resources:

Total runtime0.9058 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0313152.6250
Module start 'layout' 0.00540.0033 741.656339.4688
Module start 'content' 0.00870.8958 781.1250527.5703
Module end 'content' 0.90450.0013 1,308.695312.3281
Script end 0.9057  1,321.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3411160.0002
Check MTime0.00130.1412160.0001
Mysql Total
Database connection0.00060.068210.0006
Mysqli_queries0.861895.1435550.0157
Looping result0.00050.0506530.0000
Template Total0.871496.220.4357
Template load0.00200.220020.0010
Template processing0.869495.986720.4347
Template load and register function0.00010.014710.0001
states
state_id_array0.00210.231310.0021
state_identifier_array0.00170.190820.0009
Override
Cache load0.00160.1779200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.070120.0003
Fetch class attribute name0.00100.108930.0003
XML
Image XML parsing0.00060.065020.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00070.0816160.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs