I had a hell of time trying to share files and folders from XP to Solaris.Â Solaris does not play well with samba mounts so your only choice is to use sharity which does not work well.Â Also since XP did not support NFS natively this was hard to do until SFU!
Â Now what is SFU ? Services for Unix for Windows XP/2000/2003/etc
Â It installs various services that you can use from your windows like NFS!
Â BACKGROUND INFORMATION :
My web server runs as user webservd:webservd and I am wanting to share 2 directories from my windows server and have apache access these two directories.Â Also my default login for XP is Joe
Â SETUP on XP side :
DownloadÂ and install SFU from Microsoft. and install the NFS server and NFS server auth
Â Start->Programs->Windows Services for UNIX->Services for UNIX Administration
Then goto User Name Mapping
Under configuration select Use Password and group files.Â I would copy over /etc/passwd and /etc/group from the solaris server to c:SFUetc.Â Browse and select both files.Â Then goto Maps.Â
Under Maps select Show User Maps and we will map the Windows User Joe to unix user webservd and apply.
Â Now goto the directories that you want to share and right click and select properties and you'll see in the last tab for NFS Sharing.Â Share this folder and put in the share name.Â This name will be the sharing point for your unix server.Â For example I will put in music for the share name.Â
Now we need to enable some ports from windows to make this work so goto Control Panel and Firewall settings and add to the exclusions list the following ports.
|Service or feature||Protocol||Port|
|NFS server||TCP, UDP||2049|
Once this is added I will mount the directory in Solaris.
mount -F nfs nfsserver:music /music