RE: DHCP and D4GL WTK Client
Posted in 2000
I can't think of anything that would help you prevent the prompt from appearing. Even though D4GL was supposed to give one the feeling that they're running a Windows app, the fact remains that it's requesting data and services from a UNIX box that's a stickler for authorization. From my testing, I discovered that if you add the user's PC hostname to your database/application server's hosts.equiv file, no matter what the user entered as the password, as long as the username was valid it would allow the login (the password field could even be blank!). So if you're willing to accept the risk (which you'd probably have to be since there's probably no solution that would allow your D4GL client to connect without authenticating itself as belonging to a proper UNIX user) then you could use the -u <username> flag in the D4GL shortcut so that the username will appear by default and then all they'll have to do is press the OK button. Another possible route to explore is the HTML client. I haven't looked at it nor have I seen one in action. Can anyone inform us about what the authorization for web-based D4GL clients is like? Best regards, Edmund Nigel Gall Senior Information Systems Specialist Process Plant Services Limited Atlantic Avenue, Point Lisas Industrial Estate Point Lisas, Couva, Trinidad & Tobago, W.I. Tel: (868) 636 2906 x 274 Fax: (868) 679 3770 -----Original Message----- From: Ron M. Flannery [mailto:rflanner@speedlink.net] Sent: Thursday, September 14, 2000 2:49 PM To: Nigel Gall Cc: Jonathan Leffler; informix-list@iiug.org Subject: RE: DHCP and D4GL WTK Client Actually I was talking about the standard login box: the one that prompts for hostname, username, etc. You can turn off some of these things in the WTKSRV.INI, but I couldn't figure out how to make the box completely disappear. Ideas on this? /Ron On Thu, 14 Sep 2000, Nigel Gall wrote: > Ron, I don't think you'll have to worry about the login authorization prompt > being a hassle if you ensure that the D4GL server is not one of the DHCP > clients. As Emmanuel Soden wrote in his response, once you answer yes to > the prompt, it creates a line in %WINDIR%\\rhosts similar to the following: > > <D4GL server hostname> <username> > > He said it was IP address, but on my W2K client it writes the server's > hostname. \\it won't matter if the PC gets a new DHCP lease, because the > client IP address is only used to manage concurrent license usage, not login > authorization. > > So the prompt will only happen if: > > - The user logs in on that client for the first time. > > - If the client's %WINDIR%\\rhosts file becomes corrupted for some reason. > > A wo-worker of mine also discovered that if the DHCP leased IP addresses are > not resolvable in /etc/hosts (and/or I suspect the NIS hosts file) then the > WTK client would take very long to complete the login, eventually giving a > *hostname mismatch* error. So it may be necessary to enter the entire list > of possible leased IP addresses into the D4GL server's /etc/hosts (or NIS). > For my small site, this may be no hassle, but this is a horrible thing for a > big site with Class B or more DHCP leases. A script to print all the > possible leased IP addresses would need to be written. Can someone confirm > if this is really needed? > > Best regards, > > Edmund Nigel Gall > Senior Information Systems Specialist > Process Plant Services Limited > Atlantic Avenue, Point Lisas Industrial Estate > Point Lisas, Couva, Trinidad & Tobago, W.I. > Tel: (868) 636 2906 x 274 Fax: (868) 679 3770 > > > -----Original Message----- > From: Ron M. Flannery [mailto:rflanner@speedlink.net] > Sent: Thursday, September 14, 2000 11:28 AM > To: Jonathan Leffler > Cc: informix-list@iiug.org > Subject: Re: DHCP and D4GL WTK Client > > > > Jonathan wrote: > > > - When you login for the first time after installation, you get prompted > to > > > confirm authorization for <username> on <client IP address>. Does this > eman > > > that licensing is handled using IP addresses? If yes, would we expect > users > > > to have to answer this prompt everytime they login and receive a > different > > > IP address? > > > > I know the popup you mean. I've forgotten (assuming I ever knew) why > > that > > happens and how you suppress it. I'm sure there is a way to do it, > > but... > > Drat, I hate it when I start to answer and can't finish! > > > > RE: IP addresses/licenses - I just did some research on this issue and > discovered that licensing works like this: > > 1. If you're on a PC and using the WTK client, you can run multiple > sessions and only use one license - they are counted by the IP address. > > 2. If you're starting character-based sessions, each session will take a > license, even if they're from telnets from the same PC. > > I'm not yet sure how to eliminate the login box. Perhaps it's a setting > in the WTKSRV.INI file on the PC, but I haven't been able to figure it out. > > /Ron > > ________________________________________________________________________ > Ron Flannery <mailto:rflanner@informixhandbook.com>, 248-887-8470x40 > > Lead author, Informix Handbook President, One Point Solutions > "Your Complete Reference" "Informix & Web/Database solutions" > http://www.informixhandbook.com http://www.one-point.com > ________________________________________________________________________ >