[FreeNX-kNX] Printing and sharing issue

chris at ccburton.com chris at ccburton.com
Fri Nov 20 12:19:24 UTC 2009


Vivek <vivek at visolve.com> wrote on 17/11/2009 14:10:58:

> Hi All,
> 
> If any of you is using both printer and file sharing feature on 
> Windows client, please share your configurations here..
> 
> I am using,
> 
> Server - Ubuntu 9.04
> Client - Windows XP professional

Uses cifs by default.


> 
> 
> ~vivek
> 
> Vivek wrote: 
> Hi,
> 
> Server - Ubuntu 9.04
> Client - Windows
> 
> I am not able to use both printing and mounting at a time.  If 
> SAMBA_MOUNT_SHARE_PROTOCOL="smbfs",

If you like. Both would be better.

> 
> Printing works. But unable to mount windows shares. Error " failed 
> to mount. mount error. error(112) Host is down ".
> 
> If SAMBA_MOUNT_SHARE_PROTOCOL="both" or 
> SAMBA_MOUNT_SHARE_PROTOCOL="cifs", we are unable to mount the 

With XP both=cifs


> windows sharing. but printing not works..


I think we need to guess you meant the mount works but printing doesn't.


Did you patch /usr/lib/cups/backend/nxsmb   ??


--- /usr/lib/cups/backend/nxsmb     2009-10-03 16:26:24.000000000 +0100
+++ /usr/lib/cups/backend/nxsmb.patched 2009-10-03 17:22:54.000000000 
+0100
@@ -18,6 +18,9 @@
 PROTOCOL=$(echo $DEVICE_URI | cut -d/ -f4)
 PRINTER=$(echo $DEVICE_URI | cut -d/ -f5)

+## patch to rewrite nxsmb:// as smb:// to make it acceptable to smbspool
+DEVICE_URI=$(echo $DEVICE_URI | sed "s|nxsmb://|smb://|g" )
+
 if [ -z "$PRINTER" ] # old style setup
 then
        echo "Warning: Not using nxredir library. The DEVICE_URI is not in 
the right format."




> 
> In the /home/user/.nx/C-**/cups/error_log, " unable to connect cifs 
> host, will try in 60 seconds ".
> 
> Is any workaround there ?
> 
> Thanks in advance.
> 
> Regards,
> Vivek
> 
> 
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20091120/b0a31602/attachment.html>


More information about the FreeNX-kNX mailing list