Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-11-2004, 08:55 AM   #1
LQ Newbie
Registered: Jun 2004
Location: West Lafayette, IN
Distribution: F2, SUSE, Slackware
Posts: 16

Rep: Reputation: 0
Angry Samba Config Problems

I have three computers. Two of which run XP pro the other running F2. All on the same network behind one router. My two XP machines can see each other just fine. When I view workgroup computers I can see my Samba Share, however it gives me one of two errors when I try to access it.

1. A duplicate name exists on the network --- However this is not the case all my computers have different names. Could it be having the same login name for different user accounts on different computers?

2. Network path not found.

The first one being the most common error of the two. The F2 machine can see and access files off my XP machines. However when you try to connect to Localhost through Samba on the F2 I get an error. Why can it not see access itself?

I have tried connect through network drives and that has workd but it is very fickle and usally I am unable to reconnect after I have rebooted the machine.

Currently right now one fo my XP machines can see the F2, but the other can't. Is there a reason why it is so fickle? And why do I keep getting those two errors that I mentioned above?

I have looked through my samba.conf file and have found nothing usefull. I can also ping my F2 from my XP machines. I just don't understand why its giving me thoughs errors. Please Help!

Dazed and Confused
Old 06-11-2004, 09:39 AM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
network path not found sounds like a firewall problem. what does your smb.conf look like?
Old 06-11-2004, 06:19 PM   #3
LQ Newbie
Registered: Jun 2004
Location: West Lafayette, IN
Distribution: F2, SUSE, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0

workgroup = mshome

server string = Samba Server

; hosts allow = 192.168.1. 192.168.2. 127. 192.168.3. 192.168.4. 192.168.5

printcap name = /etc/printcap
load printers = yes

; printing = bsd


; guest account = pcguest

log file = /var/log/samba/%m.log

max log size = 50

; password server = <NT-Server-Name>

; password level = 8
; username level = 8

; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

; username map = /etc/samba/smbusers

; include = /etc/samba/smb.conf.%m

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

; interfaces =

; remote browse sync =

; remote announce =

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U

# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no

#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
password server = None
security = SHARE
guest ok = yes
winbind use default domain = no
comment = Home Directories
browseable = no
writeable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; path = /home/profiles
; browseable = no
; guest ok = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes

# This one is useful for people to share files
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff

# Other examples.
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

comment = Matt's home folder
path = /home/matt
writeable = yes
guest ok = yes
Old 06-12-2004, 12:59 AM   #4
LQ Newbie
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
2. Network path not found.

I have this problem too, however my firewall IS disabled, so I'm pretty sure its not the firewall
Old 06-12-2004, 09:14 AM   #5
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
try adding

netbios name = yournetbiosname

under global, and uncomment

encrypt passwords = Yes

good luck.
Old 06-12-2004, 12:47 PM   #6
LQ Newbie
Registered: Jun 2004
Location: West Lafayette, IN
Distribution: F2, SUSE, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
I think ive got it working

In the properites window of my network connection on my two XP machines I unchecked the QoS Packet Scheduler and left TCP/IP checked along with File and PrintSharing and the Client for Microsoft Networks.

Having both the QoS and TCP/IP checked at the same time may have been the cause why it kept saying there was a duplicate name on the network. Just a thought, but after that things work pretty good. Thx for your help.
Old 06-12-2004, 02:28 PM   #7
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
glad you got things sorted. post back if you have any more trouble.
good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Problems - SuSE 9.2 AMD64 w/config ekasteng Linux - Networking 3 02-14-2005 09:09 AM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 09:36 AM
Problems with Samba Config Mojojo Linux - Networking 1 05-03-2004 10:30 AM
SAMBA config problems danoj Linux - Networking 1 10-20-2003 12:57 PM
SMC 2632W card and SAMBA config problems weblion Linux - Software 3 03-04-2002 06:50 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration