[Samba] smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to change password?

John H Terpstra jht at samba.org
Fri Nov 22 17:14:01 GMT 2002


On 22 Nov 2002, Bradley W. Langhorst wrote:

> After a thorough google and marc search i'm shocked to find
> this problem unmentioned...
>
> How does one go about changing the windows password from a unix machine
> with no physical access to the windows machine sharing things?

SWAT provides the password change facility you are looking for. If you
prefer a command line tool, smbpasswd has the same functionality - check
the -U and -r options. The smbpasswd man page documents the password
change options.

If you need further help email me.

Cheers,
John T.

>
> samba 2.2.3a (debian woody)
> windows2000 server
>
> thanks!
>
> brad
>
> note: here's my latest attempt. I tried this with and without a -c
> parameter
>
> smbclient //coco2/c$ -c "net user bwlang *" -U bwlang
> added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
> added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
> Got a positive name query response from 192.168.0.95 ( 192.168.0.95 )
> Password:
> session setup failed: NT_STATUS_PASSWORD_MUST_CHANGE
>
>
>

-- 
John H Terpstra
Email: jht at samba.org




More information about the samba mailing list