Linux - NetworkingThis 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.
I have a windows network with one CentOS box beeing the backup server. The 8 Windows XP Home SP2 clients can make backups to samba, and samba works as it it supposed to (configured using Webmin).
BUT:
As long as the samba server is running, I cannot browse the workgroup from a WinXP computer. If I type the name (\\COMPUTERNAME\) I can access other computers, but I cannot browse it (My Network Places\Microsoft Windows Network\WORKGROUP NAME).
When I click the workgroup name, it tells me: WORKGROUP NAME is not accessible. You might not have the permissions to use this network resource...
These options are set in global:
domain master = yes
local master = yes
preferred master = yes
os level = 65
..and the workgroup name is correct.
Any clues? Thanks alot for any reply, or indication on what to google on. Could not find anything which could help me on the net..
What's your work group name...
it shouldnt be more than 15 chars...
and on ur linux just check the output with 'findsmb'
does ur workgroup figure in the output ?
The PC's on the network all have fixed IP's, and they alle get the Acces denied. However, my laptop has automatic IP settings, and I can access the Workgroup, but I can only see myself and the Canon printer. No other computers.
Because of some problem long back (is going to be changed soon) we use "Windows" IP's (169.254.......) in our network. Could this have anything to do with the problem?
Sorry about the "long" config file, but I have always used webmin to configure it (more or less at least) so that's why..
Thanks again for your help!
[global]
log file = /var/log/samba/%m.log
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
winbind trusted domains only = yes
winbind use default domain = no
template shell = /bin/false
wins support = true
dns proxy = no
netbios name = YMEBACK
cups options = raw
server string = Yme Backup
idmap uid = 16777216-33554431
winbind enum users = no
default = homes
local master = yes
workgroup = Geo-recon
winbind enum groups = no
os level = 65
printcap name = /etc/printcap
valid users = horstad
security = user
preferred master = yes
max log size = 50
wins server = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
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]
;[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
Command to the shares and make sure your Firewall has been configured correctly.
It may also be the networkj config on the Window$ end not the linux end.
You may need to revirew your network configureation.
your config file is not appropriate...
I dont see the
security = users/ads/domain/server line...
I hope you are trying to act as a PDC server then ur conf file should have the bare minimum like I have... please avoid webmin, it nearly corrupts ur smb.conf file... unless u are a pro...
here is a sample smb.conf file of a PDC server I have...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.