LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2004, 01:13 PM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Angry Samba!!!!!


I regard post a help message as my last resort. I'm talking about my problems regarding the installation of Samba.

I've spent half day on configuring my Samba server.Here's my Samba configuration details:

Quote:

# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/01/13 21:59:39

# Global parameters
[global]
workgroup = Workgroup
netbios name = Smb
server string = Samba Server
security = share
client code page = 950
guest account = nobody
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/%m.log

[homes]
comment = Home Directories
valid users = %S
read only = no
writable = yes
create mask = 0664
directory mask = 0775
browseable = no

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

[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes

[mywebdir]
comment = Publish web dir
path = /var/www/html/home
writable = yes
valid users = myname
I can't connect to my Linux's Samba server from my XP box.I've tried many times of reboot but no success.My workgroup is fine,nothing wrong.....

Do you guys have any clue?Thanks.

Last edited by Swift&Smart; 01-13-2004 at 01:18 PM.
 
Old 01-13-2004, 01:37 PM   #2
seeone
Member
 
Registered: Dec 2003
Location: Kentucky
Distribution: PCLinuxOS
Posts: 34

Rep: Reputation: 15
Are you running a firewall on RedHat or XP?
IF so it is probably limiting access.
Try temporarily disabling any firewalls and see if it works.

You can find a link to the Samba doc here:

http://samba.linuxforum.net/samba/docs/

which has extensive help for testing an installation to see what is not working.

Good luck!
 
Old 01-13-2004, 03:52 PM   #3
Hertattack
LQ Newbie
 
Registered: Jan 2004
Location: Netherlands
Distribution: Gentoo 1.4
Posts: 26

Rep: Reputation: 15
What are you trying to do with:

valid users = %S

And did you create samba user accounts??
smbpasswd -a <user>

Try adding:
guest ok = yes

and / or to [tmp]:
map to guest = bad user

With testparm <configfile> you can see what samba makes from the options you have omitted.

I hope this helps you,
Marcel
 
Old 01-13-2004, 11:43 PM   #4
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Yeah,my NIS firewall is the culprit!!

Thanks for anyone who contributes to this question.

seeone,you hit the point!!In fact,I have discovered that is something wrong with my firewall.However,I just take notice on my router (which includes firewall).The culprit is my XP's firewall.(Norton Internet Security).

Anyway,many thanks to Hertattack & seeone!
 
Old 01-14-2004, 06:34 PM   #5
seeone
Member
 
Registered: Dec 2003
Location: Kentucky
Distribution: PCLinuxOS
Posts: 34

Rep: Reputation: 15
Glad you got it fixed. I run a firewall on NT with Norton too but you can enter the ip of your Linux box in Norton home networking section and it won't block you anymore. Also, you can get 'Firestarter' from sourceforge.net - it is a graphical firewall config tool for Linux and you can set the ip of your Win box in the 'allow' section in that and Samba will pass that too.
Don't feel bad, I spent several evenings testing Samba to finally discover that the firewalls were the problem.
 
Old 01-14-2004, 10:32 PM   #6
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking

You're very patient then,seeone.I am very repulsive.

By the way,I just add my linux server's IP to my NIS home networking and set it as allow IP.All fixed!

Thank you so much,seeone.

P.S. Are you using Samba 3.0?

Last edited by Swift&Smart; 01-14-2004 at 10:34 PM.
 
Old 01-14-2004, 11:01 PM   #7
seeone
Member
 
Registered: Dec 2003
Location: Kentucky
Distribution: PCLinuxOS
Posts: 34

Rep: Reputation: 15
Yes I am. Happy to hear all is working for you. That is a good feeling )
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 09:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration