<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<small><font face="Verdana">Hi Chris,<br>
<br>
Thanks for your reply.</font></small><br>
<blockquote
cite="mid:OFB8AE7466.BE1C98EE-ON80257679.004BA798-80257679.0059579A@ccburton.com"
type="cite"><tt><font size="2"> </font></tt>
<br>
<tt><font size="2">Turn on trace in at the top of
/usr/lib/cups/backend/nxsmb
</font></tt><br>
<tt><font size="2">by removing the # from</font></tt>
<br>
<tt><font size="2"> #set -x -v</font></tt>
<br>
<tt><font size="2">Find the printer's full URI by looking for</font></tt>
<br>
<tt><font size="2"> DeviceURI nxsmb:</font></tt>
<br>
<tt><font size="2">in
/home/user/.nx/C-machine-port-session/cups/printers.conf</font></tt>
<br>
<br>
<tt><font size="2">As THE CONNECTED NX user, at a command prompt on
the
NX server enter </font></tt>
<br>
<tt><font size="2">export
<a class="moz-txt-link-abbreviated" href="mailto:DEVICE_URI=nxsmb://user-name:password@127.0.0.1:port/cifs/HP">DEVICE_URI=nxsmb://user-name:password@127.0.0.1:port/cifs/HP</a></font></tt>
<br>
<tt><font size="2">
or whatever you found in printers.conf</font></tt>
<br>
<tt><font size="2">Make a small test text file, then in the SAME
SESSION,
run : -</font></tt>
<br>
<tt><font size="2"> /usr/lib/cups/backend/nxsmb
1 1 1 1 your-text-test-file.txt</font></tt>
<br>
<tt><font size="2"><br>
</font></tt></blockquote>
<small><font face="Verdana">The problem was, /usr/lib/libnxredir.so.0
didn't have the permission. Now both printing and file-sharing is
working fine. <br>
<br>
SAMBA_MOUNT_SHARE_PROTOCOL="both"<br>
<br>
<br>
Thanks,<br>
Vivek<br>
</font></small><br>
</body>
</html>