Use of "memberOf" Attribute in Active Directory

Author Message

Artturi Markko

Sunday 02 April 2006 10:24:23 am

Hi,

I am using Ezpublish with Active Directory. Each user in AD has a "memberOf" attribute holding the dn of the groups the user belongs to.

Example :
memberOf: CN=Sti,OU=groupes,OU=DR15,DC=ad,DC=dr15,DC=cnrs,DC=fr

Is there a way to use this information to populate groups inside EzPublish in respect to what this attribute's value is ?

I've read a bit about "LDAPUserGroupAttribute" & "LDAPUserGroupType" but not reached a working setup.

Has anybody already succeeded in using this "memberOf" attribute ?

Thanks in advance,

Artturi

Kristof Coomans

Wednesday 10 May 2006 12:08:21 am

I do not have any experience with what you're trying to accomplish, but maybe one of these topics can help you:

http://ez.no/community/forum/install_configuration/ldap_default_group
http://ez.no/community/forum/install_configuration/win2k_ldap_server_authentication
http://ez.no/products/ez_publish/documentation/configuration/configuration/login_handler/using_ldap_server

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 22:13:34
Script start
Timing: Jan 18 2025 22:13:34
Module start 'layout'
Timing: Jan 18 2025 22:13:34
Module start 'content'
Timing: Jan 18 2025 22:13:35
Module end 'content'
Timing: Jan 18 2025 22:13:35
Script end

Main resources:

Total runtime0.7430 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.0051 588.1641152.6563
Module start 'layout' 0.00510.0030 740.820339.5078
Module start 'content' 0.00810.7337 780.3281523.8438
Module end 'content' 0.74170.0012 1,304.17198.1094
Script end 0.7430  1,312.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4068160.0002
Check MTime0.00130.1731160.0001
Mysql Total
Database connection0.00060.084910.0006
Mysqli_queries0.696893.7820540.0129
Looping result0.00070.0929520.0000
Template Total0.713696.020.3568
Template load0.00160.217520.0008
Template processing0.711995.817420.3560
Template load and register function0.00020.022610.0002
states
state_id_array0.00060.086010.0006
state_identifier_array0.00120.156020.0006
Override
Cache load0.00130.1803180.0001
Sytem overhead
Fetch class attribute can translate value0.00160.217820.0008
Fetch class attribute name0.00160.212830.0005
XML
Image XML parsing0.00120.163820.0006
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00170.2229160.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs