Accessing wintel drives from unix

Roeland M.J. Meyer rmeyer at
Sat Feb 21 09:17:53 GMT 1998

At 03:15 21-02-98 +1100, Sean Murphy wrote:
>Hi all,
>This is a little off topic, but not too much so, I think.

...sounds "on" to me <grin>

>functionality. So, would it be possible to set up a linux
>workstation which can mount PC shared drives using smbfs, and export
>these to the sun workstations using nfs? It's inefficient, I know,
>but in terms of implementation it doesn't seem too difficult.

Your question got me curious, as I actually do the opposite. But all our
servers are linux boxen and can mount smbfs directly with smbmount.
However, since I was doing that anyway, on one server, it didn't take much
to create an exports entry for that share and try to mount it from one of
our other servers using NFS. I'm sorry to state that it doesn't work.

On condor I have \\hawk\C$ mounted on condor:/hawk/C using smbfs. I then
created the entry in exports as follows

	/hawk           raven(rw,insecure,no_root_squash)

which is about as "open" as it gets. I then built the following entry in
ravens fstab file ...

	condor:/hawk    /hawk           nfs     defaults        1 1

Of course, I also mkdir'd the mount-point /hawk ...
Now, running mount -a worked fine. Which it should have, but an ls -al
/hawk/C resulted in a blank directory where there should have been 2.5 GB
of WinNT files.

The answer is that it doesn't work. Even if Samba can share out NFS mounted
drives, NFS can not export Samba mounted drives.
Roeland M.J. Meyer, ISOC (InterNIC RM993)
e-mail:		mailto:rmeyer at
Personalweb pages:
Company web-site:
Watch for the SecureMail system at MHSC.NET

More information about the samba mailing list