diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/ldap.c | 4 | ||||
-rw-r--r-- | source3/passdb/nispass.c | 2 | ||||
-rw-r--r-- | source3/passdb/passdb.c | 5 |
3 files changed, 5 insertions, 6 deletions
diff --git a/source3/passdb/ldap.c b/source3/passdb/ldap.c index 54566e454b..b520f521bd 100644 --- a/source3/passdb/ldap.c +++ b/source3/passdb/ldap.c @@ -356,8 +356,8 @@ static void ldap_get_sam_passwd(LDAP *ldap_struct, LDAPMessage *entry, user->logon_divs = 168; /* hours per week */ user->hours_len = 21; /* 21 times 8 bits = 168 */ memset(user->hours, 0xff, user->hours_len); /* available at all hours */ - user->unknown_5 = 0x00020000; /* don't know */ - user->unknown_5 = 0x000004ec; /* don't know */ + user->unknown_5 = 0x00000000; /* don't know */ + user->unknown_6 = 0x000004ec; /* don't know */ if (user->acct_ctrl & (ACB_DOMTRUST|ACB_WSTRUST|ACB_SVRTRUST) ) { diff --git a/source3/passdb/nispass.c b/source3/passdb/nispass.c index 4b4e281c29..2959f6ca7c 100644 --- a/source3/passdb/nispass.c +++ b/source3/passdb/nispass.c @@ -353,7 +353,7 @@ static BOOL make_sam_from_nisp_object(struct sam_passwd *pw_buf, nis_object *obj pw_buf->logon_divs = 168; /* hours per week */ pw_buf->hours_len = 21; /* 21 times 8 bits = 168 */ memset(pw_buf->hours, 0xff, pw_buf->hours_len); /* available at all hours */ - pw_buf->unknown_5 = 0x00020000; /* don't know */ + pw_buf->unknown_5 = 0x00000000; /* don't know */ pw_buf->unknown_6 = 0x000004ec; /* don't know */ return True; diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 0e4948a322..428dd004ee 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -116,9 +116,8 @@ void pdb_init_sam(SAM_ACCOUNT *user) user->logon_divs = 168; /* hours per week */ user->hours_len = 21; /* 21 times 8 bits = 168 */ memset(user->hours, 0xff, user->hours_len); /* available at all hours */ - user->unknown_5 = 0x00020000; /* don't know */ - user->unknown_5 = 0x000004ec; /* don't know */ - + user->unknown_5 = 0x00000000; /* don't know */ + user->unknown_6 = 0x000004ec; /* don't know */ } /************************************************************ |