summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-05-04 15:44:27 +0000
committerJean-François Micouleau <jfm@samba.org>2001-05-04 15:44:27 +0000
commita4a4c02b12f030a3b9e6225b999c90689dfc4719 (patch)
tree3f778b053a2f267a479588db66abfbb750af582c /source/include/smb.h
parentd5d6f01aaf8d344bb44dbe047c2f760ca220529e (diff)
downloadsamba-a4a4c02b12f030a3b9e6225b999c90689dfc4719.tar.gz
samba-a4a4c02b12f030a3b9e6225b999c90689dfc4719.tar.xz
samba-a4a4c02b12f030a3b9e6225b999c90689dfc4719.zip
Big cleanup of passdb and backends.
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h41
1 files changed, 19 insertions, 22 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 7f4825b501f..0993d349a28 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -644,28 +644,25 @@ typedef struct
typedef struct sam_passwd
{
- TALLOC_CTX *mem_ctx; /* used for all dynamically allocated
- memory in this struct*/
-
- time_t logon_time; /* logon time */
- time_t logoff_time; /* logoff time */
- time_t kickoff_time; /* kickoff time */
- time_t pass_last_set_time; /* password last set time */
- time_t pass_can_change_time; /* password can change time */
- time_t pass_must_change_time; /* password must change time */
-
- char *username; /* UNIX username string */
- char *domain; /* Windows Domain name */
- char *nt_username; /* Windows username string */
- char *full_name; /* user's full name string */
- char *home_dir; /* home directory string */
- char *dir_drive; /* home directory drive string */
- char *logon_script; /* logon script string */
- char *profile_path; /* profile path string */
- char *acct_desc ; /* user description string */
- char *workstations; /* login from workstations string */
- char *unknown_str ; /* don't know what this is, yet. */
- char *munged_dial ; /* munged path name and dial-back tel number */
+ time_t logon_time; /* logon time */
+ time_t logoff_time; /* logoff time */
+ time_t kickoff_time; /* kickoff time */
+ time_t pass_last_set_time; /* password last set time */
+ time_t pass_can_change_time; /* password can change time */
+ time_t pass_must_change_time; /* password must change time */
+
+ pstring username; /* UNIX username string */
+ pstring domain; /* Windows Domain name */
+ pstring nt_username; /* Windows username string */
+ pstring full_name; /* user's full name string */
+ pstring home_dir; /* home directory string */
+ pstring dir_drive; /* home directory drive string */
+ pstring logon_script; /* logon script string */
+ pstring profile_path; /* profile path string */
+ pstring acct_desc ; /* user description string */
+ pstring workstations; /* login from workstations string */
+ pstring unknown_str ; /* don't know what this is, yet. */
+ pstring munged_dial ; /* munged path name and dial-back tel number */
uid_t uid; /* this is actually the unix uid_t */
gid_t gid; /* this is actually the unix gid_t */