Importing LDAP Users

Author Message

Pål Messenlien

Thursday 23 June 2005 3:49:25 am

Is there a way to auto import users from a LDAP catalog?. I only need to import the users so i can list/search tru them on the page. The best would be if i can keep the updated with a cronjob.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

Pål Messenlien

Thursday 23 June 2005 4:41:59 am

Another problem ive runned into with the LDAP login. When a user is imported/logged in im getting trouble with norwegian letters ÆØÅ. Example my name turns out PÃ¥l Messenlien after the user is imported from the LDAP catalog. Is this something that can be fixed?

The next thing is that i cant edit the user settings. Cant add signature or other information. When i try to save the user settings inside eZ i get a error that the user already exists.

Note: Im using Lotus Domino 6.5 as a LDAP source, and eZ 3.6

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

Pål Messenlien

Friday 01 July 2005 1:34:42 am

Anyone done a LDAP search for eZ then? What im looking for here is a way to give our site a Search for employes and students on our website. We got LDAP catalogs for both in two different servers.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

K259

Thursday 27 October 2005 3:07:51 pm

Hi!

Did you get a solution on this?

Pål Messenlien

Sunday 30 October 2005 12:25:17 pm

Nothing yet. I'll dig around for a php LDAP search engine wich i might be able to use inside eZ.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

j jevack

Thursday 02 February 2006 5:08:55 am

Greetings! Did you ever resolve this issue? If so, would you mind sharing your experience?

Thanks,

Jason

Frode Sørhaug

Monday 27 February 2006 7:05:21 am

Looks like you got the same enviroment AS Høgskolen i Nord-Trøndelag. We use now eZ-publish 3.6.5 on Apache 2.0.54 on a Trustix.

Employees login with their ordinary username and password, the same they use on the network.

I've configured it a way so their account in eZ is created first time they login.
Done the way by configure the ldap.ini for the actual site. I also had to do some hacks in the kernel/classes/datatypes/ezuser/ezldapuser.php so that eZ could authenticate corectly to our ldap-catalog.

By this method I don not have to create all accounts, and the employees are getting a set of standard roles in eZ.

This works fine, except one thing. First time they are thrown out and have to login once more time. (got a soution??)
Also when employees quit their account still remain in eZ.

I have seen the file ldapmanage.php in the cronjob directory but have not found out its function. Maybe its an answer in that file??

Fr®dis

Samuel Sauder

Monday 27 February 2006 7:50:27 am

Just wanted to let you know that LDAP import and syncronization is working great for me.

Pal,
I don't use alternate character sets so I'm not sure about that part. And I also don't try to edit the user after it is created (to add the signature). But I'm sure there is a way around this.

Frode,
I also had to make some slight logic changes in the kernel and the cronjob because of the way our NDS Novell LDAP is configured.

For the cron job help, see the old documentation here (I couldn't much in the new)

https://ez.no/products/ez_publish/documentation/installation/the_cronjob_script
http://ez.no/doc_hidden/ez_publish/technical_manual/3_6/reference/configuration_files/cronjob_ini

Ezp Version 3.7.2

kalala ??

Wednesday 09 August 2006 2:27:12 am

Hi!

I've installed ez 3.8.3. Then I've changed the user handler in order to use LDAP. I can connect using a LDAP user without problem.
But I've the following problems:

1 - How can match user group from LDAP with those in ezpublish?

For example, I have a user called ezadmin in LDAP under a group called Admin. When I connect into ezpublish admin interface using LDAP handler, I'd like my ezadmin user from LDAP to be automatically register as administrator in ez. He is currently registered as anonymous.

2 - How can I match ezuser class attributes with LDAP attributes?
For example, how can I match the email attribute of an ez user with the email attribute of a user in LDAP?

3 - Is there anyway to transfert ezpublish users into LDAP? LDAP users into ezplublish?

PS: I hope my english is quite comprehensible.

Thanks

Juliusz Calyniuk

Tuesday 19 September 2006 2:52:43 am

Hi,

I am just looking for posts about LDAP.
Perhaps this post can be interesting for you ...and me in the future :)
http://ez.no/community/forum/install_configuration/win2k_ldap_server_authentication

WebStyle Systems | http://www.ws-webstyle.com

Artturi Markko

Friday 06 October 2006 1:10:08 am

quote :

1 - How can match user group from LDAP with those in ezpublish?

For example, I have a user called ezadmin in LDAP under a group called Admin. When I connect into ezpublish admin interface using LDAP handler, I'd like my ezadmin user from LDAP to be automatically register as administrator in ez. He is currently registered as anonymous.

This is possible provided you modify a bit some php files.
Right now, I can't use the search function on ez.no so you'll have to dig in the forum but I've posted some messages on this forum about this issue. You'll find all details in those posts.

Regards,
Artturi

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

Main resources:

Total runtime0.0250 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.0089 587.8125152.6094
Module start 'layout' 0.00890.0053 740.421939.4141
Module start 'content' 0.01420.0084 779.8359101.4297
Module end 'content' 0.02260.0023 881.265646.3047
Script end 0.0249  927.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.004116.4502140.0003
Check MTime0.00145.5368140.0001
Mysql Total
Database connection0.00156.051110.0015
Mysqli_queries0.004518.161030.0015
Looping result0.00000.092610.0000
Template Total0.00177.010.0017
Template load0.00093.413910.0009
Template processing0.00093.516910.0009
Override
Cache load0.00062.369110.0006
General
dbfile0.00041.425580.0000
String conversion0.00000.047740.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