Anonymous bind on LDAP

Author Message

Pavanred

Tuesday 28 December 2010 2:51:39 am

It turns out that the LDAP server that I connect to does not allow anonymous bind, so I have to specify the user name and password for to bind to the server. That is, I had to provide - LDAPBindUser and LDAPBindPassword in the LDAP.ini file.

 

But, i do not want to provide my LDAP user name and password in the LDAP.ini file. What is hte general work around for this?

 

Does the LDAP server team provide credetnails that are used only for this purpose and have no authorization to any applicaiton apart from binding to the LDAP server?

 

Or is it possible to use the credentilas provided by the user as LDAPBindUser and LDAPBindPassword instead? But if so how can I modify the LDAP.ini file to achieve this?

My blog - http://www.pavankumar.info

SEBBANE Alexandre

Tuesday 28 December 2010 4:22:03 am

Hello,

I used to use the ldap connector : you have to create a "special account" for this. just for application, the team does already do that with others applications.

your ldap is a microsoft AD ?

Paris, France

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

Main resources:

Total runtime0.0160 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.0063 587.9063152.6250
Module start 'layout' 0.00630.0024 740.531339.4375
Module start 'content' 0.00870.0055 779.968889.2109
Module end 'content' 0.01420.0018 869.179730.2891
Script end 0.0160  899.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.3699140.0002
Check MTime0.00116.6359140.0001
Mysql Total
Database connection0.00159.456810.0015
Mysqli_queries0.002213.583230.0007
Looping result0.00000.074510.0000
Template Total0.00148.910.0014
Template load0.00064.050410.0006
Template processing0.00084.825310.0008
Override
Cache load0.00042.669010.0004
General
dbfile0.00148.442080.0002
String conversion0.00000.043240.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