It works like a charm.<div><br></div><div>Thank you very much!<br><div><br><div class="gmail_quote">On Mon, May 2, 2011 at 8:00 PM, <span dir="ltr"><<a href="mailto:chris@ccburton.com">chris@ccburton.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><tt><font size="2">Agustin Castaņo <<a href="mailto:morsapc@gmail.com" target="_blank">morsapc@gmail.com</a>> wrote on
02/05/2011 20:16:52:<div class="im"><br>
<br>
> Info: Share: '//NB-3/D' failed to mount: mount error 1 = Operation
<br>
> not permitted<br>
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)<br>
> <br>
> I think its related to the suid thing.<br>
> How can I fix this?<br>
</div></font></tt>
<br><tt><font size="2">If you mean</font></tt>
<br><tt><font size="2">"how do I suid mount.cifs ??" try</font></tt>
<br><tt><font size="2"> sudo chmod +s
/sbin/mount.cifs</font></tt>
<br>
<br><tt><font size="2">Don't forget /sbin/umount.cifs too.</font></tt>
<br>
<br><tt><font size="2">If you have a problem with a suid mount.cifs then
try</font></tt>
<br><tt><font size="2">mounting manually after connecting, i.e.</font></tt>
<br><tt><font size="2">Connect to FreeNX with a windows share set up in</font></tt>
<br><tt><font size="2">the nxclient.</font></tt>
<br>
<br><tt><font size="2">Then test the windows share by mapping it to localhost
on the</font></tt>
<br><tt><font size="2">windows machine (ie from/to localhost) to make sure
the</font></tt>
<br><tt><font size="2">windows server process is working and accepting drive</font></tt>
<br><tt><font size="2">mappings from localhost addressed to itself.</font></tt>
<br>
<br><tt><font size="2">If it is, then try it manually from within the FreeNX
session.</font></tt>
<br>
<br><tt><font size="2">You will need to</font></tt>
<br><tt><font size="2"> sudo netstat -napt|grep
nxagent</font></tt>
<br><tt><font size="2">and look for your correct nxagent with a local address
of</font></tt>
<br><tt><font size="2"> <a href="http://0.0.0.0:4000" target="_blank">0.0.0.0:4000</a></font></tt>
<br><tt><font size="2">or some such. Make sure you get the right nxagent.</font></tt>
<br>
<br><tt><font size="2">You can then try mapping the share connection as "root"
i.e</font></tt>
<br>
<br><tt><font size="2">sudo mount.cifs //NB-3/D /mountpoint -ouser=winusername,pass=winpassword,ip=127.0.0.1,port=4000</font></tt>
<br>
<br><tt><font size="2">or whatever your agent port is.</font></tt>
<br><br>________________________________________________________________<br>
Were you helped on this list with your FreeNX problem?<br>
Then please write up the solution in the FreeNX Wiki/FAQ:<br>
<br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
<br>
Don't forget to check the NX Knowledge Base:<br>
<a href="http://www.nomachine.com/kb/" target="_blank">http://www.nomachine.com/kb/</a><br>
<br>
________________________________________________________________<br>
FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
________________________________________________________________<br></blockquote></div><br></div></div>