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 2011-10-26 06:57:55

enay
Member
Registered: 2011-05-06
Posts: 62

AD authentication setup

Hi there,

Can someone help me with Active Directory setup for GLPI?

my domain is cancer.org

so I have setup the following AD;

base dn :  dc=cancer, dc=org

root dn : cn=glpi, dc=cancer, dc=org

However, I cannot connect. Do i need to anything with php.ini file? I just can't get AD to work. I'm welcoming any ideas that may help me. GLPI version is 0.80.5

Thanks,

enay

Offline

#2 2011-10-26 08:18:14

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: AD authentication setup

hello
1) did you create the AD setup by using the AD preconfiguration model ?
2) could you post the whole ldap configuration ?

Offline

#3 2011-10-26 23:02:27

enay
Member
Registered: 2011-05-06
Posts: 62

Re: AD authentication setup

Hi Wawa,

Thanks for the reply.

1) I'm not sure what this is? How do I get to it?

2) below is my ldap settings;

Server: 192.168.1.1
Port: 389
baseDN: dc=cancer, dc=org
rootDN: cn=glpi,cn=Users,dc=cancer, dc=org
LoginField: glpi
Password: password

Thanks,
enay.

Offline

#4 2011-10-27 02:39:07

scharpf
Member
From: Brasil - São Paulo
Registered: 2009-02-26
Posts: 65

Re: AD authentication setup

Hi enay...

Does the test button works after your configurations on ldap area?

If yes, try this...   Open Administration > users, and list all users you have!  After that, go to the button of the page, mark all users and on the combo box select Update > login ldap > "select your ldap config"

Try login!
Regards

Last edited by scharpf (2011-10-27 02:40:58)


GLPI 0.90.1 / OCS Inventory 2.1.2 / OCS AGENTS  v2.1.1.1/ 1500 hosts
Debian Squeeze, Apache/2.2.16, PHP 5.4.45-1~dotdeb+6.1, MySQL 5.1.73

Offline

#5 2011-10-27 02:49:28

enay
Member
Registered: 2011-05-06
Posts: 62

Re: AD authentication setup

Thanks scharpf.

No, the test failed.  I'm not sure what settings I should be using.

enay

Offline

#6 2011-10-27 03:05:24

scharpf
Member
From: Brasil - São Paulo
Registered: 2009-02-26
Posts: 65

Re: AD authentication setup

Your Rootdn is a litle bit strange...   

RootDn must have all the way to the account that you gona use to autenticate... ALL levels... Something like this->    rootdn:cn=admin-glpi,cn=Users,dc=classe,dc=cornell,dc=edu

You can use adsiedit to see your AD configurations...  Open properties from your user glpi and look for it.


GLPI 0.90.1 / OCS Inventory 2.1.2 / OCS AGENTS  v2.1.1.1/ 1500 hosts
Debian Squeeze, Apache/2.2.16, PHP 5.4.45-1~dotdeb+6.1, MySQL 5.1.73

Offline

#7 2011-10-27 03:21:40

enay
Member
Registered: 2011-05-06
Posts: 62

Re: AD authentication setup

Thanks scharpf.

here's my rootDN: cn=glpi,cn=users,dc=cancer, dc=org

enay

Offline

#8 2011-10-27 04:54:49

enay
Member
Registered: 2011-05-06
Posts: 62

Re: AD authentication setup

Thanks for all that replied.

I have resolved the issue. It was to do with cases and spaces. Anyone whoever run into this problem, just remember it's case sensitive and leave out the spaces for the base and root DNs.

This can be closed.

enay

Offline

Board footer

Powered by FluxBB