bug in ntlmauth.h?

From: <michele.de-martin@dont-contact.us>
Date: Mon, 10 Mar 2003 18:03:52 +0100

Hi,
it looks like src/include/ntlmauth.h contains a typo:

...
/* Negotiation request sent by client */
typedef struct _ntlm_negotiate {
    char signature[8]; /* "NTLMSSP" */
    int32_t type; /* LSWAP(0x1) */
    ntlmhdr hdr; /* NTLM header */
    u_int32_t flags; /* Request flags */
    strhdr domain; /* Domain we wish to authenticate in */
    strhdr workstation; /* Client workstation name */
    char payload[256]; /* String data */
} ntlm_negotiate;
...

should read

...
/* Negotiation request sent by client */
typedef struct _ntlm_negotiate {
    char signature[8]; /* "NTLMSSP" */
    int32_t type; /* LSWAP(0x1) */
    u_int32_t flags; /* Request flags */
    strhdr domain; /* Domain we wish to authenticate in */
    strhdr workstation; /* Client workstation name */
    char payload[256]; /* String data */
} ntlm_negotiate;
...

With the following line removed:
    ntlmhdr hdr; /* NTLM header */

Am I wrong in reading it?

Ciao
Michele
Received on Mon Mar 10 2003 - 10:04:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:31 MST