summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-21 03:29:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:16 -0500
commita57f37420b2b41b1905e2eefa385036b9ddb5bcf (patch)
tree3d357d11a3bf190cb037d909256a18a222fd9e6d /source3/include
parent115996503ced64c478ed1cc857bd5a1528644b46 (diff)
downloadsamba-a57f37420b2b41b1905e2eefa385036b9ddb5bcf.tar.gz
samba-a57f37420b2b41b1905e2eefa385036b9ddb5bcf.tar.bz2
samba-a57f37420b2b41b1905e2eefa385036b9ddb5bcf.zip
r13588: Second attempt to fix Bug #3330 - treat the string as a
uint8 array and copy as such. Gunther please check (sorry I reverted your earlier fix). Jeremy. (This used to be commit 7a17b39c80703909f102487690d2117d874b0e15)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/authdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/authdata.h b/source3/include/authdata.h
index 194429ab67..dbaeda6b9a 100644
--- a/source3/include/authdata.h
+++ b/source3/include/authdata.h
@@ -42,7 +42,7 @@
typedef struct pac_logon_name {
NTTIME logon_time;
uint16 len;
- uint16 *username; /* might not be null terminated, so not UNISTR */
+ uint8 *username; /* Actually always little-endian. might not be null terminated, so not UNISTR */
} PAC_LOGON_NAME;
typedef struct pac_signature_data {