[Samba] use of silent option with smbpasswd

Philipp Stader me at ph1l.de
Fri Jul 4 20:39:19 GMT 2003


Hello everyone

unfortunatly i haven't been able to figure out how to use smbpasswd from
a shell script with the -s option. Anyone able to provide me with an
example how to change a password for a user on a remote PDC?

as root calling smbpasswd -r ntserv username newpassword asks me for the
old password. i didn't get it to work with -s.

All help very appreciated
Kind regards from Germany

Phil

p.s. i'm using debian woody with no local samba server installed (i only
installed samba-common) 




More information about the samba mailing list