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 2007-12-26 12:06:42

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

AD Integration Issues

Hi friends
I have installed 0.7 successfully but I am not able to do the external AD Integration properly.
After filling the AD info as described in various topics listed in the forum I still get the error


Method Not Implemented

POST to /helpdesk/front/setup.auth.php not supported.



Kindly help on this ..

Thanks in advance
Dhiraj

Update : My LDAP is Win 2K3 Active Directory

Last edited by dhiraj (2007-12-26 12:14:13)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#2 2007-12-26 12:18:09

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

Re: AD Integration Issues

put your GLPI AD configuraton here.


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2007-12-26 12:22:55

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

My configuration is as following

LDAP configuration
Name               test
Server             ss1.abc.net
LDAP Port:        389
Basedn:           DC=abc,DC=net
rootdn:            CN=glpi,CN=User,DC=abc,DC=net
pass:            ***********
Connection Filter:    (&(objectClass=user)
Login Field:        glpi
Use TLS:        no
Timezone       GMT+5.5

        Belonging to groups
Search type:  In Users
User attribute containing its groups:
Filter to search in groups:   (objectClass=user)
Group attribute containing its users:
Use DN in search   Yes

            GLPI/LDAP Links
Surname:       
Firstname:       glpi
Location:       
E-Mail:           
Phone:           
Phone 2:
Mobile:

Last edited by dhiraj (2007-12-26 12:40:20)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#4 2007-12-26 12:43:02

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

Re: AD Integration Issues

Login Field: glpi -> samaccountname

Lastname : sn
Firstname: givenname


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2007-12-26 12:46:22

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Still the same error


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#6 2007-12-26 12:49:10

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Just wish to know that my id the DC name case sensitive ??
for eg DC=ABC, DC=NET

is diff from

Dc=abc, DC=net

Update : I have made a user named glpi in my AD in the Users container. I have also installed n configured phpLdapAdmin and tested that this user is able to login to it gets authenticated against the AD and I am able to browse the AD as well.

Last edited by dhiraj (2007-12-26 12:53:24)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#7 2007-12-26 12:58:51

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

Re: AD Integration Issues


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2007-12-26 13:03:11

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Still the same Error

Title : 501 Method Not Implemented

Method Not Implemented

POST to /helpdesk/front/setup.auth.php not supported.




Do we need some special PHP module with apache ?? I have already installed mod_ntlm

Last edited by dhiraj (2007-12-26 13:04:18)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#9 2007-12-26 13:07:10

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: AD Integration Issues

You need : php-ldap but i think it's already installed.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#10 2007-12-26 13:19:22

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

Re: AD Integration Issues


Xavier Caillaud
Blog GLPI Infotel

Offline

#11 2007-12-26 13:20:23

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Yes its installed sad


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#12 2007-12-26 14:35:20

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Will check n let u know


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#13 2007-12-26 15:03:05

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

U seem to be right, will sit up and read abt mod ssl and lets see if i can counter it


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#14 2007-12-28 06:35:41

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Have disabled mod_security for a while and solved my "Method Not Implemented " problem.

But now when I click "Test Connection" , it says Test Failed


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#15 2007-12-28 10:01:16

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

Re: AD Integration Issues

can you test with ldap broswer for example to test your ad connection ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#16 2007-12-28 11:07:12

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Yes I have tested with ldap browser and I am able to login through it and browse my AD.

But when i give the same params to the glpi interface , I get the Test connection failed .

Kindly let me know how to turn debug ON in glpi 0.7 , maybe I ll get sm clues from that

Last edited by dhiraj (2007-12-28 11:15:03)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#17 2007-12-28 11:19:24

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

Re: AD Integration Issues

setup - general - use glpi in mode..


Xavier Caillaud
Blog GLPI Infotel

Offline

#18 2007-12-28 11:22:42

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Still no clue as to what is going wrong


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#19 2007-12-28 11:23:28

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

Re: AD Integration Issues

What is the exact error now ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#20 2007-12-28 11:24:14

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Test Failed .


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#21 2007-12-28 11:25:25

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Whenever I press Test LDAP connection it says "Test Failed"


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#22 2007-12-28 11:26:28

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

Re: AD Integration Issues

and when you try to access on your ad with

http://localhost/glpi/front/ldap.php ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#23 2007-12-28 11:28:12

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

When Use TLS is set to YES
I get this error

PHP ERROR: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Server is unavailable in /var/www/html/helpdesk/inc/auth.function.php at line 789
Unable to connect to the LDAP directory


When Use TLS is set to NO

I get this error

PHP ERROR: ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials in /var/www/html/helpdesk/inc/auth.function.php at line 795
Unable to connect to the LDAP directory

Last edited by dhiraj (2007-12-28 11:29:35)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#24 2007-12-28 11:30:50

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

Re: AD Integration Issues

hum.. put your config here plz.


Xavier Caillaud
Blog GLPI Infotel

Offline

#25 2007-12-28 11:33:30

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

Which config ??? The one I am entering in the GLPI LDAP page ??

That is

LDAP configuration
Name               conn
Server             ss1.mydomain.net
LDAP Port:        389
Basedn:           DC=mydomain,DC=net
rootdn:            CN=glpi,CN=users,DC=mydomain,DC=net
pass:            ***********
Connection Filter:    (&(objectClass=user)
Login Field:        glpi
Use TLS:        no
Timezone       GMT+5.5

        Belonging to groups
Search type:  In Users
User attribute containing its groups:
Filter to search in groups:   (objectClass=user)
Group attribute containing its users:
Use DN in search   Yes

            GLPI/LDAP Links
Surname:       
Firstname:       glpi
Location:       
E-Mail:           
Phone:           
Phone 2:
Mobile:


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

Board footer

Powered by FluxBB