Readme for ContextLess login developed by Steinar Kleven.

version 1.0           

WHAT'S NEW:

1.0:
* Support for DWORD registry key named 'debug', Supported values are 0 and 1.
* Support for reading contexts to search from file. (SYS:LOGIN\NOCTX.CFG)
  If the file exists the configuration is read from this file. If not noctx reads the
  contexts from the registry. File is slower than registry if you ever doubt that.
* Support for wildcard contexts (*.orgunit.org). I advise you to not use
  the wildcard settings as it slow down the login process by a factor of 2.



0.8:
* I've tried to make it work with the VLM client for Win16, and made it partially.
  Restrictions in the client cause the noctx to load ONLY the dirst time the login dialog
  is loaded in windows. If you later should want to login as another user you'll have to
  1 : Restart Windows.
  or 2 : Login without help from noctx.


0.7:
* Fixed error when context field was left blank.

0.6:
* Added compatibility with ZEN clients from Novell.
* Added a debug variable in registry which can be set to 1 and 0,
	The registry entry for debug is named 'debug' and is of type DWORD.
* Changed the user verification system to not trigger intruder lockout feature.



This software is free, but copyright is held by Steinar Kleven 1998,
all rights reserved.
If you like this software, can you please drop me note, maybe I'll enhance
it in the future.
You might distribute this package to anyone you want as long as
ALL files are included.

I'm not going to make this a long dull readme, we get right on to it.
Remember that there is NO support on this thing, if you trash your system
you can't blame me, even if it was my software that did it !!.
Therefore, test this software with the clients you are using.

Make sure you have the latest clients from Novell, forget the MS ones.
I even got the dll to load on a VLM client system, but strongly suggest that
you get the latest clients.

First, copy the DLL file noctx(16/95/nt).dll to %windir%\system for Win95/win3.1x
or %windir%\system32 for NT,
You only need the one for your system.


Then run the .exe file regdll(16/95/nt).exe (with options):
regdll(16/95/nt).exe   : Install registry settings for loading the Win95 version
regdll(16/95/nt).exe d : Deregister dll.

Then things aren't automated anymore.
Start regedit (/v on 3.1x) and go to:
win31x : [HKEY_CLASSES_ROOT\Network\Novell\SystemConfig\NetworkProvider\GraphicalLogin\NWLGE\CtxLess\]
win95: [HKEY_LOCAL_MACHINE\Network\Novell\System Config\Network Provider\Graphical Login\NWLGE\CtxLess]
NT   : [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Graphical Login\NWLGE\CtxLess]

(This is why every os (NT/Win95/Win3x) have their own set of noctxxx and regdllxx)

Here you should see the settings for the dll.
Jump to 'FILE CONFIGURATION' if you want to use SYS:LOGIN\NOCTX.CFG instead.
Add a string attribute named "1" and value of a context, this makes the dll
search this context for the user.
Add up to 99 contexts with this method. There is one hitch though, you can't have
1,2,3,5 because the dll stop searching if there is a 'hole' in the numbers.

The dll searches the contexts from 1 to x and login the user if the username
AND password matches, so even if you have the two user-object with the same name
in different containers, you only get into trouble if the two have the same
password too. In such a case the first context (lowest number) is used.


This is a dump of the settings I use (WIN95):
REGEDIT4

[HKEY_LOCAL_MACHINE\Network\Novell\System Config\Network Provider\Graphical Login\NWLGE\CtxLess]
"LoginExtName"="noctx95.dll"
"LoginExtDesc"="Contextless login extension"
"LoginExtType"=dword:000080ff
"debug"=dword:0
"1"="*.ahs.hist"
"2"="ahs.hist"
"3"="hist"



*** FILE CONFIGURATION ***

You can also use file configuration settings to determine what contexts to search.
Wildcard contexts can also be used here.
You still have to run regdllxx to register the dll with NWGINA, but all contexts
can be edited from this file. The file name must be SYS:LOGIN\NOCTX.CFG on the server
initally connecting to, or all servers if no primary is choosen in the Novell client
configuration.
The format of this file is:
-----
Context1 = *.ahs.hist
Context2 = ahs.hist
Context3 = hist
-----



Remember to take a look here:
Netware tools homepage: http://www.ahs.hist.no/distr/NWTools/
and
Netware perl module : http://www.ahs.hist.no/distr/NDSm/


Steinar Kleven,
Steinar.Kleven@ahs.hist.no


