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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have SAMBA 3.0.10-1.4E.2 running on centOS 4 and here is my /etc/samba/smb.conf
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
# browseable = no
# map archieve = yes
#similar to home, this is used to guess if a printer is available in the unix server
# path = /usr/tmp
# guest ok = no
# printable = yes
# min print space = 2000
path = /mnt/fat32/share
comment = shared data
browseable = yes
writeable = yes
# read only = yes
guest ok = yes
guest only = yes
guest account = user
After restart smb, and check by
<code>smbclient -U% -L localhost</code>
<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]
DARKPORTAL SAMBA 3.0.10-1.4E.2 on (darkportal)
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
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 09:57 PM.