Visit The New, Modern Unix Linux Community


Samba server does not show up in Windows Network Places

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Samba server does not show up in Windows Network Places
# 1  
Samba server does not show up in Windows Network Places

Hi all,

I have run into this problem while trying to setup a CentOS based NAS for a friend of mine. We are using CentOS 6. The share on server can be accessed by it's IP. I have setup netbios name for the server. But that does not help. We need it to show up on Windows Network Places automatically.

It would not have been a problem we were to access files through the Windows machine. The files shared should be accessed by other devices too in which there's no option to input IP.

Here's the smb.conf file:

Code:
[root@genserv-sl6 ~]# sed 's/^\t//g' /etc/samba/smb.conf | grep -Ev "^[#;]"

[global]

workgroup = WORKGROUP
server string = Samba Server Version %v

netbios name = MYSERVER



log file = /var/log/samba/log.%m
max log size = 50


security = share
passdb backend = tdbsam
















load printers = yes
cups options = raw






[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes







[winshare]
comment = Public Stuff
path = /share
browsable = yes
public = yes
writable = yes
guest ok = yes
guest only = yes
[root@genserv-sl6 ~]#

Help me out please!!! Is it something to do with WINS?
# 2  
Make sure that your windows session is also opened in the same workgroup.

I had a similar problem, once i changed my window's login to workgroup i was able to access the shared files. Just cross check.
# 3  
To see it in the browse list, there has to be a browse master on the network where the Samba server resides... if not, you can request your samba server to be the browse master also, use the wins server option and make sure it points to wins server IP if applicable.

What happens when you do:

smbclient -L localhost

from the host running samba? If you don't see a full browse list of the hosts you'd expect in 'Network Neighborhood" or the name of a browse master containing such, then you probably don't have wins server set or you're not becoming a local master browser.
# 4  
Thank you folks!!

I experimented with WINS and made the CentOS box as a WINS server and added it in the Windows box. But I was not successful. I made sure everything is from SELinux and IPTables' side. But it was of no avail.

Then something clicked on my head. It was NMB service which was not started with SMB. Started the service and voila!! It's fixed now. All good!!

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #846
Difficulty: Medium
The term "sideload" was coined in the late 1990s by IBM.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Samba config for windows server

Hi all, I'm using solaris 10 with latest patches applied. I'm using samba to make a directory called /dir1 available from a windows 2003 server. If I do a 'Map network drive' on win 2003 server, I get the error: The specified network is no longer available In the samba-log under... (0 Replies)
Discussion started by: frum
0 Replies

2. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

3. UNIX for Dummies Questions & Answers

Samba setup in virtual server environment Windows/ Linux

I have a home network set up that consists of a few windows clients and 3 centos, and 1 suse client. These are all virtual machines, VMware Workstation. One centos vm is set to be the Samba server. Do I need Samba set up on the other Linux clients?I have no problem seeing the windows clients... (0 Replies)
Discussion started by: ktb231
0 Replies

4. Solaris

samba network path not found

Hello I am new to solaris samba. After configuring samba through swat I can see the the machine listed under windows workgroup computers. when selected it shows the shared directories, But when trying to connect to shares shows a error network path not found. At the same time solaris network... (5 Replies)
Discussion started by: kc2dws
5 Replies

5. UNIX for Advanced & Expert Users

Show all network info

Is there a command that display all network info. I'm looking for ip address, subnet mask, gateway, and dns. If there isn't a single command could someone please write me a shellscript that can do this? (8 Replies)
Discussion started by: cokedude
8 Replies

6. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

7. OS X (Apple)

Show operating system, current user & network

I have found an excellent OS X pref pane that allows you to output log files or terminal commands/scripts onto the desktop in the background. What I want to do is create a script that outputs the following... - Mac OS X Version and Build (As shown in the about this mac) - Current username -... (6 Replies)
Discussion started by: digitaljunkie
6 Replies

8. UNIX for Dummies Questions & Answers

Steps to Add Windows XP to Samba server

Hi All, I have setup Samba on Redhat linux ES 3.0 server but unable to add Windows XP professional to samba server so please let me know steps for the same. Thanks in advance Bachegowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

9. Solaris

show firmware of network card

hi, is there a command or way to see which firmware my network card(s) has? i could imaging that i would see it in the OBP (show-nets; cd /...@../...; .properties) but is there a way to see it in solaris? Solaris9 (09/05) on a V440 with GigaSwift Ethernet MMF (X4151A) adapters (using ce... (2 Replies)
Discussion started by: pressy
2 Replies

10. UNIX for Dummies Questions & Answers

Adding a Unix Server to a Windows 2000 Network

Hi everyone Firstly I apologise for my total lack of knowledge about UNIX. Its unfortunately something I have never had any exposure to (Until Now). I administer a smallish Windows 2000 network with all the usual bits and pieces that involves, and have been given the task of joining a Unix... (3 Replies)
Discussion started by: maestro
3 Replies

Featured Tech Videos