smbpasswd password changing

Andrew Morgan morgan at orst.edu
Wed Mar 27 13:04:02 GMT 2002


On Wed, 27 Mar 2002, Herb Lewis wrote:

> This is a bug in smbpasswd. I just checked in a fix. thanks
> for pointing this out. Here is the change I made.
>
> Index: utils/smbpasswd.c
> ===================================================================
> RCS file: /data/cvs/samba/source/utils/smbpasswd.c,v
> retrieving revision 1.93.2.31
> diff -r1.93.2.31 smbpasswd.c
> 903c903,905
> <       if(!(local_flags &
> (LOCAL_ADD_USER|LOCAL_DISABLE_USER|LOCAL_ENABLE_USER|LOCAL_DELETE_USER|LOCAL_SET_NO_PASSWORD)))
> {
> ---
> >       if(remote_machine) {
> >               printf("Password changed for user %s on %s.\n", user_name, remote_machine );
> >       } else if(!(local_flags & (LOCAL_ADD_USER|LOCAL_DISABLE_USER|LOCAL_ENABLE_USER|LOCAL_DELETE_USER|LOCAL_SET_NO_PASSWORD))) {

Thanks!  I just recompiled smbpasswd with this patch and it does fix the
problem I was seeing.

	Andy





More information about the samba-technical mailing list