On Tue, Nov 20, 2001 at 03:44:56PM +1100, Gordon Rowell <[EMAIL PROTECTED]> wrote:
> [...]
> You'll need to do the following:
> [...]
> /usr/bin/smbpasswd leaves /etc/smbpasswd with the correct permissions when
> run by root or a user.

OK, these steps are now in the latest e-smith-samba RPM. I can 
join domains as "admin" and no longer need "root" in the smpasswd file.

# Upgrade e-smith-samba and e-smith-lib - the "root" user is no
# longer required in /etc/smbpasswd

FTP=ftp://ftp.e-smith.com/pub/e-smith/contrib/GordonRowell/RPMS/noarch

rpm -Uvh $FTP/e-smith-samba-1.1.0-24.noarch.rpm \
         $FTP/e-smith-lib-1.7.0-25.noarch.rpm

# If you haven't already done so, upgrade to the "official" Samba 2.2.2 RPMs

FTP=ftp://ftp.e-smith.com/pub/e-smith/contrib/CharlieBrady/RPMS/i386

rpm -Uvh $FTP/samba-2.2.2-6.i386.rpm \
         $FTP/samba-common-2.2.2-6.i386.rpm \
         $FTP/samba-client-2.2.2-6.i386.rpm

# Remove the root user from /etc/smbpasswd - no longer required
smbpasswd -x root

# Reconfigure Samba and set permissions on /etc/smbpasswd
/sbin/e-smith/events/actions/conf-samba
/sbin/e-smith/events/actions/restart-samba

Now try joining the domain by entering admin as the user and your system
password.

Try also to join the domain as "root", which should now fail.

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

Reply via email to