LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-21-2004, 08:34 AM   #1
Potato
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
SMB Share...almost works!!!


Hello all, I am having a strange problem, I have an SMB share on my fedora 2 machine, and I can see it just fine from my windows machines. However I cannot see the windows shares from the fedora machine.

Does anyone have any idea why somthing like this might be happening?

Thanks in advance for any replies.

Last edited by Potato; 07-21-2004 at 08:36 AM.
 
Old 07-21-2004, 08:45 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
lets see your /etc/samba/smb.conf file masking some of the ip address.
 
Old 07-21-2004, 08:53 AM   #3
Potato
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my smb.conf


#======================= Global Settings =====================================
[global]
log file = /var/log/samba/%m.log
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
winbind use default domain = yes
template shell = /bin/false
dns proxy = no
server string = Samba Server
idmap uid = 16777216-33554431
workgroup = island
os level = 20
printcap name = /etc/printcap
security = DOMAIN
password server = #################
max log size = 50

[homes]
comment = Home Directories
browseable = yes
writeable = yes
valid users = bob

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765


[home]
path = /home
 
Old 07-21-2004, 08:55 AM   #4
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
yeah i thought so: you dont have a netbios name set up so the windows machines wont see you in their network neighbourhood.
 
Old 07-21-2004, 09:02 AM   #5
Potato
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
oh! thank you very much for your help, I really appreciate it!
 
Old 07-21-2004, 09:47 AM   #6
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
where in the conf file do you set the NetBIOS?
 
Old 07-21-2004, 09:51 AM   #7
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
in Global. do a man on smb.conf, search `/' for netbios.
 
Old 07-21-2004, 10:14 AM   #8
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
i'm not seeing anything?!
 
Old 07-21-2004, 11:07 AM   #9
ky-lab_rat
Member
 
Registered: Jan 2004
Posts: 44

Rep: Reputation: 15
Try this..

netbios name (G)

This sets the NetBIOS name by which a Samba server is known. By default it is the same as the first component of the host's DNS name. If a machine is a browse server or logon server this name (or the first component of the hosts DNS name) will be the name that these services are advertised under.

Default: netbios name = # machine DNS name

Example: netbios name = MYNAME
 
Old 07-21-2004, 11:44 AM   #10
jsun9
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
ahh. thanks.
 
  


Reply



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
smb share GiX Linux - Newbie 2 10-25-2005 01:29 AM
smb share rajen_iiit Linux - Networking 4 08-09-2005 02:18 PM
SMB Share bharaniks Linux - Networking 2 08-05-2005 04:46 AM
smb windows share need help pissy_pants Linux - Networking 4 09-04-2003 01:37 AM
Cannot mount SMB share hotblack Linux - Networking 7 08-07-2003 11:36 AM

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

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