[Samba] Resetting passwords using pdbedit?
eravin at panix.com
Fri Mar 19 17:45:57 GMT 2004
On Thu, Mar 18, 2004 at 07:12:19PM +0100, Gémes Géza wrote:
> | I want to be able to reset user passwords from the command line
> | on the Unix server, without knowledge of the existing password.
> | If I was using an smbpasswd file, I could call the "smbpasswd"
> | command and it would edit the file. But with a backend, that's
> | not available to me.
> Thats sound quite strange to my knowledge smbpasswd should also examine
> your smb.conf, for the password backend line, and use the specified one.
> It works perfectly for me (tdbsam (for testing only) and ldapsam
My mistake - I read the man page for smbpasswd before posting:
When run by root, smbpasswd allows new users to be added
and deleted in the smbpasswd file, as well as allows
changes to the attributes of the user in this file to be
made. When run by root, smbpasswd accesses the local smb-
passwd file directly, thus enabling changes to be made
even if smbd is not running.
But when I actually test it, yes, it's using the backend just like
More information about the samba