LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   windows clients cannot see samba share (https://www.linuxquestions.org/questions/red-hat-31/windows-clients-cannot-see-samba-share-260606/)

marcbachman 11-29-2004 02:28 PM

windows clients cannot see samba share
 
am running RH9, I have got my Samba service running, but no clients can see the share. Here's what I get with smbclient -NL sambaserver:[root@nc6v9b marcbachman]# smbclient -NL nc6v9b
Can't find include file /etc/samba/smb.conf.<weird name I put in somewhere I need to change>-nc6v9b
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
session setup failed: Call timed out: server did not respond after 20000 milliseconds
OR
Can't find include file /etc/samba/smb.conf.DATAWIZA-nc6v9b
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
Anonymous login successful
Domain=[ACCOUNTING] OS=[Unix] Server=[Samba 2.2.7a-security-rollup-fix]

Sharename Type Comment
--------- ---- -------
SYMLINKSHARE Disk SHARE
netlogon Disk Network Logon Service
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
HP710C Printer

Server Comment
--------- -------
NC6V9B Samba Server

Workgroup Master
--------- -------
ACCOUNTING
:confused: Sometimes it does then it doesn't

#####################################################################
So I put an NFS share on my samba server, and I * can * browse to it in Nautilis. This gets
me somewhere I think, I can see the Icon for samba box in Network Neighborhood, but I can't map a drive or browse any shares from a windoze client.
TIA,
marcbachman

Roach 11-29-2004 02:55 PM

Here's a link to a simple Samba setup guide. From there you should be able to work things out.

http://www.samba.netfirms.com/

Good Luck

R :-)

hpoppe 12-10-2008 06:06 AM

RE: windows clients cannot see samba share
 
Hi,
there can be a number of reasons why a Windows client can't se a samba share. One of the most common (in my experience9 is that the permissions on the folder itself are wong. If you want the share to be read only try something like
chmod -R 754 /path_to_shared_folder. If you want it to be read/write and give the possibility to traverse into subfolders you can change 754 to 777. Se man chmod. Remember that giving all users write permission gives them the right to delete other peoples files. See man chmod to set the "sticky" file permissions! (Important).
You can also use the command "testparm" to see if your /etc/samba7smb.conf file is OK. Remember to restart samba after changing /etc/samba7smb.conf by issuing /etc/init.d/samba restart. This is the Debian way, if you run something else you may have to Google for how to restart samba.

Hans Poppe
Oslo, norway


All times are GMT -5. The time now is 12:00 AM.