Thx, Chris and Mario!<br>Now it says: <br><br>Info: Share: '//NB-3/D' failed to mount: mount error 1 = Operation 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><br><div class="gmail_quote">On Mon, May 2, 2011 at 6:21 AM, <span dir="ltr"><<a href="mailto:chris@ccburton.com">chris@ccburton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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 01:31:58:<div><div></div><div class="h5"><br>
<br>
> Hi, I am connecting from a Windows 7 machine to a Centos 5 - Freenx
setup.</div></div></font></tt>
<br><div><div></div><div class="h5"><tt><font size="2">> When I enable the option "Enable printer
and file sharing" on the NX<br>
> client, the following error appears: "Info: Share: '//PC-1/D'
failed<br>
> to mount: /usr/bin/nxnode: line 1404: smbmount: command not found".</font></tt>
<br><tt><font size="2">> The error is right, the command "smbmount"
is not found because it <br>
> is deprecated. CIFS shuould be used instead.</font></tt>
<br><tt><font size="2">> What can I do?</font></tt>
<br>
<br></div></div><tt><font size="2">Depending upon what centos have done with their version
of nxnode,</font></tt>
<br><tt><font size="2">you may have a number of options, but the cover-all
approach</font></tt>
<br><tt><font size="2">is to set in</font></tt>
<br><tt><font size="2">/etc/nxserver/node.conf</font></tt>
<br>
<br><tt><font size="2">COMMAND_SMBMOUNT=/sbin/mount.cifs</font></tt>
<br><tt><font size="2"># The key that contains the name of the complete path
of command name</font></tt>
<br><tt><font size="2"># 'smbumount'.</font></tt>
<br><tt><font size="2">COMMAND_SMBUMOUNT=/sbin/umount.cifs</font></tt>
<br><tt><font size="2"># The key that contains the name of the complete path
of command name</font></tt>
<br><tt><font size="2"># 'mount.cifs'.</font></tt>
<br><tt><font size="2">COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs</font></tt>
<br><tt><font size="2"># The key that contains the name of the complete path
of command name</font></tt>
<br><tt><font size="2"># 'umount.cifs'.</font></tt>
<br><tt><font size="2">COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs</font></tt>
<br><tt><font size="2">SAMBA_MOUNT_SHARE_PROTOCOL="both"</font></tt>
<br>
<br><tt><font size="2"># FreeNX with ENABLE_SAMBA_PRELOAD="1" will
automatically setup</font></tt>
<br><tt><font size="2"># port 445 and 139 and forward them to the used samba
port.</font></tt>
<br><tt><font size="2">#</font></tt>
<br><tt><font size="2"># This enables samba browsing to the local subnet
in for example</font></tt>
<br><tt><font size="2"># konqueror.</font></tt>
<br><tt><font size="2">#</font></tt>
<br><tt><font size="2">ENABLE_SAMBA_PRELOAD="1"</font></tt>
<br>
<br><tt><font size="2">Making sure you point to an extant mount.cifs and
umount.cifs</font></tt>
<br>
<br><tt><font size="2">You will also have to set mount.cifs and umount.cifs
as</font></tt>
<br><tt><font size="2"> suid</font></tt>
<br><tt><font size="2">which can be flagged a security risk . . .</font></tt>
<br><tt><font size="2">eg. samba themselves advise not doing this.</font></tt>
<br>
<br><tt><font size="2">I recompiled mine so they only work with command line</font></tt>
<br><tt><font size="2">parameters and saved separate versions for NX but</font></tt>
<br><tt><font size="2">most people seem not to bother about this issue.</font></tt>
<br>
<br><tt><font size="2">You may find some issues with the windows server</font></tt>
<br><tt><font size="2">process being disabled if there is no LAN connection,</font></tt>
<br><tt><font size="2">so watch out for this if you use a 3G connection</font></tt>
<br><tt><font size="2">which thinks it is a modem.</font></tt>
<br><div><div></div><div class="h5">
<br>
<br><tt><font size="2">> <br>
> Regards.________________________________________________________________<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>
> </font></tt><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank"><tt><font size="2">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</font></tt></a><tt><font size="2"><br>
> <br>
> Don't forget to check the NX Knowledge
Base:<br>
> </font></tt><a href="http://www.nomachine.com/kb/" target="_blank"><tt><font size="2">http://www.nomachine.com/kb/</font></tt></a><tt><font size="2">
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org" target="_blank">FreeNX-kNX@kde.org</a><br>
> </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank"><tt><font size="2">https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size="2"><br>
> ________________________________________________________________</font></tt></div></div><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>