Hi, I have read and scanned the vnc-list.mbox, but haven't found an answer to my question. My task is to modify the vnc server and client on win32 for custom internal use. When the mods are complete I will release the modification back to the world. In the mean time I need to make two changes to the way vnc works. I need first to authenticate a vncviewer/user against a database (using postgres on linux and have that server portion ready to go). Second I need to put three buttons on the title bar of the viewer for custom functions. I have the code to put the buttons on the title bar and have no real worries about that. Once I know how the coms is handles between viewer and server I think I can send the commands just fine across the established connection, so I'm not really worried about that. The part I'm stuck with just now is where do I slip in the extra authentication? I have modified the auth dialog and its ready. I have looked in various parts, but as this is c++ and that's not one of my best languages I'm a little confused.
I plan to do: - start viewer - connect to server - server says viewer must auth - viewer displays auth dialog and collects id and passwd (auth dialog is modified and ready) - viewer sends id and passwd to server - server sends id and passwd to db server daemon (I wrote this part; its ready) - server daemon looks at id and passwd and determines if it is real - server daemon returns to winvnc server AUTHOK or AUTHFAIL - winvnc returns to vncviewer its version of good or bad - life continues one way or the other Can someone help me where I need to put this conversation and if this conversation might be improved? Mike _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
