[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-users] LDAP configuration
From: |
Lars Kneschke(priv.) |
Subject: |
Re: [Phpgroupware-users] LDAP configuration |
Date: |
Mon, 11 Nov 2002 10:01:40 +0000 |
on* Sun, 10 Nov 2002 21:11:51 -0800, you wrote*:
>I've been trying to understand how the LDAP configuration works (I'm
>not a
>programmer, although I can follow simple PHP). My server (the Mitel
>SME
>Server Linux distribution) by default doesn't have in its LDAP schema
>the
>objects that "ldap_context" and "ldap_group_context" require. This is
>
>causing configuration of LDAP to fail. I've gone through the LDAP
>files in
>the setup directory, but I'm not able to determine what changes are
>required to enable me to use LDAP fully.
This has nothing to with your LDAP Server. It's part of phpGW. YOu can
define this options on the setup pages.
http://yourwebserver/phpgroupware/setup/index.php. Click the second button
from above. On this page you can define this values.
ldap_context: where to search for accounts
ldap_group_contect: where to search for groups(ex:
dc=groups,dc=network,dc=loc)
>I'd prefer not to amend the server configuration - I'd like the code
>to
>handle these two variables being null if that's possible. I don't have
>the
>skills to do it myself. Does the LDAP developer hang out here, and is
>this
>change something that would be of value to others?
No need to change the code until now! :)
>While I was looking at the code I found that there is a lot of use
>made of
>"ldap_search" which I assume is a function that calls ldapsearch, but
>I
>couldn't find its definition (I did a grep for it). Is this a
>function, and
>if so, what does it provide over and above what ldapsearch gives us?
Don't touch the code! :)
It's a function provided from php. Try grep ldap_search mod_php4. :) This is
the location where you could find it. ldap_search is a function that does
mostly the the same like the standalone binary ldapsearch. But ldap_search
does it from inside PHP.
More information about this and other ldap function can be found unter this
address http://www.php.net/manual/en/function.ldap-search.php .
Cu
--
Lars Kneschke
http://www.kneschke.de