LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 23rd, 2010, 02:59 PM
badman6 badman6 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 1 badman6 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 16 sec
Reputation Power: 0
LDAP authentication question

Hello everyone!
Please have in mind that I'm a new user and LDAP noobie.

My goal was to install LDAP server, then use migration tools to migrate my Linux users to LDAP, and then configure LDAP client and PAM properly so I could log into Linux using data stored in LDAP directory.

I did all that, and everything seems ok. I mean getent passwd | grep user produces double info about that user (passwd + ldap data).

I can log out from my account, and log back to a test user, despite deleting his data from /etc/passwd and /etc/shadow (which is neccesary to check if ldap works ok, I guess -after that getent has only one outcome pointing to ldap, where data still exists).

But I have problem with a following command:
Code:
passwd user
(changing user's password).
I get an info that both ldap and passwd passwords were changed successively. I try to relog and I can login with my old (lets say: test) and new (test2) password. If i try passwd again and change it to test3 I can login with test and test3 (test2 not working).
But if I try:
Code:
su user

only test3 password works.

I'm not sure if that's relevant but if I check that user (whose password was changed with passwd user)in Luma it shows something like this in userpassword value : {crypt}$1$BiSCYSPa$6OrmqClnu3h6juR1q89AJ/
Any other user whose password was not changed (only migrated) is : {crypt}x

What is going on? Can anyone explain that to me? Where is that oldest password (test) stored if I deleted entries in /etc/passwd and /etc/shadow?

I'm using Ubuntu 10.04.

Thanks for any help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP authentication question

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap