ldap & ezpublish

Author Message

Roman Pszonczenko

Friday 06 February 2004 7:42:47 am

Hi,
I decided recently to move login authentication to ldap and I got ptoblems with synchronization.

When I first add user to ldap and then trying to login eZPublish, it works and all information is copied to eZPublish database. But when I modify/add user data/info in eZPublish and then run 'php -C runcronjobs.php' where ldapusermanage.php is invoked, it does nothing besides for disabling my users which exists in both databases. Does it have to update ldap data?

So my questions are:
1. when exactly eZPublish database is updated (only when logging ?) from ldap data
2. when exactly ldap data is updated from eZPublish database?

Maybe I have wrong right defined in slapd.conf?

Thanks in advance,
Roman.P.

Wenyue Yu

Friday 06 February 2004 8:23:32 am

Hi,

eZ publish database will be updated both when someone is logging and when you run cronjobs.
Ldap database will never be updated. You can't use eZ publish to manage data in ldap server.

Regards,
wenyue

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 31 2025 04:21:15
Script start
Timing: Jan 31 2025 04:21:15
Module start 'layout'
Timing: Jan 31 2025 04:21:15
Module start 'content'
Timing: Jan 31 2025 04:21:15
Module end 'content'
Timing: Jan 31 2025 04:21:15
Script end

Main resources:

Total runtime0.0114 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0040 588.1250151.2109
Module start 'layout' 0.00400.0020 739.335936.6484
Module start 'content' 0.00600.0040 775.984490.0469
Module end 'content' 0.01010.0013 866.031329.9922
Script end 0.0113  896.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002118.5129140.0002
Check MTime0.00119.6110140.0001
Mysql Total
Database connection0.00054.523310.0005
Mysqli_queries0.002118.563330.0007
Looping result0.00000.096510.0000
Template Total0.00108.810.0010
Template load0.00086.881510.0008
Template processing0.00021.884010.0002
Override
Cache load0.00054.812910.0005
General
dbfile0.00032.381380.0000
String conversion0.00000.052540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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