I'm sending this again because i never got an answer! Is it possible to change the linux pasword from a windows or dos machine connected via samba? I'm using SuSE 7.1 with Samba v 2.0.7 if it makes any difference. Mark ____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.
Hello,
From the samba FAQs
What is password sync and should I use it ? NTws users can change their domain password by pressing Ctrl-Alt-Del and choosing 'Change Password'. By default however, this does not change the unix password (typically in /etc/passwd or /etc/shadow). (...) How do I get remote password (unix and SMB) changing working ? Have a practice changing a user's password (as root) to see what discussion takes place and change the text in the 'passwd chat' line below as necessary. The line as shown works for recent RH Linux but most other systems seem to like to do something different. The '*' is a wild card and will match anything (or nothing). Add these lines to smb.conf under [Global] unix password sync = true passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *successful* (...) A Dilluns 22 Octubre 2001 11:48, Mark A. Tagliaferro va escriure:
I'm sending this again because i never got an answer!
Is it possible to change the linux pasword from a windows or dos machine connected via samba?
Regards, Pep.
First thanks for the answers. The Linux side is solved. My problem remains the Windows side of things. My windowns are 9x not NT and Ctrl-Alt-Del doesn't work on them. Any ideas? I'm hoping for some sort of application. Can it be that for an NT network you have to have nt clients or users can't change their password from their own machine? Is there anything available for DOS? Mark --- Pep Serrano <pep@serrano.net> wrote: > Hello,
From the samba FAQs
What is password sync and should I use it ?
NTws users can change their domain password by pressing Ctrl-Alt-Del and choosing 'Change Password'. By default however, this does not change the unix password (typically in /etc/passwd or /etc/shadow).
(...)
How do I get remote password (unix and SMB) changing working ?
Have a practice changing a user's password (as root) to see what discussion takes place and change the text in the 'passwd chat' line below as necessary. The line as shown works for recent RH Linux but most other systems seem to like to do something different. The '*' is a wild card and will match anything (or nothing).
Add these lines to smb.conf under [Global]
unix password sync = true passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *successful*
(...)
A Dilluns 22 Octubre 2001 11:48, Mark A. Tagliaferro va escriure:
I'm sending this again because i never got an answer!
Is it possible to change the linux pasword from a windows or dos machine connected via samba?
Regards, Pep.
____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.
On Tuesday 23 October 2001 8:59 am, Mark A. Tagliaferro wrote:
First thanks for the answers. The Linux side is solved. My problem remains the Windows side of things.
My windowns are 9x not NT and Ctrl-Alt-Del doesn't work on them. Any ideas? I'm hoping for some sort of application. Can it be that for an NT network you have to have nt clients or users can't change their password from their own machine? Is there anything available for DOS?
You can set-up Samba-based password synchronisation to do this. In doing this, Samba will authenticate your Windows clients and update the passwords in smbpasswd whenever the user changes their Windows password. This can also be extended to change the Windows user's UNIX password (using unix password sync). It only works for changes originating from the Windows clients. However, you need to set-up encrypted passwords first (if not already done). I've set this up in the past (SuSE 7.0) and could (probably) walk you through this. An alternative, is to use PAM-based password syncronisation (pam-smb). This has the advantage of working both ways; changes originating from either Windows or UNIX are syncronised. M -- Martin Webster <mwebster@ntlworld.com> Registered Linux User #230322 http://homepage.ntlworld.com/spider-monkey/
On Monday 22 October 2001 9:48 am, Mark A. Tagliaferro wrote:
Is it possible to change the linux pasword from a windows or dos machine connected via samba?
The only solution I can think of is to use Windows NT as a password server. Any use? M -- Martin Webster <mwebster@ntlworld.com> Registered Linux User #230322 http://homepage.ntlworld.com/spider-monkey/
participants (3)
-
Mark A. Tagliaferro
-
Martin Webster
-
Pep Serrano