LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   nfs and windows client (https://www.linuxquestions.org/questions/linux-server-73/nfs-and-windows-client-576699/)

braakiss 08-13-2007 04:24 AM

nfs and windows client
 
Hi everyone,

I am tryng to share a linux folder with windows throught NFS. I am using Fedora Core 6 and windows XP. I have installed Services for unix 3.5 on windows XP. In Fedora I have shared the folder /home/username.
The server NFS and Portmap are running.

My problem is when I put on ms-dos windows.

mount -u:username -p:password \\192.168.1.10\home\username z:

I receive an error 1326.

It says that User or password are no correct. But I am sure that I put the correct information.

Are any problem with the encryption of the password?

Can anybody help me with that issue?

Thanks in avance!

regards

prvnrk 08-13-2007 06:22 AM

Try the below, it works:

mount \\192.168.1.10\home\username z:

provided /home/username exported as nfs share on remote unix box...

braakiss 08-13-2007 06:38 AM

it works but I can not get access to unit z:
if I pick on it shows "access denied".

:confused:

in /etc/exports I have:
/home/username 192.168.1.0/255.255.255.0(rw,sync)

Is that ok, isn't it?

livetoday 08-13-2007 06:45 AM

Use Samba on the linux machine to define the share for windows. NFS can be accesses by *nix machines only.

Quote:

Originally Posted by braakiss (Post 2857223)
it works but I can not get access to unit z:
if I pick on it shows "access denied".

:confused:

in /etc/exports I have:
/home/username 192.168.1.0/255.255.255.0(rw,sync)

Is that ok, isn't it?


prvnrk 08-13-2007 07:37 AM

It seems you have not configured SFU fully. There's something like "user/group mapping" wherein you must map unix users to windows users. After it's mounted, only the windows users (that are mapped to unix users who have access to remote folder on unix) will be able to access.
In other words, map administrator (of windows) to root (of unix) and then access Z: as administrator user on windows.. thats all.

If the above doesn't make any sense to you then you would have to refer SFU documentation at http://technet.microsoft.com/en-us/i.../bb380242.aspx

NOTE: Samba is far better and simpler compared to SFU in this case.


Regards,

braakiss 08-14-2007 04:35 AM

Quote:

It seems you have not configured SFU fully. There's something like "user/group mapping" wherein you must map unix users to windows users
Yes, you was right I forget group mapping. Once do that I can list the share nfs folder in windows explorer using
net use z: \\192.168.3.10\home\username and as user root.

Now the problem is that I can not copy anything in z: .It says "network error". If I try to copy a file. The file is copied there with 0 kb and then I get the error message.

I have seen that I have 775 permissions in Services for Unix.

Any idea about where is the problem?

Thanks for your help!

Regards


All times are GMT -5. The time now is 12:58 PM.