Delay after disabling LDAP Contextless login

  • 3648729
  • 16-Oct-2006
  • 27-Apr-2012

Environment

Novell Client for Windows 2000/XP/2003 4.91 Support Pack 2 Login
Contextless login disabled

Situation

After disabling LDAP Contextless login, a delay occurs when tabbing between fields in the Novell GINA. An error may then be displayed:

LDAP Error 91 in ldap_simple_bind_s
Can't connect to LDAP server

Resolution

Check for the presence of the following registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\\LDAPServers]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\\LDAPServers\]
"LgnCx"=dword:00000001

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.

Remove the entire subtree [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees]

These registry settings are not used in the Novell Client 4.91.

Additional Information

Examining the workstation registry, the following keys were present:

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Graphical Login\NWLGE\LDAP Contextless]
"LoginExtType"=dword:00008001
"LoginExtName"="LGNCXW32.DLL"
"LoginExtDesc"="Novell LDAP Contextless Login"
"Contextless Login Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Graphical Login\NWLGE\LgnCx]
"RUNCONTEXT"=dword:00000001
"LOGINEXTNAME"="C:\\Novell\\LgnCx\\LgnCxW32.DLL"
"LOGINEXTDESC"="Novell LDAP Contextless Login Extension"
"LOGINEXTTYPE"=dword:00008001
"SearchUsername"=dword:00000001
"SearchMail"=dword:00000000
"AllowWild"=dword:00000000

The first of these is the location where the current Novell Client for Windows contextless login extension looks to determine whether contextless login in enabled or not. The second is apparently a setting remaining from an earlier version of a contextless login solution applied to the workstation.

Further, the following key were present:

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\some tree>\LDAPServers]
[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Trees\some tree>\LDAPServers\]
"LgnCx"=dword:00000001

It appears that because the LgnCx setting in this last key is enabled, the Client attempts to locate the LDAP servers referenced. If these servers no longer exist, the delay and error will be the result.