Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I have SAMBA 3.0.10-1.4E.2 running on centOS 4 and here is my /etc/samba/smb.conf
<code>
[global]
netbios name = Darkportal
server string = SAMBA %v on (%L)
workgroup = MSHOME
log level = 2
#log file = /var/log by default, /var/log has samba log directory
max log size = 50
debug timestamp = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest ok = no
#this is used to let win98, winNT to connect to SAMBA
encrypt passwords = yes
hosts allow = 192.168.2. localhost
#this is used to guess if a user is trying to connect to his home dir on the unix server
#[home]
# browseable = no
# map archieve = yes
#similar to home, this is used to guess if a printer is available in the unix server
#[printers]
# path = /usr/tmp
# guest ok = no
# printable = yes
# min print space = 2000
[share]
path = /mnt/fat32/share
comment = shared data
browseable = yes
writeable = yes
# read only = yes
guest ok = yes
guest only = yes
guest account = user
</code>
After restart smb, and check by
<code>smbclient -U% -L localhost</code>
i got
<code>Domain=[MSHOME] OS=[Unix] Server=[Samba 3.0.10-1.4E.2]
Sharename Type Comment
--------- ---- -------
share Disk shared data
IPC$ IPC IPC Service (SAMBA 3.0.10-1.4E.2 on (darkportal))
ADMIN$ IPC IPC Service (SAMBA 3.0.10-1.4E.2 on (darkportal))
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.0.10-1.4E.2]
Server Comment
--------- -------
DARKPORTAL SAMBA 3.0.10-1.4E.2 on (darkportal)
Workgroup Master
--------- -------
MSHOME DARKPORTAL
</code>
Here is the questions:
When i open Network Server, i see Windows Network but when i click on it i dont see anything else although 3 of my windows XP pro clients are sharing many folders. Do i have to setup anything to make Nautilus(Network Server) see shares on windowsXP?
On Windows XP pro clients, Network Neighbourhood can see the centOS machine but double click on it give error that the server is unreachable. Do i have to config anything on Windows XP pro client to access shares on samba on the linux machine?
I know that there is something Microsoft called "simple fire sharing" on windows XP that could cause the problem but although i tried to disable it, i still get the same problem
Hope anyone can help
Thai
the easiest way to share with win XP is to put in your smb.conf GLOBAL security = share, guest ok = yes and make a comment of hosts allow = 192.168.2. localhost in case you r not in 192.168.2.
try testparam and see if you see the share
and if it doesnt work you should try WINS
this is a sample of my smb.conf
[global]
netbios name = nemesis
workgroup = servers
server string = All Esties Server
hosts allow = 192.168.
load printers = no
security = share
encrypt passwords = yes
If i use wins then i must use static IP address in all windows machine. However, my uncle prefer using a dynamic IP. Is there anyway to work around?
Thanks
Wins has notthing to do with static ip. you can configure your linux box to be a DCHP server. That means it can give dynamic ips but first try to fix your smb.conf as I told you above and u will see that everything will work
I did try wins but the windows machines still refuse to connect to linux althought i can connect from the linux server using smbclient. I guess there is something wrong with the port or firewall. I have SElinux enable. Do i have to open any port in iptable?
Last edited by lnthai2002; 02-10-2006 at 08:57 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.