Using LDAP to authenticate users in WebDAV interface?

Author Message

Mathieu Peltier

Tuesday 07 December 2010 7:03:39 am

Hi,

Does anyone is using LDAP to authenticate users in WebDAV mode? LDAP authentication is working well on the website itself (enabled in settings/override/site.ini.append.php with "LoginHandler[]=LDAP") but not when I try to log in to the WebDAV interface.

I have tried to modify the authenticateBasic() function in the kernel/private/classes/webdav/ezwebdavcontentbackendauth.php file (which seems to support only the "standard" login handler) but this does not work. I am using eZ Publish 4.4.0.

Thanks,

Mathieu

Mathieu Peltier

Wednesday 08 December 2010 4:01:24 am

Hi,

The following patch seems to solve the problem:

http://issues.ez.no/IssueView.php?Id=17742&

Mathieu

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 30 2025 19:44:16
Script start
Timing: Jan 30 2025 19:44:16
Module start 'layout'
Timing: Jan 30 2025 19:44:16
Module start 'content'
Timing: Jan 30 2025 19:44:16
Module end 'content'
Timing: Jan 30 2025 19:44:16
Script end

Main resources:

Total runtime0.0281 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.3828151.2422
Module start 'layout' 0.00790.0049 739.6250220.7578
Module start 'content' 0.01280.0131 960.3828997.7891
Module end 'content' 0.02590.0021 1,958.171929.9766
Script end 0.0280  1,988.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003010.7246140.0002
Check MTime0.00124.1385140.0001
Mysql Total
Database connection0.00103.485110.0010
Mysqli_queries0.004917.578430.0016
Looping result0.00000.128310.0000
Template Total0.00165.810.0016
Template load0.00144.824910.0014
Template processing0.00030.930310.0003
Override
Cache load0.00062.073910.0006
General
dbfile0.00134.517480.0002
String conversion0.00000.038240.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