Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-27-2005, 05:57 PM
|
#1
|
Member
Registered: Mar 2005
Location: Ohio
Distribution: Mandrake 10.1
Posts: 32
Rep:
|
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
|
|
|
10-18-2005, 10:39 AM
|
#2
|
LQ Newbie
Registered: Oct 2005
Distribution: Fedora Core 4
Posts: 7
Rep:
|
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
|
|
|
10-18-2005, 11:43 AM
|
#3
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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 
|
|
|
10-20-2005, 10:55 PM
|
#4
|
LQ Newbie
Registered: Jun 2005
Distribution: Gentoo
Posts: 4
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|