Setting password on NT PDC using Samba w/admin rights
Jean Francois Micouleau
Jean-Francois.Micouleau at dalalu.fr
Tue Dec 14 07:37:51 GMT 1999
On Tue, 14 Dec 1999, Ryan Russell wrote:
> I want to reset the passwords of NT users in one of our domains from
> a *nix box. Obviously, I've looked at smbpasswd. That works well
> if the old password is known. I'm looking at the situation where an
> admin doesn't know the old password, but they themselves have the
> right to change passwords for everyone. Just to be explicit, the PDC
> is a Windows NT machine, and there is no local smbpasswd file
> on the unix machine that I'm concerned about.
what you're looking for is the rpc call samrsetuserinfo which is in the
SAMBA_TNG branch version of both smbd and rpcclient.
More information about the samba-technical