Originally Posted by taylorkh
Have you created samba accounts for the XP users on the samba server? This can be done by root as follows. Open a terminal window.
If the samba server is on Debian, Ubuntu or any distro which uses sudo, type
sudo smbpasswd -a username <Enter> You will then be prompted for the root password and then the password to assign to the username. If username is the same as the user's name on XP and the password is also the same - it will not be necessary for the user to enter them when connecting to the samba server.
If the samba server is on Red Hat, Fedora, CentOS or another Linux which uses su, do the following. Type su - <Enter> then enter the password for root. The smbpasswd command is the same - just omit sudo.
As to the permissions on the samba shares... If this samba server is just for fun and not in a production environment - I would probably create a matching Linux account for each XP user then control access to the folders from within Linux using user and group permissions. Controlling user by user permissions within the smb.conf file would be rather cumbersome. If nothing else your would have to restart the samba services each time you made a change - thus disconnecting anyone accessing the samba server at that time.
See if this helps to accomplish what you are trying to do. If not, please feel free to ask more questions.
p.s. Make sure your firewall on XP allows connections to the samba server. When I first started to use samba some years ago I installed it and made a couple of configuration changes and it WORKED!!! I was quite pleased. Then a few days later it stopped. I spent more than 6 months on and off messing with it - I unstalled an ftp server and used that to move files between XP an Linux. Finally I found that an upgrade to the Zone Alarm firewall program decided to protect the XP PC from other PCs in its workgroup. By then I had upgraded samba, uninstalled and reinstalled samba, reinstalled Linux etc. All to no effect :-(
My problem has been sorted out.But each time i need to run this command in xp machine for it to check for authentication when trying to access samba share.(or else the user with which i first logged in samba share folder will be displayed until the window xp system reboot)..
Cmd 1.go to command prompt type net use and then enter
2.It displays the existing share connection
3.delete the connection by using the parameter /delete
New connections will be remembered.
Status Local Remote Network
OK \\184.108.40.206\IPC$ Microsoft Windows Network
The command completed successfully.
And i deleted using the following command
C:\>net use \\220.127.116.11\IPC$ /delete
\\18.104.22.168\IPC$ was deleted successfully.
Now when i try to access the samba machine it prompts for the samba username and password.
Hope this information is useful.