[FreeNX-kNX] Version 2 client - Which FreeNX server ?

Wolfgang Schweer schweer at cityweb.de
Fri Jun 30 11:33:22 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wolfgang Schweer wrote:

> Alastair Johnson wrote:
>
> > This seems odd. If the 1.5 client uses 1.5.0 and the 2.0 client
> > uses 1.4.0 then what does the 1.4 client use? If that also uses
> > 1.4.0 then we need some other way to distinguish the client
> > version to get both 1.4 and 2.0 usable with the same server.
>
> Well, bad enough: the 1.4 client also uses 1.4.0 as proto.

To tell 1.4 from 1.5 and 2.0 clients, this may work in nxnode (if
condition in one line):

- --------------------------------
if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ] || [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" -a "$status" = "suspended,running"] || [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" -a "$status" = "suspended"]

  then
  # enable fake cookie authentication
  cookie=$proxy_cookie
fi
- ------------------------------

(Excuse me, I'm not a programmer.)


Wolfgang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEpQwInlCf5+ELaesRAtpCAKDQB6dQk9JsfSPdI9SgE/Gcwn3cbACgoPgV
Ziu6c+qPbh3UOJotBZKupOw=
=g2jx
-----END PGP SIGNATURE-----




More information about the FreeNX-kNX mailing list