[FreeNX-kNX] Re: Windows share problem

chris at ccburton.com chris at ccburton.com
Mon May 2 23:00:12 UTC 2011


Agustin Castaño <morsapc at gmail.com> wrote on 02/05/2011 20:16:52:

> Info: Share: '//NB-3/D' failed to mount: mount error 1 = Operation 
> not permitted
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> 
> I think its related to the suid thing.
> How can I fix this?

If you mean
"how do I suid mount.cifs ??" try
        sudo chmod +s /sbin/mount.cifs

Don't forget /sbin/umount.cifs too.

If you have a problem with a suid mount.cifs then try
mounting manually after connecting, i.e.
Connect to FreeNX with a windows share set up in
the nxclient.

Then test the windows share by mapping it to localhost on the
windows machine (ie from/to localhost) to make sure the
windows server process is working and accepting drive
mappings from localhost addressed to itself.

If it is, then try it manually from within the FreeNX session.

You will need to
        sudo netstat -napt|grep nxagent
and look for your correct nxagent with a local address of
        0.0.0.0:4000
or some such. Make sure you get the right nxagent.

You can then try mapping the share connection as "root" i.e

sudo mount.cifs //NB-3/D /mountpoint 
-ouser=winusername,pass=winpassword,ip=127.0.0.1,port=4000

or whatever your agent port is.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20110503/dc9c9b23/attachment.html>


More information about the FreeNX-kNX mailing list