summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-25 13:54:31 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-25 13:54:31 +0000
commit2e58ed742435befe419aa366c4052019fede8c23 (patch)
treec6a43d124e1369a5d6106fe424cefafb60928320 /source/include/smb.h
parent68841eeb64df5958a90a6471fd17e6e56fba7c67 (diff)
downloadsamba-2e58ed742435befe419aa366c4052019fede8c23.tar.gz
samba-2e58ed742435befe419aa366c4052019fede8c23.tar.xz
samba-2e58ed742435befe419aa366c4052019fede8c23.zip
SAM database "set user info".
---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 65746d219ca..edd021f4fbb 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -613,6 +613,7 @@ typedef struct connection_struct
char *connectpath;
char *origpath;
char *user; /* name of user who *opened* this connection */
+
uid_t uid; /* uid of user who *opened* this connection */
gid_t gid; /* gid of user who *opened* this connection */
@@ -709,6 +710,7 @@ struct dcinfo
uchar sess_key[8]; /* Session key */
uchar md4pw[16]; /* md4(machine password) */
+ uchar user_sess_key[16]; /* user session key (md4 nt#) */
};
typedef struct