<br><tt><font size=2>Agustin Castaņo <morsapc@gmail.com> wrote on
02/05/2011 01:31:58:<br>
<br>
> Hi, I am connecting from a Windows 7 machine to a Centos 5 - Freenx
setup.</font></tt>
<br><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><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>
<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"><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/><tt><font size=2>http://www.nomachine.com/kb/</font></tt></a><tt><font size=2>
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
> </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><tt><font size=2>https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size=2><br>
> ________________________________________________________________</font></tt>