LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem with Samba (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-samba-631401/)

tomaine2002 03-28-2008 10:38 PM

Problem with Samba
 
I can't get Samba to work. the workgroup name on both the windows and linux systems are the same, yet when I open the workgroup on the windows comp, only the windows comp appears in the work group. When I open the workgroup on my linux machine, it gives me the error message "Sorry, couldn't display all the contents of "Windows Network: mshome"." and displays none of the shared folders. What should I do to fix Samba ??? Thx in advance.

tanveer 03-29-2008 12:30 AM

Please post your smb.conf file

mycroftxxx 03-30-2008 06:13 AM

You could try this
 
You are probably running a default smb.conf.
In the [global] section set these values comment out any other values
Change the YOURGROUPNAME to what ever you are using as a workgroup name

------
[global]
workgroup = YOURGROUPNAME
server string = Samba %v Server

; change address if your home network does not use 192.168.1.xxx
interfaces = lo eth0 192.168.1.0/24
hosts allow = 127. 192.168.1.

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

security = user
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

username map = /etc/samba/smbusers
------
don't forget to test with "testparm" and restart the service after edits.

If this fails, post your smb.conf
Good luck
-Randy

jschiwal 03-30-2008 06:28 AM

Also make sure that ports 139 & 445 are open on the samba server.


All times are GMT -5. The time now is 06:24 PM.