[FreeNX-kNX] SVN: CIFS printer issues solved. (Windows printing)

Fabian Franz FabianFranz at gmx.de
Wed Mar 5 14:04:15 UTC 2008


Hello all,

the printing issues with CIFS are solved now.

Howto use it before 0.7.2 release:

- Download FreeNX SVN and install nxredir and nxsmb:

$ mkdir freenx-svn
$ cd freenx-svn
$ svn co svn://svn.berlios.de/freenx/freenx-server/trunk
$ cd trunk/nxredir
$ make
gcc -g -O2 -Wall -fPIC   -c -o nxredir.o nxredir.c
gcc -fPIC -g -O2 -Wall -fPIC -nostdlib -shared -o libnxredir.so.0 nxredir.o -ldl -lc
$ sudo make install
install -m755 libnxredir.so.0 /usr/lib
install -m755 nxredir /usr/bin
install -m755 nxsmb /usr/lib/cups/backend/
ldconfig
$ sudo rm -f /usr/bin/nxredir # not needed at the moment

So now we only have to patch nxnode. (Not the one from SVN, but your version)

Replace:

DEVICE_URI="smb://$username:$password@127.0.0.1:$port/$share"

through:

DEVICE_URI="nxsmb://$username:$password@127.0.0.1:$port/cifs/$share"

In SVN is a more advanced solution, but this should do the basic trick.

cu

Fabian



More information about the FreeNX-kNX mailing list