You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-07-15 22:46:10

Fred Melssen
Member
Registered: 2006-02-15
Posts: 12

GLPI and LDAP on Windows 2003

We want to install the most recent stable release of GLPI on Windows 2003 server.
We want to use LDAP support (with PHP). What is the best implementation of LDAP (openldap?) for windows 2003, that is supported by GLPI, and how do we compile PHP for it?

On Linux we had no problem compiling PHP with the OpenLDAP release and get it working with GLPI; but obviously Windows 2003 is another story. Perhaps some of you have experience with this.

Thanks in advance for any feedback.

Regards,
Fred Melssen
Radboud University Nijmegen
The Netherlands

Offline

#2 2006-07-15 23:57:18

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

if you have windows 2003, you have active directory so ldap is in function.

You have just to activate the ldap in the php.ini


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2006-08-15 09:17:27

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

tsmr wrote:

if you have windows 2003, you have active directory so ldap is in function.

You have just to activate the ldap in the php.ini

Sorry.. i am new to php and apache stuff..

How do I activate the ldap in the php.ini?

Offline

#4 2006-08-15 12:34:28

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

uncomment

;extension=php_ldap.dll


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2006-08-25 05:48:13

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

tsmr wrote:

uncomment

;extension=php_ldap.dll

I already uncommented the line, but when i go to Setup -> External sources of authentification
Still, under LDAP configuration, there are still these messages:


The LDAP extension of your parser PHP is not installed

Impossible to use LDAP as external source of connection

I've restarted the server, but still the same

Offline

#6 2006-08-25 08:38:34

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

this is not the good php.ini or you have'nt reboot your web server.


Xavier Caillaud
Blog GLPI Infotel

Offline

#7 2006-08-25 09:31:57

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

tsmr wrote:

this is not the good php.ini or you have'nt reboot your web server.

I edited all php.ini files that i can find on my server (including php4.ini and php5.ini and 2 php.ini files i found in php and php4 folders).
I restarted my server, so should it be considered as rebooting my web server?

Offline

#8 2006-08-25 09:50:14

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

are you sure ?? this is typically the origin of this problem


Xavier Caillaud
Blog GLPI Infotel

Offline

#9 2006-08-25 09:58:03

jm.cierniewski
Member
From: Nanterre 92
Registered: 2005-11-02
Posts: 1,655

Re: GLPI and LDAP on Windows 2003

yes,
but for an other time
you can reboot your web server using the following command ( if the web service is apache)
net stop apache
net start apache


Plateforme :
OS : Windows 2003 Sp1 / logiciel de décompactage : Winzip / Navigateurs : Internet Explorer 6sp1 / firefox 1.5
Installation : Package Ocs NG RC3  - XAMPP version 1.5.1
Serveur  : Apache 2.0.55 / Base : 5.0.18-nt / Langage : PHP 5.1.1 / PhpMyAdmin 2.7.0-pl1

Offline

#10 2006-08-25 10:41:12

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

same result.. any idea?

Offline

#11 2006-08-25 10:46:58

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

config ? do you use Xampp from OCS ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#12 2006-08-25 10:50:09

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

Yes.. I am using Xampp from OCS. Need to change anything?

Offline

#13 2006-08-25 10:51:48

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

C:\OCSInventoryNG\xampp\apache\bin : the good php.ini is here


Xavier Caillaud
Blog GLPI Infotel

Offline

#14 2006-08-25 10:57:40

hasani
Member
Registered: 2006-08-15
Posts: 14

Re: GLPI and LDAP on Windows 2003

Bingo..
Thanks a lot tsmr.

Offline

#15 2006-08-25 11:00:53

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: GLPI and LDAP on Windows 2003

wink


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB