I'm trying to use Samba to transfer some pictures on my local network from one of my Linux machines to my windows XP one. I set up the Samba Server using Yast. The output from 'testparm /etc/samba/smb.conf' is good. My Global parameters are: [global] workgroup = MYHOME netbios name = MYSAMBASERVER map to guest = Bad User username map = /etc/samba/smbusers printcap cache time = 750 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s When I run smbclient to list my shares I get this: # smbclient -L Linux Error connecting to 127.0.0.2 (Connection refused) Connection to Linux failed I get this as root and my normal self on the same machine the server is on. I turned the firewall off. My /etc/samba/smbusers file: # This file allows you to map usernames from the clients to the server. # Unix_name = SMB_name1 SMB_name2 ... # # See section 'username map' in the manual page of smb.conf for more # information. root = administrator ;nobody = guest pcguest smbguest Any ideas why my connection is being refused? Also, anyone know how to access this samba share from the windows side? Thanks, Jerome ps: Output from /var/log/samba/log.nmbd: [2005/07/20 23:06:54, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name MYHOME<1b> for the workgroup MYHOME. Unable to sync browse lists in this workgroup. Jerome
On Thursday, July 21, 2005 @ 1:21 AM, Jerome Lyles wrote:
I'm trying to use Samba to transfer some pictures on my local network from one of my Linux machines to my windows XP one. I set up the Samba Server using
Yast. The output from 'testparm /etc/samba/smb.conf' is good. My Global parameters are:
[global] workgroup = MYHOME netbios name = MYSAMBASERVER map to guest = Bad User username map = /etc/samba/smbusers printcap cache time = 750 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s
-When I run smbclient to list my shares I get this: -# smbclient -L Linux -Error connecting to 127.0.0.2 (Connection refused) -Connection to Linux failed -I get this as root and my normal self on the same machine the server is on. -I turned the firewall off. -My /etc/samba/smbusers file: -# This file allows you to map usernames from the clients to the server. -# Unix_name = SMB_name1 SMB_name2 ... -# -# See section 'username map' in the manual page of smb.conf for more -# information. -root = administrator -;nobody = guest pcguest smbguest -Any ideas why my connection is being refused? Also, anyone know how to access -this samba share from the windows side? -Thanks, -Jerome -ps: Output from /var/log/samba/log.nmbd: -[2005/07/20 23:06:54, 0] -nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) - find_domain_master_name_query_fail: - Unable to find the Domain Master Browser name MYHOME<1b> for the workgroup -MYHOME. - Unable to sync browse lists in this workgroup. -Jerome Here's what I have in my smb.conf. I am not using passwords. I can bring up the shareddocs linux folder from my Windows machine and move files in and out of it form the Windows machine. I am running a small network (workgroup) setup (no Windows domain controller). # Global parameters [global] socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY username map = /etc/samba/user.map domain master = False map to guest = bad user veto files = /*.eml/*.nws/riched20.dll/*.{*}/ wins support = yes unix extensions = Yes printing = CUPS workgroup = MYHOME os level = 2 printcap name = CUPS syslog = 0 security = share log level = 1 server string = Desktop-Linux # null passwords = yes [SharedDocs] path = /shareddocs guest ok = Yes guest account = nobody force group = MYHOME force create mode = 0060 force directory mode = 0070 create mask = 0770 directory mask = 0770 read only = no I created a shareddocs folder on my Linux machine just to make it obvious that that was the folder I was sharing with my Windows machine. It's been so long since I set this up I don't remember what some of he options do, but this works for me from my XP machine. Greg Wallace P. S.: I substituted your group name for mine.
----- Original Message ----- From: "Jerome Lyles" <susemail@hawaii.rr.com> To: "SuSE Linux" <suse-linux-e@suse.com> Sent: Thursday, July 21, 2005 4:21 AM Subject: [SLE] Using Samba
I'm trying to use Samba to transfer some pictures on my local network from one of my Linux machines to my windows XP one. I set up the Samba Server using Yast. The output from 'testparm /etc/samba/smb.conf' is good. My Global parameters are:
[global] workgroup = MYHOME netbios name = MYSAMBASERVER map to guest = Bad User username map = /etc/samba/smbusers printcap cache time = 750 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s
When I run smbclient to list my shares I get this:
# smbclient -L Linux Error connecting to 127.0.0.2 (Connection refused) Connection to Linux failed
as root, what do: rcnmb status rcsmb status tell you? have you run testparm against your smb.conf? also, try smbclient -U% -L localhost -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
participants (3)
-
david rankin
-
Greg Wallace
-
Jerome Lyles