Networking Forums

Networking Forums > Computer Networking > Linux Networking > linux and ldap changing passwords?

Reply
Thread Tools Display Modes

linux and ldap changing passwords?

 
 
Mike
Guest
Posts: n/a

 
      12-15-2006, 12:40 AM
I am running my final tests on a combination of OpenLDAP,
Samba PDC, Windows, linux, and various other unix boxes. I
have LDAP populated with data for my company, I can manage
LDAP, use it for ssh and other linux logins by modifying
/etc/pam.d/sshd, I can authenticate from a windows box and
log into that windows box getting my normal desktop, etc.
I can also change my password on the windows box and see
that password propagated to LDAP for other authentication
needs including logging into linux with the new password.
I'm having problems changing my password on linux, though.
As a normal user (I've not tried root, that account will
be local to each box) I use 'passwd' and get an error:

$ passwd
Changing password for user mikee.
passwd: Authentication token manipulation error

Any guesses what I need to change to make the changing
passwords on linux work back into ldap?

Mike

Red Hat Fedora Core 5
OpenLDAP 2.3.19
 
Reply With Quote
 
 
 
 
Patrick
Guest
Posts: n/a

 
      12-15-2006, 04:22 AM
In news:H2ngh.75$(E-Mail Removed),
Mike <(E-Mail Removed)> wrote:

> I am running my final tests on a combination of OpenLDAP,
> Samba PDC, Windows, linux, and various other unix boxes. I
> have LDAP populated with data for my company, I can manage
> LDAP, use it for ssh and other linux logins by modifying
> /etc/pam.d/sshd, I can authenticate from a windows box and
> log into that windows box getting my normal desktop, etc.
> I can also change my password on the windows box and see
> that password propagated to LDAP for other authentication
> needs including logging into linux with the new password.
> I'm having problems changing my password on linux, though.
> As a normal user (I've not tried root, that account will
> be local to each box) I use 'passwd' and get an error:
>
> $ passwd
> Changing password for user mikee.
> passwd: Authentication token manipulation error
>
> Any guesses what I need to change to make the changing
> passwords on linux work back into ldap?


Do you have the required modules installed and entries in
/etc/nsswitch.conf, the /etc/pam.d/* and /etc/ldap.conf files?
http://enterprise.linux.com/enterpri....shtml?tid=129 or
http://docs.linux.com/article.pl?sid...&tid=14&tid=94

 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      12-15-2006, 10:28 AM
Mike wrote:
> I am running my final tests on a combination of OpenLDAP,
> Samba PDC, Windows, linux, and various other unix boxes. I
> have LDAP populated with data for my company, I can manage
> LDAP, use it for ssh and other linux logins by modifying
> /etc/pam.d/sshd, I can authenticate from a windows box and
> log into that windows box getting my normal desktop, etc.
> I can also change my password on the windows box and see
> that password propagated to LDAP for other authentication
> needs including logging into linux with the new password.
> I'm having problems changing my password on linux, though.
> As a normal user (I've not tried root, that account will
> be local to each box) I use 'passwd' and get an error:
>
> $ passwd
> Changing password for user mikee.
> passwd: Authentication token manipulation error
>
> Any guesses what I need to change to make the changing
> passwords on linux work back into ldap?
>
> Mike
>
> Red Hat Fedora Core 5
> OpenLDAP 2.3.19


You need smbldap-passwd which, on my Debian system, is in a package
called smbldap-tools.

Robert
 
Reply With Quote
 
Mike
Guest
Posts: n/a

 
      12-15-2006, 11:29 AM
On 2006-12-15, Patrick <(E-Mail Removed)> wrote:
> In news:H2ngh.75$(E-Mail Removed),
> Mike <(E-Mail Removed)> wrote:
>
>> I am running my final tests on a combination of OpenLDAP,
>> Samba PDC, Windows, linux, and various other unix boxes. I
>> have LDAP populated with data for my company, I can manage
>> LDAP, use it for ssh and other linux logins by modifying
>> /etc/pam.d/sshd, I can authenticate from a windows box and
>> log into that windows box getting my normal desktop, etc.
>> I can also change my password on the windows box and see
>> that password propagated to LDAP for other authentication
>> needs including logging into linux with the new password.
>> I'm having problems changing my password on linux, though.
>> As a normal user (I've not tried root, that account will
>> be local to each box) I use 'passwd' and get an error:
>>
>> $ passwd
>> Changing password for user mikee.
>> passwd: Authentication token manipulation error
>>
>> Any guesses what I need to change to make the changing
>> passwords on linux work back into ldap?

>
> Do you have the required modules installed and entries in
> /etc/nsswitch.conf, the /etc/pam.d/* and /etc/ldap.conf files?
> http://enterprise.linux.com/enterpri....shtml?tid=129 or
> http://docs.linux.com/article.pl?sid...&tid=14&tid=94
>


I am able to ssh and log into the console without having a
local account, so the files /etc/nsswitch.conf, /etc/pam.d/sshd,
and /etc/ldap.conf work. Also 'getent passwd' and ldapsearch
work without error. I'll look at the links, thanks.

Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to bind to LDAP server ldap://127.0.0.1: Confidentiality required Bjørn A. Linux Networking 0 02-05-2007 06:37 PM
Changing Administrator passwords in bulk on network =?Utf-8?B?RG91YmxlYWw=?= Windows Networking 1 03-08-2005 07:04 PM
Samba x NIS x LDAP in a pure client/server Linux env Edilmar Alves Linux Networking 1 04-27-2004 08:47 PM
samba and linux passwords Jeff Godfrey Linux Networking 2 03-02-2004 12:14 AM
NIS: problems when changing passwords GuruJ Linux Networking 0 07-02-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11