Editing the smbpasswd file

Greg J. Zartman greg at kwikfind.com
Wed Feb 28 02:19:31 GMT 2001


I thought the password sync functionality of Samba was to synchronize the
passwords in smbpasswd file with those in the passwd file????  The Samba
FAQs seem to indicate that the ability to change the password in the
smbpasswd file remotely from a windows machine is there, but I can't get it
to work.  I get really strange error message on the windows side (something
I'm sure only the "coders" can figure out) and a message in my samba log
file that says the function is not yet implemented.

I'm running Samba 2.2 alpha 2, which was released after the FAQs came out,
so it would appear that the function is/was working.  Is there something I
am missing in my smb.conf file???

Thank you.

Greg J. Zartman

----- 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 5: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