The Samba-Bugzilla – Attachment 878 Details for
Bug 2198
Some accounts migrated with "net rpc vampire" from NT to Samba have pasword disabled.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
set password_last_set time to current time if none is specified.
samba-3.0.11.passchangetime.patch (text/plain), 632 bytes, created by
Jim McDonough
on 2005-01-05 09:03:58 UTC
(
hide
)
Description:
set password_last_set time to current time if none is specified.
Filename:
MIME Type:
Creator:
Jim McDonough
Created:
2005-01-05 09:03:58 UTC
Size:
632 bytes
patch
obsolete
>diff -r -c samba-3_0/source/utils/net_rpc_samsync.c samba-3_0.jpj/source/utils/net_rpc_samsync.c >*** samba-3_0/source/utils/net_rpc_samsync.c 2004-12-28 14:30:43.000000000 -0600 >--- samba-3_0.jpj/source/utils/net_rpc_samsync.c 2004-12-28 16:45:25.000000000 -0600 >*************** >*** 445,450 **** >--- 445,452 ---- > stored_time = pdb_get_pass_last_set_time(account); > if (stored_time != unix_time) > pdb_set_pass_last_set_time(account, unix_time, PDB_CHANGED); >+ } else { >+ pdb_set_pass_last_set_time(account, time(NULL), PDB_CHANGED); > } > > #if 0 >Only in samba-3_0.jpj/source/utils: net_rpc_samsync.c~
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2198
: 878