John
A few comments
1/ Your workgroup name is LINUX, that means the workgroup name in your Windows
boxes must also be LINUX (The default workgroup for a Windows box is
WORKGROUP)
2/ A lot of your statements are unnecessary. Here is part of my smb.conf
[global]
path = /var/spool/cups
workgroup=WORKGROUP
domain master = True
printing = cups
dns proxy = No
encrypt passwords = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
wins support = Yes
max log size = 50
preferred master = True
interfaces = eth0
printer = Deskjet
server string = Samba Server %v
comment = Deskjet
netbios name = DEREK
log file = /var/log/samba/log.%m
load printers = yes
os level = 65
3/ smbclient is a lot easier to get working than smbserver. The easiest way
to test smbclient in my opinion is to install komba2. Then as soon as you
start komba2 you should be able to see any Windows networks regardless of
whether smbserver is actually working in your machine. You will also be able
to mount shares in remote Windows computers.
4/ smbserver is not going to work until you define smb users
A convenient way of adding users is to use webmin to set up samba. There is a
button in webmin which will convert your Linux users unto samba users
Alternatively from the root commandline
smbpasswd -a username (you are then prompted for a password for the user)
HTH
derek
On Friday 27 Sep 2002 9:54 am, John Wilson wrote:
> Hi there. :)
>
> After some frustrating hours of trying to set up SAMBA, by the book, I'm
> now faced with SWAT telling me that neither SMBD or NMBD are running.
> Curious thing is that they are when I check running processes.
> Further..when I restart SMBD SWAT reports it as not running but it does
> show a connection. This lasts through one 30 second refresh period then
> vanishes.
>
> A check of the log files shows all this happening with the comment every
> time that the services are running.
>
> Getting smbclient to work isn't helping, either. Though I'm so confused
> now that I'm probably doing something wrong. :)
>
> Either way, this isn't particularly trivial. I'm trying to link up a
> couple of Winblows boxes to my Linux box as well as wipe out the Windows
> partition on this machine. As long as I have to keep going into Windows to
> file and print share the latter isn't possible and constantly rebooting
> isn't overly convienient, either.
>
> So...help!!!!!!
>
> Here's my config file if that helps. :)
>
> # Samba config file created using SWAT
> # from UNKNOWN (127.0.0.1)
> # Date: 2002/09/26 23:41:26
>
> # Global parameters
> [global]
> workgroup = LINUX
> netbios name = DELL
> server string = Samba
> interfaces = 192.168.0.1/255.255.255.0
> bind interfaces only = Yes
> encrypt passwords = Yes
> root directory = /
> passwd chat debug = Yes
> syslog = 3
> log file = /var/log/samba/log.%m
> max log size = 50
> debug uid = Yes
> unix extensions = Yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> printcap name = lpstat
> os level = 65
> preferred master = True
> dns proxy = No
> default service = global
> remote announce = 192.168.0.255/LINUX
> hosts allow = localhost, 192.168.0. 127.
> sync always = Yes
> printing = cups
> printer name = Printer
> hide dot files = No
> map hidden = Yes
> dos filetime resolution = Yes
> fake directory create times = Yes
>
> [public]
> comment = Public space with read-write access
> path = /home/local/samba-public
> read only = No
> guest ok = Yes
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> public = yes
> printable = yes
> browseable = no
> available = yes
>
> [John]
> comment = My Linux home
> path = /home/john
> read only = No
>
> [Deskjet]
> path = /tmp
> printable = Yes
> [homes]
>
> I know there are one or two minor problems there, but it passes all the
> tests. So....can someone please tell me what is happening here? :)
>
> thanks.
>
> ttfn
>
> John
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com