Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Samba server does not show up in Windows Network Places Post 302567297 by admin_xor on Sunday 23rd of October 2011 10:18:33 PM
Old 10-23-2011
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?
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
cupsaddsmb(8)							    Apple Inc.							     cupsaddsmb(8)

NAME
cupsaddsmb - export printers to samba for windows clients SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] -a cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] printer [ ... printer ] DESCRIPTION
The cupsaddsmb program exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configuration, you may need to provide a password to export the printers. This program requires the Windows printer driver files described below. SAMBA CONFIGURATION cupsaddsmb uses the RPC-based printing support in SAMBA to provide printer drivers and PPD files to Windows client machines. In order to use this functionality, you must first configure the SAMBA smb.conf(5) file to support printing through CUPS and provide a printer driver download share, as follows: [global] load printers = yes printing = cups printcap name = cups [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes guest ok = no read only = yes write list = root This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system as needed. MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS The base driver for Windows 2000 and higher is the Microsoft PostScript driver, which is available on any system running Windows 2000 or higher in the %WINDIR%SYSTEM32SPOOLDRIVERSW32X863 folder for 32-bit drivers and %WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers. Copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below: ps5ui.dll pscript.hlp pscript.ntf pscript5.dll Note: Unlike Windows, case is significant - make sure that you use the lowercase filenames shown above, otherwise cupsaddsmb will fail to export the drivers. OPTIONS
cupsaddsmb supports the following options: -H samba-server Specifies the SAMBA server which defaults to the CUPS server. -U samba-user[%samba-password] Specifies the SAMBA print admin username which defaults to your current username. If the username contains a percent (%) character, then the text following the percent is treated as the SAMBA password to use. -a Exports all known printers. Otherwise only the named printers are exported. -h cups-server[:port] Specifies a different CUPS server to use. -v Specifies that verbose information should be shown. This is useful for debugging SAMBA configuration problems. SEE ALSO
rpcclient(1), smbclient(1), smbd(8), smb.conf(5), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 11 June 2014 CUPS cupsaddsmb(8)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy