Hi,

wondering if i had to post this in bug or support or feature request.
However, after ldap integration module was installed, i was wondering if only the scope "one" was supported?

Thanks

Xavier

Comments

pablobm’s picture

<showing_myself_off topic="LDAP">
Right...

So... the LDAP scope... ok...

This is one of those moments where I show how clueless I am about the topic of LDAP...

With all this I mean: I know nothing about LDAP. Somebody needed an LDAP module, I investigated a bit and created it. Somebody wanted this or that feature, there I would go again. Now "LDAP scopes"... I'm at complete loss there.

Sorry! :( . May I have a brief explanation of what that means, possibly followed by a good link where people with near-to-zero knowledge about LDAP can start figuring out?

Thanks!
</showing _myself_off>

xrenard’s picture

Well,

First of all, felicitation for your courage :-)

the values for the scope of a particular search base dn are the following:
-base: the node itself
-one: one level under the node
-sub: all node under the node

Maybe, i should have a look and rewrite it if you don't mind.
Ldap et php are ok for me.I'm one of the developper of phpldapadmin

Xavier

pablobm’s picture

Oh, ok. Now I understand it!.

Actually, phpLDAPAdmin is the LDAP tool I use to develop this module. The other day I was wondering about the way you implemented those one/sub search queries. So far, no one else had asked for this, so I didn't give it much thought, but I'll think of including this in the future.

Thanks!. And thanks for phpLDAPAdmin, btw!

pablobm’s picture

Title: ldap scope » LDAP scopes: base, one, sub
Assigned: Unassigned » pablobm
Status: Active » Postponed
geste’s picture

Xavier,

Very nice to see you here. I use phpLDAPAdmin quite regularly and can't thank your team enough. After much hemming and hawing (and after installing about 20 CMS, I have finally settled on Drupal for an intranet for my department. Some degree of LDAP integration/awareness was one of the main criteria, so any additional LDAP expertise/functionality you inject sounds great.

I was working for a while with Xaraya which had some nice LDAP integration including group synch, but I finally decided that Drupal was a better match given my goals and talents.

As an LDAP neophyte, I also want to commend Pablo for his bravery! :)

samkuehn’s picture

I am looking to use the sub scope as well. I want to try and use drupal/ldap integration for our corporate intranet. The problem that is the our active directory is arranged in ou's to facilitate group policy. I don't have a single base dn that I can point the ldap integration module to. It would be nice to be able to point the moduel at dn=mycompany,dn=com as the base dn and have it find all users in all sub ou's. At this point the only way I can get it to work is by pointing it at a specific ou. That wont work for my implementation as I have many ou's with users that I would like to authenticate.

pablobm’s picture

The module does recursive search that I know. Please confirm whether that's the case or not for you.

kreaper’s picture

Assigned: pablobm » kreaper
Status: Postponed » Closed (fixed)

http://us3.php.net/manual/en/function.ldap-search.php

php ldap performs sub-scope searches.