Importing all users from LDAP

Author Message

Linh Vu

Tuesday 26 June 2007 11:23:25 pm

I've set up this ezp installation to authenticate from LDAP, but it only creates a matching user inside ezp after that user logs in. The cronjobs ldapusermanage.php only updates the accounts that are already inside ezp. I'd like to import/synchronise users straight from LDAP into ezpublish without having to ask them to log in, so that I could use the user objects for object relations or in a directory. Has anyone done that before? Thanks. :-)

If I had more time, I would write less code.

Christelle Le Moine

Friday 25 September 2009 3:24:13 am

hello,

I now your question is a old one, but I would like to know if you came to do your import from LDAP.
I look for a similar method to import a list of users come from LDAP and assign them a predefine rĂ´le.

Have-you a idea to do that?

Sorry for my poor english

Christelle

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 19:11:53
Script start
Timing: Jan 18 2025 19:11:53
Module start 'layout'
Timing: Jan 18 2025 19:11:53
Module start 'content'
Timing: Jan 18 2025 19:11:54
Module end 'content'
Timing: Jan 18 2025 19:11:54
Script end

Main resources:

Total runtime0.6816 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.0234152.6250
Module start 'layout' 0.00710.0028 741.648439.4453
Module start 'content' 0.00990.6701 781.0938518.8750
Module end 'content' 0.68010.0015 1,299.96888.3203
Script end 0.6816  1,308.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5082160.0002
Check MTime0.00130.1891160.0001
Mysql Total
Database connection0.00100.140110.0010
Mysqli_queries0.631192.5923540.0117
Looping result0.00050.0703520.0000
Template Total0.640093.920.3200
Template load0.00220.318520.0011
Template processing0.637893.571020.3189
Template load and register function0.00020.024210.0002
states
state_id_array0.00110.166910.0011
state_identifier_array0.00270.402820.0014
Override
Cache load0.00170.2543120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.075320.0003
Fetch class attribute name0.00150.218230.0005
XML
Image XML parsing0.00260.380320.0013
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00721.0602160.0005
String conversion0.00000.001040.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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.0002 secs