diff options
author | Stef Walter <stef@memberwebs.com> | 2008-06-11 21:48:27 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-06-11 21:48:27 +0000 |
commit | 0cb3f6098d959479a96c26a92d91becc2110b30d (patch) | |
tree | 22f1447d6c7ad77d802c476297cf9547f822f81a /daemon/ntlmssp.c | |
parent | 67d7a6cc4d3234ac93e521632701e8d42513e042 (diff) |
Support getting groups from the server and limiting access based on LDAP groups. See #112
Diffstat (limited to 'daemon/ntlmssp.c')
-rw-r--r-- | daemon/ntlmssp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ntlmssp.c b/daemon/ntlmssp.c index ca8c5a8..1b51264 100644 --- a/daemon/ntlmssp.c +++ b/daemon/ntlmssp.c @@ -239,7 +239,7 @@ ntlm_msg3_getusername(unsigned char *raw_msg, unsigned msglen, return 16; else { /* Win9x client leave username in uppercase...fix it: */ - while (*username!=(unsigned char)NULL) { + while (*username!=(unsigned char)0) { c=tolower((int)*username); *username=(unsigned char)c; username++; |