diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-29 22:01:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:57 -0500 |
commit | ec934124db8a5234d8c83799a23c7bdced5dd95a (patch) | |
tree | 1cc89a41482b16b186f9bec3daad692d9dbcfed2 /source4/lib/samba3/samba3.h | |
parent | 721b22f9cdef811ac0e2738b62d7b978fad74dbc (diff) | |
download | samba-ec934124db8a5234d8c83799a23c7bdced5dd95a.tar.gz samba-ec934124db8a5234d8c83799a23c7bdced5dd95a.tar.bz2 samba-ec934124db8a5234d8c83799a23c7bdced5dd95a.zip |
r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
(This used to be commit 1376a1fe44cd6b01709819095a711c14626b1d3e)
Diffstat (limited to 'source4/lib/samba3/samba3.h')
-rw-r--r-- | source4/lib/samba3/samba3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/samba3/samba3.h b/source4/lib/samba3/samba3.h index 5aba790c4e..a41109a145 100644 --- a/source4/lib/samba3/samba3.h +++ b/source4/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; }; |