I have read about all I can read on the forum for the past 3 days and still no luck with mapping a drive to my XP Home PC from my RedHat 9.0 SAMBA server. I have NetBIOS installed on XP and can see the SAMBA server in 'my network places'. When I double click on it is asks for a user name and password and when i put it in and hit enter i get a login box with the hostname of the XP computer\username--BEFORE: sam, AFTER: xpcomp\sam. (??)
Here is my smb.conf file:
[global]
log file = /var/log/samba/%m.log
dns proxy = no
smb passwd file = /etc/samba/smbpasswd
server string = X: Drive
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
workgroup = WORKGROUP
hosts allow = 172.16.5. 127.
encrypt passwords = yes
security = user
max log size = 0
[backup]
comment = back your files up here
create mode = 775
preserve case = yes
guest ok = yes
read only = no
write list = sam, ann
path = /home/backup
directory mode = 775
Okay, here are the answers to the questions I see most commonly asked when a person has a problem with SAMBA:
YES = I have created SAMBA accounts for my users on the server
YES = the user name matches the SAMBA account
YES = there is no firewall setting on the XP pc
YES = i have an IPTABLES firewall but it allows everything to pass on the local LAN
YES = I can create shared directories on my XP pc and see them on the SAMBA server but not from SAMBA to XP Home
My questions are:
1. What command do I issue from the XP PC to map to the share on my SAMBA server? I have tried:
net use x: \\firewall\backup
and
net use x: \\
ipaddress \backup
and it keeps prompting me for a password. I use the password of the account that matches the SAMBA account the same as the XP Home account and I get a 1326 'bad username or password error.'
2. Are there any settings in XP Home edition I have to make to get this to work? When I set up a shared folder on my XP computer i see it clearly on the SAMBA server. Is this the way this is supposed to work?
3. Does the [backup] bracket tell me what the share name is on the SAMBA server? what does this parameter do for me?
My eyes are dried up in the sockets ... any help will be appreciated.
TIA