does smbpasswd -r <host> need conf file?
Andy Smith
abs at maunsell.co.uk
Wed May 20 09:51:12 GMT 1998
If I copy the binary for smbpasswd to some unix workstation not running
samba and arrange for the user to invoke it as 'smbpasswd -r <host>'
where <host> is the unix server running samba as a pdc, it objects that
it cant find it's configuration file.
However, if I supply an empty configuration file (eg touch
/usr/local/lib/samba/smbd.conf) it will quite happily change the
encrypted passwd on the pdc, so would there be any implications if the
requirement to successfully read a config file were relaxed when using
the -r option?
Incidently, I have noticed when testing this that the encrypted version
of the passwd is always the same for the same clear text passwd (ie,
when I return my smb passwd to the same value as my unix passwd, the
string in private/smbpasswd is the same as it was originally) I
presume this a shortcoming of the using encrypted passwords?
--
_ __ Maunsell Ltd, IT Unit Tel : 0181-663-6565
/_| _/ ( _ '_// 160 Croydon Road, Fax : 0181-663-6723
( |/)(/(/ __)//)/ //) Beckenham, Kent BR3 4DE Email: abs at maunsell.co.uk
/ England. -or- abs at maunsl00.demon.co.uk
More information about the samba-ntdom
mailing list