peter at cadcamlab.org
Thu Jun 15 23:16:50 GMT 2000
[douglas irvine <dci at pitt.edu>]
> OK, I setup the executable script exactly like your readme says, but
> I'm getting a "smbpasswd must *NOT* be run setuid root"
Umm, I did not actually test my smbpasswd script, because I don't have
the right setup handy. Sorry about that.
Try this (still untested):
- /usr/local/samba/bin/smbpasswd -s -r "$ntserver" -U "$u"
+ su "$u" -c "/usr/local/samba/bin/smbpasswd -s -r '$ntserver' -U '$u'"
More information about the samba-ntdom