diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-29 22:01:18 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-08-29 22:01:18 +0000 |
commit | b3a545c68101ef431332de622c3a99313c7da40c (patch) | |
tree | f435bc0f2189cc848438a138e251229b04adfefe /source/lib/samba3/samba3.h | |
parent | f2ced33c4ac38cd89b6cd18e7e36afa0d0d6ad55 (diff) | |
download | samba-b3a545c68101ef431332de622c3a99313c7da40c.tar.gz samba-b3a545c68101ef431332de622c3a99313c7da40c.tar.xz samba-b3a545c68101ef431332de622c3a99313c7da40c.zip |
r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
Diffstat (limited to 'source/lib/samba3/samba3.h')
-rw-r--r-- | source/lib/samba3/samba3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/lib/samba3/samba3.h b/source/lib/samba3/samba3.h index 5aba790c4ea..a41109a145e 100644 --- a/source/lib/samba3/samba3.h +++ b/source/lib/samba3/samba3.h @@ -22,6 +22,7 @@ #define _SAMBA3_H #include "librpc/gen_ndr/security.h" +#include "librpc/gen_ndr/samr.h" struct samba3_samaccount { uint32_t logon_time, @@ -43,10 +44,11 @@ struct samba3_samaccount { char *profile_path; char *acct_desc; char *workstations; + uid_t uid; uint32_t user_rid, group_rid, hours_len, unknown_6; uint16_t acct_ctrl, logon_divs; uint16_t bad_password_count, logon_count; - uint8_t *lm_pw_ptr, *nt_pw_ptr; + struct samr_Password lm_pw, nt_pw; uint8_t *nt_pw_hist_ptr; uint8_t *hours; }; |