On Mon, 26 Jun 2000, Steven Pierce wrote:

->
->Zoki,
->
->Is there a way to check to see if Samba is running??  I tried to load
->linuxconf and it tells me there is an error with samba.  I am not sure
->what to look at.  Thank you.

<snip>


->>     smbclient -L [name_samba_server] -U [your_samba_username]


*** Steven,

The answer was in your mail! Like a lot of people told you, ps ax | grep
smb to see if the daemon is running and the smbclient line to see what
shares you can access on the Samba server, if any. I don't know if you
all ready finished configuring /etc/smbclient?

Something that might help you configure samba the easy way is SWAT: "Samba
Web Administration Tool"

1/
To activate it, uncomment or add the next line in /etc/inetd.conf:

# SAMBA Web browser configuration tool
swat      stream  tcp     nowait.400      root /usr/sbin/swat swat

2/
Comment out the following:
# SAMBA NetBIOS services (for PC file and print sharing)
#netbios-ssn   stream    tcp    nowait    root    /usr/sbin/smbd smbd
#netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd

3/
Add the following to /etc/services:
swat            901/tcp              # Browser config tool for SAMBA

4/
(Re)start these services:

        4.1/
        /etc/rc.d/init.d/inet stop
        /etc/rc.d/init.d/inet start

        4.2/
        /etc/rc.d/init.d/smb stop
        /etc/rc.d/init.d/smb start

5/
Please stop the following service and forget about it!

        5.1/
        /etc/rc.d/init.d/linuxconf stop

        5.2/ 
        In order to avoid linuxconf starting at next boot, type as root
        "setup", go to "System Services", put the cursor on linuxconf and hit the
        space bar. Go to <OK> with the tab key and hit <Enter>.

One day it will maybe work "as well" as SAM (HP) or scoadmin (SCO), but
in the meantime...

6/
Make sure you're not doing anything wrong in /etc/hosts.allow and
hosts.deny.

If you have questions, don't hesitate.

Cheers!
   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  _/ Zoran GRBIC       _/  Linux user & advocate  _/
 _/ UNIX Sys Analyst  _/  Both Micro$oft's clean _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
Mailed with Linux & Pine...


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to