VNC connection policies bound to passwords

Albert Fluegel albert.fluegel "at" hl.siemens.de
Mon, 19 Oct 1998 15:19:14 +0000


This is a multi-part message in MIME format.
--------------995B9E8CA8AABAB6A58CA940
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by david.siemens.de id QAA24318

Hello,

Some time ago i sent diffs to this mailing list
for assigning access attributes (view-only and
shared) to passwords supplied to vncviewer.
Here's the diffs for the java-viewer.

Regards,

  Albert

--=20
Albert Fl=FCgel, tdsc        Tel.:   +49-89-636-27690
bei: Siemens AG            Fax.:   +49-89-636-28983
Balanstr. 73               D1:     +49-171-3698673
81541 M=FCnchen              mailto: tdscaf "at" hl.siemens.de
--------------995B9E8CA8AABAB6A58CA940
Content-Type: text/plain; charset=us-ascii; name="vncjavasrc.patch"
Content-Disposition: inline; filename="vncjavasrc.patch"
Content-Transfer-Encoding: 7bit

diff -r -u vnc-3.3.2r2_javasrc/rfbProto.java vnc-3.3.2r2_javasrc.patch/rfbProto.java
--- vnc-3.3.2r2_javasrc/rfbProto.java	Fri Jul  3 12:14:40 1998
+++ vnc-3.3.2r2_javasrc.patch/rfbProto.java	Thu Jan  1 01:01:00 1998
@@ -41,7 +41,7 @@
 
   final String versionMsg = "RFB 003.003\n";
   final int ConnFailed = 0, NoAuth = 1, VncAuth = 2;
-  final int VncAuthOK = 0, VncAuthFailed = 1, VncAuthTooMany = 2;
+  final int VncAuthOK = 0, VncAuthFailed = 1, VncAuthTooMany = 2, VncAuthReadOnly = 3;
 
   final int FramebufferUpdate = 0, SetColourMapEntries = 1, Bell = 2,
     ServerCutText = 3;
diff -r -u vnc-3.3.2r2_javasrc/vncviewer.java vnc-3.3.2r2_javasrc.patch/vncviewer.java
--- vnc-3.3.2r2_javasrc/vncviewer.java	Fri May  8 19:46:26 1998
+++ vnc-3.3.2r2_javasrc.patch/vncviewer.java	Thu Jan  1 01:01:00 1998
@@ -226,6 +226,10 @@
 	  System.out.println("VNC authentication succeeded");
 	  authenticationDone = true;
 	  break;
+	case rfb.VncAuthReadOnly:
+	  System.out.println("VNC authentication succeeded for read-only");
+	  authenticationDone = true;
+	  break;
 	case rfb.VncAuthFailed:
 	  System.out.println("VNC authentication failed");
 	  authenticator.retry();

--------------995B9E8CA8AABAB6A58CA940--


---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------