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. |
lets see your /etc/samba/smb.conf file masking some of the ip address.
|
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 |
yeah i thought so: you dont have a netbios name set up so the windows machines wont see you in their network neighbourhood.
|
oh! thank you very much for your help, I really appreciate it! :D
|
where in the conf file do you set the NetBIOS?
|
in Global. do a man on smb.conf, search `/' for netbios.
|
i'm not seeing anything?! :(
|
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 |
ahh. thanks.
|
All times are GMT -5. The time now is 04:27 PM. |