Answer:
TO connect Linux PC to a windows 2003 server try the following
1) edit your smb.conf file and set the workgrou parameter same as of your windows, in case if u have a domain environment set the domain name in the smb.conf
eg:
WORKGROUP = (either ur workgrou or Domain name write it here)
2) make sure ur smb and nmb services are running, if not then start them
eg:
service smb start or restart
nmb by default start automatically
3) go to ur redhat icon on the lower left hand side of ur screen, click it and u'll c network servers icon there, click it workgroup icon will appear., double click it u'll c the windows machine there, double click, it will prompt u for the password
How to create samba user is mentioned below
1) make sure u have one user availabel in ur Linux box other than the root user
eg :
# smbpasswd -a (user name which is available in ur machine)
2) Restart the services
eg :
# services smb restart
if you are talking about to resolve the ip of windows machine by giving the name then add it in /etc/host file on Linux PC
syntax is something like:
ipOfMachine NameOfMachine