smbpasswd ?

Gerald Carter jerry at samba.org
Wed Jan 23 07:19:21 GMT 2002


On Tue, 22 Jan 2002, Paul Reilly wrote:

>
> Hi,
>
> I'm using smbpasswd from the 2.2.2 samba and it's acting a bit odd:
> Scenario: Running as a non-priveleged user, I run smbpasswd to change by
> samba passwd in /usr/local/samba/private/smbpasswd
>
> If I run smbpasswd with no argument it correctly prompts for the
> following:
>
> % smbpasswd
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> Password changed for user paulr
>
> However if I run it with my username as an argument, it does the
> following:
>
> % smbpasswd pareilly
> Old SMB password:
> Password changed for user paulr
>
> ie - it never asks for the new password, but does change my password to
> something, as the entry in the samba private password has changed! I need
> to be able script smbpasswd in expect, but it's not acting as I would
> expect. Why doesn't it prompt for the new password?!

Sounds like a bug to me.  We'll look into it.






jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list