[Samba] Newbie: samba configuration?

Wim Verleyen verleyen.wim at pandora.be
Fri Feb 13 00:00:49 GMT 2004


Dear guru's,

I trying to configure samba(v 3.0.2).
server = linux redhat 9.0
host = win xp

smb.conf
[global]
      netbios name = egmond
      workgroup = WORKGROUP
      security = user
      log file = /var/log/samba.log
      log level = 1
      socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 
SO_SNDBUF=8192
      smb passwd file = /etc/samba/smbpasswd
      wins server = 192.168.10.1
      wins support = yes
      domain logons = yes
      logon drive = p:
      logon home = \\niftyserver\
      os level = 99
      preferred master = yes

[pub]
      path = /cifs/pub
      guest ok = yes
      writeable = yes

[netlogon]
      path = /cifs/netlogon
      read only = yes
      guest ok = yes

in /etc/hosts
192.168.0.1	niftyserver

I read like: "The IP address of the WINS server should be your Samba server 
(where the nmbd daemon is running)"


I could smbclient //localhost/pub...

At my xp pc if I run command
C:\>net use p:\\niftyserver\pub
System error 67 has occurred.
The network name cannot be found.
Which mean like there is something wrong in the name. My linux machine runs 
NAT and I haven't a DHCP server(yet). Is that a requirement in my situation?

I have WINS on 192.168.0.1(XP PC) and
nmblookup -U 192.168.0.1 niftyserver
name_query failed to find name niftyserver

so it really comes back to a naming problem...DHCP required?

Thanks in advance for any help,
Wim




More information about the samba mailing list