Editing the smbpasswd file

Gary Wilson wilsong at sergievsky.cpmc.columbia.edu
Wed Feb 28 01:32:37 GMT 2001


If you want to replace Kedit with a graphical editor and you are working in
something like KDE or GNOME, I'd recommend nedit. You can get a copy at
www.nedit.org. It's the best editor available on Linux (in my opinion anyway
:-))

Gary

----- Original Message -----
From: "James W. Beauchamp" <jbeauchamp7 at mindspring.com>
To: "Greg J. Zartman, P.E." <greg at leiinc.com>; <samba-ntdom at samba.org>
Sent: Tuesday, February 27, 2001 8:26 PM
Subject: Re: Editing the smbpasswd file



----- Original Message -----
From: "Greg J. Zartman, P.E." <greg at leiinc.com>
To: "Samba Mailing List" <samba-ntdom at us5.samba.org>
Sent: Tuesday, February 27, 2001 7:09 PM
Subject: Editing the smbpasswd file


> I'm sure the question that I am about to ask has to do with my lack of
> familiarity with Unix based editors, but what is the best editor to use to
> make manual changes to the smbpasswd file?  I am using the KDE kedit
editor
> and it seems to be fouling up my smbpasswd file.  After I make changes in
> kedit, I get the error malformed password entry (uid not number!) when I
use
> the smbpasswd applet to do just about anything.

I use vi, but that is my personal choice.  As a first timer, you may find
pico easier to use.  There are many others.  I'm sure others will chime in
here.


>
> Along these lines, I thought Samba 2.2 alpha 2 allowed win users to change
> their smbpasswd passwords remotely from the windows client.  Is this true?
> If so, how do you do it (I would have thought it could be down by pressing
> CTRL-ALT-DEL and selecting the change password option).
>

For Samba to change passwords, you need to edit your smb.conf file,
specifically in the 'password chat' section.  This area let's you configure
samba for the conversation that takes place when a user changes their
password.  See the man page on smb.conf for an explanation of the parameters
associated with unix/windoze password synch

HTH

James



>
> thank you.
> Greg J. Zartman, P.E.
>
>








More information about the samba-ntdom mailing list