LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LDAP and pGina (pure Windows XP client issue) (https://www.linuxquestions.org/questions/linux-general-1/ldap-and-pgina-pure-windows-xp-client-issue-4175440750/)

decenter 12-10-2012 12:16 AM

LDAP and pGina (pure Windows XP client issue)
 
I have installed pGina on windows XP machine. I logged in as LDAP user and then changed the password. But next time when I login, I used the new password, but it doesn't work. I can still authenticate using old password.

But in linux machine, If I change password, it accepts the changes immediately and accepts new password.

So, here I doubt on onething. The pGina doesn't sync to LDAP server each time. That is why, even I have changed the LDAP password of an user, it still logs in using old password.

Any light on this?

acid_kewpie 12-10-2012 03:56 AM

I woudl suggest running wireshark on the server side (or capture with tcpdump and then export the capture to wireshark somewhere else) and look at the ldap interactions when you change the password, see if there acutally is any, and if so, what the operations performed actually are. It doesn't make sense that there should be a cache within pGina, it's meant to be a pure client.

decenter 12-10-2012 06:04 AM

Yes. I found it to be a pure client issue. The pGina software which is installed in the windows XP machine doesn't even connect to LDAP server when the LDAP username is already present in the machine. Actually, when a LDAP user logs in for first time, it first checks the local account. If the username is not found, then it contacts the LDAP server. So, once it authenticates LDAP user, it creates an account in the local machine. So when the same user logs in next time, it doesn't contact the LDAP server, but it checks the local authentication and authenticates. So, if the LDAP user password is changed in the LDAP server , it doesn't make sense. We are still able to login to the client using old password. I believe this is a bug in pGina and it should be addressed as it is a serious matter.

Did any one encounter this issue? Or any one using this software for authenticating LDAP users on windows machine?

I would like to know other methods of LDAP client authentication in Windows.

Thanks.

acid_kewpie 12-10-2012 11:36 AM

Looking over the pGina docs, i'm not sure it's so much a bug, but a glaringly stupid feature. The docs are amazingly thin on the ground for such a potentially useful tool.


All times are GMT -5. The time now is 01:15 AM.