LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-10-2005, 09:27 PM   #1
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Rep: Reputation: 15
Windows XP client to a Samba server


Hi,

I'm having a heck of a time getting Samba to work correctly.

I'm on 2.6.14-1.1644_FC4 and 3.0.14a-2 of Samba. I've managed to get Samba Web Administration Tool up and running and windows can ping my computer and sees it in the workgroup. but if I try and click the name I get the following error message:

\\samba is not accessible. You might not have permission to use this network resource. Contact the administrator of the server to find out if you have access permissions. Access is denied.

If I try and type the following in the address bar \\samba\share I get a box allowing me to type in the Guest password.. Can't type in another user to connect as.

Here is my smb.conf:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/12/10 22:06:31

# Global parameters
[global]
workgroup = WORKGRP.NET
netbios name = SAMBA
server string = MythTV Box
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[share]
path = /var/share
read only = No
guest ok = Yes

Can someone please help me figure this out?

Thanks,

jb
 
Old 12-10-2005, 11:35 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
1. Try changing the "netbios" name in your Samba config to your actual hostname (I presume your Linux PC is *not* named "samba").

2. I can't imagine that it's still necessary ... but Samba (like Win9x shares before it) *required* that you have the same username with the same password on both the client and the server.

Please try creating such a user (on both the Linux and Windows sides), and make sure he owns at least one "test share" you publish from Samba.

3. On Windows, I can access my Samba share like this:
[Start], run,
\\myhost\myshare (where "\\myhost" is the name of my PC, and "\myshare" is the share)

4. On Linux (Suse 9.x), I usually access Windows shares using the "Konqueror" web browser:

smb:/mywindowshost/mywindowsshare

Here's more info that might help:
http://www.faqs.org/docs/Linux-HOWTO/SMB-HOWTO.html

Last edited by paulsm4; 12-10-2005 at 11:36 PM.
 
  


Reply


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
Connecting Windows XP client to Samba server srini2001 Linux - Networking 5 03-15-2006 09:25 AM
samba client freezes when samba server goes down timcharper Linux - Networking 1 08-22-2005 10:29 PM
FC3 Samba Server + Windows ME Client DoubleOTeC Linux - Networking 4 07-25-2005 11:46 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
Samba as File & Printer Server with Windows XP Pro as client FrontRunner Linux - Newbie 0 08-17-2004 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:35 PM.

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