Extreme Samba Newbie needs more help

Michael Sandford sandford_michael at hotmail.com
Sun Apr 15 01:26:36 GMT 2001


Tom Syroid was kind enough to answer my first question.  I had some really 
weird errors and he told me to uninstall the samba that I had compiled on my 
own and reinstall the samba.tgz that came with slackware 7.1 which is what I 
am running.  I did so, and the weird errors no longer occur.  Instead when I 
try:
root at vader82:/# smbclient -L localhost
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 127.0.0.1:139 (Connection refused)
Connection to localhost failed

Not good.  He said it should work almost out of the box with only slight 
changes to smb.conf.  I managed to get SWAT working, and so created a 
smb.conf file.  What I have though to be most interesting is that samba 
doesn't appear on ps x or ps ax.

root at vader82:/# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:09 init [3]
    2 ?        SW     0:00 [kflushd]
    3 ?        SW     0:00 [kupdate]
    4 ?        SW     0:00 [kpiod]
    5 ?        SW     0:00 [kswapd]
   58 ?        S      0:00 /bin/sh /etc/rc.d/rc.M
   74 ?        S      0:00 /sbin/rpc.portmap
   78 ?        S      0:00 /usr/sbin/syslogd
   81 ?        S      0:00 /usr/sbin/klogd -c 3
   83 ?        S      0:00 /usr/sbin/inetd
   85 ?        S      0:00 /usr/local/sbin/sshd
   87 ?        S      0:00 /usr/sbin/lpd
   89 ?        S      0:00 /usr/sbin/rpc.mountd
   92 ?        S      0:00 /usr/sbin/rpc.nfsd
   94 ?        S      0:00 /usr/sbin/crond -l10
   96 ?        S      0:00 /usr/sbin/atd -b 15 -l 1
  108 ?        S      0:00 /usr/local/apache/bin/httpd
  110 ?        S      0:00 /usr/local/apache/bin/httpd
  111 ?        S      0:00 /usr/local/apache/bin/httpd
  112 ?        S      0:00 /usr/local/apache/bin/httpd
  113 ?        S      0:00 /usr/local/apache/bin/httpd
  114 ?        S      0:00 /usr/local/apache/bin/httpd
  146 ?        S      0:00 dhclient eth0
  219 ?        S      0:00 sh /usr/local/mysql/bin/safe_mysqld
  232 ?        S      0:00 /usr/local/mysql//libexec/mysqld 
--basedir=/usr/local/mysql/ --datadir=/usr/local/mysql//var --user=root
  234 ?        S      0:00 /usr/local/mysql//libexec/mysqld 
--basedir=/usr/local/mysql/ --datadir=/usr/local/mysql//var --user=root
  235 ?        S      0:00 /usr/local/mysql//libexec/mysqld 
--basedir=/usr/local/mysql/ --datadir=/usr/local/mysql//var --user=root
  236 ?        S      0:02 /usr/local/sbin/sshd
  241 pts/0    S      0:00 -bash
  320 ?        S      0:00 /usr/local/apache/bin/httpd
  321 ?        S      0:00 /usr/local/apache/bin/httpd
  322 ?        S      0:00 /usr/local/apache/bin/httpd
  323 ?        S      0:00 /usr/local/apache/bin/httpd
  324 ?        S      0:00 /usr/local/apache/bin/httpd
  397 pts/0    R      0:00 ps ax

this is the script that starts samba up when I boot my machine, and smbd and 
nmbd are both where they should be.

root at vader82:/etc/rc.d# more rc.samba
#
# rc.samba: Start the samba server
#
if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd ]; then
echo "Starting Samba..."
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
fi

here is my smb.conf file:
root at vader82:/etc# more smb.conf
# Samba config file created using SWAT
# from SirLancelot (192.168.0.2)
# Date: 2001/04/14 13:52:13

# Global parameters
[global]
        workgroup = CAMELOT
        netbios name = KINGARTHUR
        interfaces = 192.168.0.1/24
        preferred master = Yes

[msandford]
        comment = Mikes Directory
        path = /home/msandford/
        writeable = Yes

I saw one other message like this posted in the archives which I have looked 
through pretty thoroughly.  There was no reply to the message, much to my 
dismay.  If anyone can help me I would greatly appreciate it.  Not only will 
I be able to use samba, but I will be able to tell 3 of my friends from 
school who say that samba is impossible to make work that they are wrong.

Thank You,
Michael Sandford

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the samba mailing list