LinuxQuestions.org
Review your favorite Linux distribution.
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 11-08-2006, 11:48 AM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS
Posts: 415

Rep: Reputation: 31
Unhappy Samba NOT allowing access


Friends, I have tried very hard for the past week and a half to set up this Samba thing with no luck, about to give up! this is my smb.conf:

#Global Parameters
workgroup= LAB
netbios name=
#security= SHARE
encrypt passwords= yes

[homes]
read only= no
browseable= no

[music]
path= /data/mp3
browseable= yes
public=yes
write list= xrgm,gts18,rguisbert

[everyone]
path= /data/everyone
read only= no
browseable= yes

[apps]
path= /data/apps
browseable= yes
valid users= @admins, root, rguisbert
write list= @admins, root, rguisbert

I have being following the instructions from http://www.samba.netfirms.comwhich
gives simple process on setting up samba.

This is the error that I keep getting when trying to access Samba server:

\\XubuntuLab is not accessible. You might not have permission to use this network resource.
Network path was not found.

Im in a Computer lab in which all pcs are under the LAB workgroup name. What should I do? We are a non-profit org trying to quit Windows in order to save some $ by using Linux, but everything seems to be failing at this point. Thanks for any help....
 
Old 11-08-2006, 12:29 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Have you allowed ports 137,138,139 and 445 through your firewall? For example, with IPTABLES:

Code:
-A INPUT -p tcp -m tcp --dport 137:139  --syn -j ACCEPT
-A INPUT -p udp -m udp --dport 137:139        -j ACCEPT
-A INPUT -p tcp -m tcp --dport 445      --syn -j ACCEPT
-A INPUT -p udp -m udp --dport 445            -j ACCEPT
 
Old 11-08-2006, 03:37 PM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS
Posts: 415

Original Poster
Rep: Reputation: 31
This is what I have:

xrgm@XubuntuLab:/$ sudo netstat -plant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2759 0.0.0.0:* LISTEN 4188/python
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5312/smbd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4936/cupsd
tcp 0 0 127.0.0.1:4409 0.0.0.0:* LISTEN 4185/hpiod
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 5312/smbd
tcp 0 1 10.0.3.238:3361 64.186.240.114:80 SYN_SENT 4303/freshclam
tcp 0 0 127.0.0.1:4409 127.0.0.1:1176 ESTABLISHED4185/hpiod
tcp 0 0 127.0.0.1:1176 127.0.0.1:4409 ESTABLISHED4188/python
tcp6 0 0 :::22 :::* LISTEN 4680/sshd

How do you add those values to the IP tables? Thanks..

Last edited by cucolin@; 11-08-2006 at 03:40 PM.
 
Old 11-08-2006, 04:18 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
The Ubuntu Firewall Documentation has the information you need.
 
Old 11-09-2006, 03:34 PM   #5
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS
Posts: 415

Original Poster
Rep: Reputation: 31
I still get the same error message and this what I have after following your steps:

xrgm@XubuntuLab:~$ sudo netstat -plant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:4714 0.0.0.0:* LISTEN 4027/hpiod
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 7442/smbd
tcp 0 0 127.0.0.1:4177 0.0.0.0:* LISTEN 4030/python
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4761/cupsd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 7442/smbd
tcp 0 0 127.0.0.1:4714 127.0.0.1:3216 ESTABLISHED4027/hpiod
tcp 0 0 127.0.0.1:3216 127.0.0.1:4714 ESTABLISHED4030/python
tcp 0 1 10.0.3.238:2688 209.8.40.140:80 SYN_SENT 4145/freshclam
tcp6 0 0 :::22 :::* LISTEN 4523/sshd

I also tried using Firestarter and I did Allowed service:
Samba(SMB) on port 137-139 445 For everyone

Please help me I'm NOT giving up!!
 
  


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 NOT allowing access to folders cucolin@ Linux - Software 6 07-04-2007 01:25 AM
allowing rsh access uerden Linux - Networking 5 11-08-2006 02:15 PM
Allowing access only to specific websites? matux Linux - Security 2 11-28-2005 09:18 PM
Allowing port access to non-root joosep Linux - Networking 1 08-05-2005 09:24 AM
Allowing only SFTP access vanibhat Linux - Enterprise 8 06-30-2005 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:08 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