On Tue, Nov 20, 2001 at 03:05:02PM +1100, Gordon Rowell <[EMAIL PROTECTED]> wrote: > [...] > I've just had another wander through the Samba 2.2.2 code and I _think_ > that "chown admin /etc/smbpasswd" may well do the trick. Samba changes > the permissions, but does not appear to change the ownership. > > Still investigating, but reports from others who are willing to try this > out would be great.
You'll need to do the following: chmod ug+s /etc/e-smith/events/actions/create-machine-account chown admin /etc/smbpasswd Then try to join the domain with admin/<system password> /usr/bin/smbpasswd leaves /etc/smbpasswd with the correct permissions when run by root or a user. Gordon -- Gordon Rowell [EMAIL PROTECTED] VP Engineering Network Server Solutions Group http://www.e-smith.com Mitel Networks Corporation http://www.mitel.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
