Howto: enable debug logging in the Netware Client 4.91 for Windows


I’ve been experiencing some intermittent weirdness in one of the networks I support. I can logon to workstations just fine as any user – expect one created in the past week. It doesn’t matter where in the tree I create the new users, or which version of ConsoleOne I use to create them with.

The login errors don’t happen at all locations, and they don’t happen every day, they just occur randomly. My first thought was that some of the eDirectory servers were out of sync, so I did all the recommended dsrepairs, made sure time was in sync across the servers, enabled eDirectory debugging using dstrace, but could not find any errors at all.

This is definitely user specific – the errors follow the users to whichever WAN segments they login to, regardless of which server they authenticate to. It doesn’t matter which version of the Novell client we use either – we’ve tried 4.91 SP2, SP3, and the recently released SP4, all fully patched. I’ve worked on getting all the eDirectory servers up to version 8.8.1, hoping that would change things, but it hasn’t.

I decided I needed to figure out what was happening at the client level during login, so I figured I just turn on logging for the Novell Client – but I couldn’t find any information on how to do that anywhere. I searched for hours before I came across TID 3059353, “How to obtain an NWGINA.DLL debug log”. Why they wouldn’t just call this TID “How to enable Novell Client logging” or something similar I’ll never understand. Trust me, nwgina.dll debug was not something I was Googling or searching support.novell.com for!

It turns out that since Novell Client 4.91 SP3, you can enable debug logging by creating the following registry key:

[HKEY_LOCAL_MACHINE\Software\Novell\NWGINA]
“EnableDebugMessageLogging”=dword:00000001

This will create a log file named nwgina.log in your %SystemRoot%\SYSTEM32 directory.

You can optionally create the following value to specify a maximum size for nwgina.log If you don’t create this value, the nwgina.log file will be overwritten every time you login via the client.

[HKEY_LOCAL_MACHINE\Software\Novell\NWGINA]
“MaxLogFileSize”=dword:00000000

where MaxLogFileSize is a number from 1 to 4194303 (in KB).

On a related note, see TID 3112868 for information on enabling logging of all types in Zenworks Desktop Management (ZDM) 6.5 and 7.

One Response to “Howto: enable debug logging in the Netware Client 4.91 for Windows”

  1. the back room tech Update on random eDirectory network login problems and weirdness « Says:

    […] network login problems and weirdness August 3rd, 2007 — Julie Earlier I wrote about random network weirdness I’ve been experiencing where new eDirectory users created in the past week couldn’t […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 32 other followers

%d bloggers like this: