You are not logged in.
In addition to Eric's mail, I would like to post some supplementary findings.
Eric wrote:
>Config: Windows 2003 Server, IIS 6, MYSQL 5.0 , PHP 5.2.0
>Secure LDAP connection is working o.k. in GLPI 0.68.3
>Using the same settings in version 0.7.2 we get an Access Denied ,
>PHP erros and an empty user account is created.
We use 0.68.3 and 0.70.2 on the same server (we use different directories for these versions of GLPI on this server). We have a SSL certificate for secure LDAP running on this server, and it works fine with 0.68.3. Therefore I think it should work also for 0.70.2.
The LDAP 'test-button' works fine. However, logging in with an LDAP user works fine in 0.68.3, but it does not work with 0.70.2 (either 'access denied' or 'no such user or more users found').
If you have any question with which you can help us, or want specific screencaptures of some configuration settings, please let us know.
Thank you very much in advance,
kind regards,
Fred
Offline
is the LDAP non SSL working in 0.70.2 ?
Bind seems to work but data retrieving seems to have troubles.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
is the LDAP non SSL working in 0.70.2 ?
Bind seems to work but data retrieving seems to have troubles.
We can't test the non-SSL connection as our university's LDAP server requires it.
Of course we can setup a non-SSL LDAP server to test it, if necessary.
But we copied the entire new version into the map of the existing and working version (temporarily) to check if it could be an IIS/SSL issue. Even then it did not work.
I'ts a good idea I think to test this with a non-SSL LDAP server.
Offline
is the LDAP non SSL working in 0.70.2 ?
Bind seems to work but data retrieving seems to have troubles.
I'm trying to set it up here. (0.70.2)
I've got the connection with the LDAP directory working, but fail to authenticate users from it.
So the connection test is ok, when I leave the rootdn empty. As soon as I try to add something there I get connection failed when i test connection. When i try to log in with AD credentials I get 'no such user or more users found'
Kind regards,
Yves
Offline
MoYo wrote:is the LDAP non SSL working in 0.70.2 ?
Bind seems to work but data retrieving seems to have troubles.
I'm trying to set it up here. (0.70.2)
I've got the connection with the LDAP directory working, but fail to authenticate users from it.
So the connection test is ok, when I leave the rootdn empty. As soon as I try to add something there I get connection failed when i test connection. When i try to log in with AD credentials I get 'no such user or more users found'Kind regards,
Yves
I notice the following:
When I add a user manually to GLPI (and this user exists in LDAP), then this user can login, authenticating with his LDAP password. When the user does not exist in GLPI, GLPI will not authenticate against LDAP and will not add this user to the GLPI database.
This means that we have to add all usernames (not the passwords) manually in GLPI?
Offline
This means that we have to add all usernames (not the passwords) manually in GLPI?
That can't be the way it is meant to be. I got +/- 3000 users total :-)
Offline
we will try to find why there is a problem.
Sorry for the inconvenient but we are on a Free Software Exhibition for 3 days.
Adding manually or using data injection may be a solution for the moment.
We will try to correct the problem the quicker as possible.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
On openldap :
- really strange does not working on first attempt. Ok on second.
- data retrieve correctly
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
on openldap over SSL :
- using TLS : unable to login
- without : need to login twice to succeed.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
which information do you have in debug mode ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
which information do you have in debug mode ?
First, I have extra information.
I see that the problem also exist in former release: users have to be added first, after LDAP authentication can take place. So there is (I think) only one other problem:
When a user (loginname) is added, this user can authenticaty by LDAP.
However, other LDAP attributes (surname, givenname and email) are not updated in the database, in version 0.70.2 (this update works fine in former versions).
We have 'surname', 'givenname' and 'mail' defined in GLPI's LDAP configuration page.
Thank you,
Fred
Offline
there's something I don't understand.
when you talk about secure ldap, you mean using TLS or using ldaps ?
Offline
there's something I don't understand.
when you talk about secure ldap, you mean using TLS or using ldaps ?
ldaps
Offline
Information that supports my conclusion that users have to be added first before they can authenticate by LDAP:
The 'login.php' includes the statement:
// exists=0 -> no exist (this is when the user does not exist in the database)
There is no statement that runs when this condition exist; there are statements that are runned when 'exists=1' or 'exists=2'.
Offline
if user does not exists, we cannot try its old login method. So this case does not exists here.
But all auth methods are tested just after to find the right one.
Process work fine on ldap. switching one ldaps make it working bad. Problem is not global on the login.php process but in the specific ldap auth methods used.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Is there any news about this problem ??
As long as ldaps is not working for new users we cannot upgrade to version 0.70.2
Last edited by Eric Hofland (2008-02-06 13:32:20)
Windows 2003 - IIS6 PHP 5.2.5 Mysql 5.0.51
IE8 & Fiefox 4.0
GLPI 0.72.3
Offline
I'll work on it as soon as possible
ok I reproduce the problem, I'm working on a solution
Last edited by wawa (2008-02-06 17:24:57)
Offline
If you need any help with testing ...just give a shout
Windows 2003 - IIS6 PHP 5.2.5 Mysql 5.0.51
IE8 & Fiefox 4.0
GLPI 0.72.3
Offline
hello
after some testing neither MoYo nor myself could reproduce the problem on recent systems.
Could you please test a higher version of PHP, because it seems to come from here (I had another problem solved by upgrading PHP's version)
Offline
for information my php version : 5.2.3
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
We already upgraded PHP to 5.2.5
If PHP version was the problem it should also fail in 0.68.3 but that version is working o.k. (running on the same system)
In 0.70.2 user gets Access Denied and an empty record is created.
If i then try to add the user manually in
Users - From an external source - Add LDAP
The message is: Unable to add. The user already exists.
Eric
Windows 2003 - IIS6 PHP 5.2.5 Mysql 5.0.51
IE8 & Fiefox 4.0
GLPI 0.72.3
Offline
I just tried the latest svn (glpi-unstable-2008-02-25) and the login using ldaps is working ok in that version, user record is created and filled with Ldap data.
however if I add a user using Administration - Users - From an external source - and enter login - Add LDAP
the error message is: User not found or several users found
Windows 2003 - IIS6 PHP 5.2.5 Mysql 5.0.51
IE8 & Fiefox 4.0
GLPI 0.72.3
Offline