Grant,
I have pasted the relevant section from my config file for your information.
-cs
155 phpLDAPadmin to identify this LDAP server to users. */
156 $ldapservers->SetValue($i,'server','name','MY LDAP SERVER');
157
$ldapservers->SetValue($i,'server','host','ldapserver.my.domain.tld');
158
$ldapservers->SetValue($i,'server','base',array('dc=my,dc=domain.tld'));
159
$ldapservers->SetValue($i,'login','dn','cn=Manager,dc=my,dc=domain.tld');
160 $ldapservers->SetValue($i,'login','pass','xxxxxx');
On Tue, Jun 24, 2008 at 4:33 PM, Grant Lowe <[EMAIL PROTECTED]> wrote:
> Ok. I finally got the main PHPLDAPAdmin page to appear. Yeah! Thanks for
> all the help!
>
> Now the only thing left is to how to point it to the LDAP server. I did
> change a line in the config.php file:
>
> $ldapservers->SetValue($i,'server','name','My LDAP Server');
>
> I changed that line to point to my LDAP server. But does changing that
> line point it to the real LDAP server? I'm asking because I changed the
> line to point to the LDAP server and it never let's me login, even
> anonymously. I get a "Bad username or password. Please try again" message.
>
> Thanks again for all the help!
>
>
>
> ----- Original Message ----
> From: Chris Strzelczyk <[EMAIL PROTECTED]>
> To: Grant Lowe <[EMAIL PROTECTED]>; phpldapadmin-users <
> phpldapadmin-users@lists.sourceforge.net>
> Sent: Tuesday, June 24, 2008 9:29:31 AM
> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>
> That looks correct to me. Could you output the versions of your PHP and
> Apache Server.
>
>
> Here is the code where the message is coming from, so obviously it is not
> able to load the extension for whatever reason.
>
> # Make sure this PHP install has all our required extensions
> 233 if (! extension_loaded('ldap'))
>
> 234 system_message(array(
> 235 'title'=>_('Missing required
> extension'),
>
> 236 'body'=>'Your install of PHP appears to be
> missing LDAP support.<br /><br />Please install LDAP support before using
> phpLDAPadmin.<br /><small>(Dont forget to restart your web server
> afterwards)</small>',
>
> 237 'type'=>'error'));
>
>
> -cs
>
> On Tue, Jun 24, 2008 at 11:24 AM, Grant Lowe <[EMAIL PROTECTED]> wrote:
>
>> Hi Chris,
>>
>> Does this look correct?
>>
>> ldapLDAP Support enabled RCS Version $Id: ldap.c,v 1.161.2.3 2006/01/01
>> 12:50:08 sniper Exp $ Total Links 0/unlimited API Version 3001 Vendor
>> Name OpenLDAP Vendor Version 20327
>> Assuming this is correct, what do I need to do now?
>>
>> ----- Original Message ----
>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>> To: Grant Lowe <[EMAIL PROTECTED]>
>> Sent: Monday, June 23, 2008 12:18:44 PM
>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>
>> There should be a whole LDAP section in phpinfo such as:
>>
>> LDAP
>> LDAP SUPPORT: enabled
>> RCS Version:
>> Vendor Name: OpenLDAP
>>
>> etc....
>>
>> Also at the very top in the configure command do you see --with-ldap? It
>> should be pointing to the propert place where LDAP is installed. To find
>> out where to point it to do a:
>>
>> rpm -ql openldap-clients
>>
>> If one or both of these are not there then LDAP is not configured properly
>> with Apache.
>>
>>
>>
>> -cs
>>
>>
>> On 6/23/08, Grant Lowe <[EMAIL PROTECTED]> wrote:
>>>
>>> Boy,did that generate a lot of info. Searching through all the data it
>>> spit out does show me that LDAP a loaded module under the apache2handler
>>> section. So what am I missing?
>>>
>>> ----- Original Message ----
>>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>>> To: Grant Lowe <[EMAIL PROTECTED]>
>>> Sent: Monday, June 23, 2008 9:44:18 AM
>>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>>
>>> You can make a phpinfo file if you don't have one. It will give you a
>>> lot of information about your PHP installation:
>>>
>>> See the following:
>>>
>>> http://www.php.net/phpinfo
>>>
>>> On Mon, Jun 23, 2008 at 12:41 PM, Grant Lowe <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> Here's what I've got for LDAP:
>>>>
>>>> # rpm -qa | grep ldap
>>>> openldap-2.3.27-5
>>>> nss_ldap-253-3
>>>> openldap-clients-2.3.27-5
>>>> compat-openldap-2.3.27_2.2.29-5
>>>> python-ldap-2.2.0-2.1
>>>> #
>>>>
>>>> I haven't been able to find the phpinfo.php file on my system.
>>>>
>>>> Regarding your other qeustion...I did find this running ldap -i:
>>>>
>>>> --with-ldap=shared
>>>>
>>>> Is that good enough?
>>>>
>>>> ----- Original Message ----
>>>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>>>> To: Grant Lowe <[EMAIL PROTECTED]>
>>>> Cc: phpldapadmin-users@lists.sourceforge.net
>>>>
>>>> Sent: Monday, June 23, 2008 9:30:09 AM
>>>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>>>
>>>> You need to install an LDAP client. Such as OpenLdap on your server.
>>>> An RPM based linux distro do a:
>>>>
>>>> rpm -qa | grep ldap
>>>>
>>>> This will tell you what type of LDAP packages you have.
>>>>
>>>> Make sure that PHP is compiled with LDAP. Look at your phpinfo.php file
>>>> to get this information. It should have a '--with-ldap=<path to ldap>'.
>>>>
>>>> -cs
>>>>
>>>> On Mon, Jun 23, 2008 at 12:14 PM, Grant Lowe <[EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>>> A little bit further along.
>>>>>
>>>>> I'm now getting this:
>>>>>
>>>>> Your install of PHP appears to be missing LDAP support.
>>>>>
>>>>> Please install LDAP support before using phpLDAPadmin.
>>>>>
>>>>> What package(s) am I missing?
>>>>>
>>>>> By the way, thanks for all your help. Greatly appreciated!
>>>>>
>>>>> ----- Original Message ----
>>>>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>>>>> To: Grant Lowe <[EMAIL PROTECTED]>
>>>>> Cc: phpldapadmin-users@lists.sourceforge.net
>>>>>
>>>>> Sent: Monday, June 23, 2008 8:54:28 AM
>>>>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>>>>
>>>>> Add index.php to this line and restart your server.
>>>>>
>>>>> -cs
>>>>>
>>>>> On Mon, Jun 23, 2008 at 11:44 AM, Grant Lowe <[EMAIL PROTECTED]>
>>>>> wrote:
>>>>>
>>>>>> I checked the permssions as you suggested. They all look good (755
>>>>>> for directories and index.php, 644 for other files). As far as the
>>>>>> Directory Index directive, right now I have:
>>>>>>
>>>>>> DirectoryIndex index.html index.html.var
>>>>>>
>>>>>> Do I just add a index.php to the end of that line or replace
>>>>>> index.html and index.html.var with index.php?
>>>>>>
>>>>>> ----- Original Message ----
>>>>>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>>>>>>
>>>>>> To: Grant Lowe <[EMAIL PROTECTED]>
>>>>>> Cc: phpldapadmin-users@lists.sourceforge.net
>>>>>> Sent: Monday, June 23, 2008 8:03:13 AM
>>>>>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>>>>>
>>>>>> Check the permissions on you phpldapadmin directory. It sounds like
>>>>>> your webserver user does not have access to that directory.
>>>>>>
>>>>>> Also, in httpd.conf, make sure that index.php is in the DirectoryIndex
>>>>>> directive. Apache will display a 'Forbidden' message if you do not allow
>>>>>> directory listing and you don't have index.php in your DirectoryIndex.
>>>>>>
>>>>>> Currently this looks more like Apache Configuration then phpldapadmin.
>>>>>>
>>>>>>
>>>>>> As for PHP. I believe the package is called php-gettext. Any RPM
>>>>>> finder should have it.
>>>>>> -cs
>>>>>>
>>>>>> On Mon, Jun 23, 2008 at 10:45 AM, Grant Lowe <[EMAIL PROTECTED]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Chris,
>>>>>>>
>>>>>>> The error I'm getting is this:
>>>>>>>
>>>>>>> Forbidden
>>>>>>>
>>>>>>> You don't have permission to access /phpldapadmin-1.1.0.5/ on this
>>>>>>> server.
>>>>>>>
>>>>>>>
>>>>>>> As far as checking that I have php-getext installed, I don't see that
>>>>>>> specific package. I do see one called gettext-0.14.6-4.el5. Is that
>>>>>>> the
>>>>>>> same one? Also, to answer your other question, looking at php -m shows
>>>>>>> that
>>>>>>> gettext is a compiled in module:
>>>>>>>
>>>>>>>
>>>>>>> # php -m
>>>>>>> [PHP Modules]
>>>>>>> bz2
>>>>>>> calendar
>>>>>>> ctype
>>>>>>> curl
>>>>>>> date
>>>>>>> exif
>>>>>>> ftp
>>>>>>> gettext
>>>>>>> gmp
>>>>>>> hash
>>>>>>> iconv
>>>>>>> libxml
>>>>>>> mime_magic
>>>>>>> openssl
>>>>>>> pcntl
>>>>>>> pcre
>>>>>>> posix
>>>>>>> pspell
>>>>>>> Reflection
>>>>>>> session
>>>>>>> shmop
>>>>>>> SimpleXML
>>>>>>> sockets
>>>>>>> SPL
>>>>>>> standard
>>>>>>> sysvmsg
>>>>>>> sysvsem
>>>>>>> sysvshm
>>>>>>> tokenizer
>>>>>>> wddx
>>>>>>> xml
>>>>>>> zlib
>>>>>>>
>>>>>>> [Zend Modules]
>>>>>>>
>>>>>>> #
>>>>>>>
>>>>>>> Thanks for the help!
>>>>>>>
>>>>>>>
>>>>>>> ----- Original Message ----
>>>>>>> From: Chris Strzelczyk <[EMAIL PROTECTED]>
>>>>>>> To: phpldapadmin-users@lists.sourceforge.net
>>>>>>> Sent: Monday, June 23, 2008 7:14:07 AM
>>>>>>> Subject: Re: [phpldapadmin-users] Starting phpldapadmin
>>>>>>>
>>>>>>> Could you give us the specific error you have?
>>>>>>>
>>>>>>> Also, make sure you have php-getext installed and compile into php.
>>>>>>>
>>>>>>> -cs
>>>>>>>
>>>>>>> On Sat, Jun 21, 2008 at 7:00 PM, Grant Lowe <[EMAIL PROTECTED]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I did just as the install docs say to do. I can't get
>>>>>>>> phpldapadmin to display in firevox. Before I get into asking for
>>>>>>>> specific help, can somebody please tell me all the prerequisite RPM
>>>>>>>> packages for phpldapadmin to display, so I can make sure I have all
>>>>>>>> the
>>>>>>>> right RPMs installed?
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> Check out the new SourceForge.net <http://sourceforge.net/>Marketplace.
>>>>>>>> It's the best place to buy or sell services for
>>>>>>>> just about anything Open Source.
>>>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>>>> _______________________________________________
>>>>>>>> phpldapadmin-users mailing list
>>>>>>>> phpldapadmin-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Chris Strzelczyk
>>>>>>> GCS Real Estate
>>>>>>> Real Estate Investment and Management
>>>>>>> (586) 770-9544
>>>>>>> (248) 944-0506 (Business Hours Office Phone)
>>>>>>> [EMAIL PROTECTED]
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Chris Strzelczyk
>>>>> GCS Real Estate
>>>>> Real Estate Investment and Management
>>>>> (586) 770-9544
>>>>> (248) 944-0506 (Business Hours Office Phone)
>>>>> [EMAIL PROTECTED]
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Chris Strzelczyk
>>>> GCS Real Estate
>>>> Real Estate Investment and Management
>>>> (586) 770-9544
>>>> (248) 944-0506 (Business Hours Office Phone)
>>>> [EMAIL PROTECTED]
>>>>
>>>
>>>
>>>
>>> --
>>> Chris Strzelczyk
>>> GCS Real Estate
>>> Real Estate Investment and Management
>>> (586) 770-9544
>>> (248) 944-0506 (Business Hours Office Phone)
>>> [EMAIL PROTECTED]
>>>
>>
>>
>>
>> --
>> Chris Strzelczyk
>> GCS Real Estate
>> Real Estate Investment and Management
>> (586) 770-9544
>> (248) 944-0506 (Business Hours Office Phone)
>> [EMAIL PROTECTED]
>>
>
>
>
> --
> Chris Strzelczyk
> GCS Real Estate
> Real Estate Investment and Management
> (586) 770-9544
> (248) 944-0506 (Business Hours Office Phone)
> [EMAIL PROTECTED]
>
--
Chris Strzelczyk
GCS Real Estate
Real Estate Investment and Management
(586) 770-9544
(248) 944-0506 (Business Hours Office Phone)
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users