LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-27-2005, 05:57 PM   #1
idot
Member
 
Registered: Mar 2005
Location: Ohio
Distribution: Mandrake 10.1
Posts: 32

Rep: Reputation: 15
Doesn't see Linux server using Samba


Can't see the Linux server. When I go to map a drive I'm not seeing my linux machine in the MS windows network. Config file below.

Global parameters
[global]
workgroup = LINUX219
netbios name = 219LINUX
server string = Samba Server %v
min passwd length = 7
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
ldap ssl = no
path = /mnt/homes/Student Home
read list = tommy
write list = admin
printer admin = @adm

[admin]
comment = Admin Share
path = /home/admin
valid users = admin, @admin
read list =
write list = admin, Administrator
read only = No
locking = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes

[homes]
path = //home/admin
read list =
write list = admin, Administrator

[Administrator]
comment = Administrator's Share
path = /home/administrator
valid users = Administrator
read list =
write list = Administrator
read only = No

[jdoe]
comment = John Doe's Directory
path = /home/jdoe
read list =
write list = admin, jdoe
read only = No
 
Old 10-18-2005, 10:39 AM   #2
gh0st3r
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4
Posts: 7

Rep: Reputation: 0
Hi idot,

I've had the same issue occur with my SAMBA config. It turned out to not to be the actual SAMBA configuration. But my firewall configuration. I'm not sure I've you've already looked at this, but the following ports will need to be opened to allow SAMBA traffic through your Linux firewall.

445:tcp
139:tcp
138:udp
137:udp

I use Fedora Core 4, so to allow access through I selected "System Settings" -> "Security Level" from the main menu. At the bottom of the window, there is a place to allow extra ports. Here is what I've put in mine:

microsoft-ds:tcp, netbios-ssn:tcp, netbios-dgm:udp, netbios-ns:udp

I don't know what distribution you are using, hence I'm unsure if you can add the extra ports that easily...

Did you restart (or start) the SMB and NMB daemons after changing the configuration. If you don't know how to do that, type the following into a terminal window (as root).

killall nmbd smbd
smbd -D
nmbd -D

killall ... kills the daemons if they are already running
smbd -D and nmbd -D start the smb and nmb services as daemons (background processes)


---
Gh0st3r
 
Old 10-18-2005, 11:43 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
can u alter this two

path = /mnt/homes/Student Home
make no space for Student Home and corect it in real path also


path = //home/admin <- remove one / before home

then run testparm to see the output

or u can run testparm first before alter smb.conf

give a try
 
Old 10-20-2005, 10:55 PM   #4
dundas
LQ Newbie
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Re: Doesn't see Linux server using Samba

[QUOTE]Originally posted by idot
[B]Can't see the Linux server. When I go to map a drive I'm not seeing my linux machine in the MS windows network. Config file below.
QUOTE]

Dear gh0st3r:

I have similar problem trying to use \\netbios name to access samba server, and I'm using Redhat 9 kernel 2.40.8,

I've tried many options configuring smb.conf which is similar to the original post of this thread, but had no luck, even I opened all the UDP,TCP ports of 135-139, 445 in my iptables.

Do you have any suggestions?

Thank you very much sir!
 
  


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
Linux liveCD + SAMBA SERVER czezz Linux - Networking 2 02-09-2005 03:31 AM
Samba 3.0.2, Kerberos, Linux (RHAS3.0), Win2kAD - linux smb server with a w2k client irishb3 Linux - Networking 2 07-20-2004 09:05 AM
How do I go about setting a samba server on Linux? natalinasmpf Linux - General 1 02-22-2004 02:00 PM
samba: cannot see linux server from win browny_amiga Linux - Networking 3 02-06-2002 02:01 AM
Linux Samba Server format_c Linux - Networking 1 11-23-2001 01:31 PM

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

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