[Samba] Change password via rpcclient?

Andrew Bartlett abartlet at pcug.org.au
Fri May 17 19:32:23 GMT 2002

Adam Williams wrote:
> Is it possible to point rpcclient at a samba PDC and change the user's
> password?  With rpcclient I can "logon" to the PDC as someone with admin
> privilages (to do adddriver, etc..) from a remote machine. smbpasswd -r
> seems to provide no similiar functionality.

Try the rpcclient from Samba-TNG.  samba-tng.org  (use CVS, the
'release' is very old).

They do all their admin stuff over RPC (not directly to the passdb) and
therefore would probably have this stuff working.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list