git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2d942
)
s3:rpc_server: Use copy_pwd_expired_to_sam_passwd() in set_user_info_26()
author
Andreas Schneider
<asn@samba.org>
Mon, 23 Aug 2021 09:30:40 +0000
(11:30 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 28 Jul 2022 11:51:29 +0000
(11:51 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/samr/srv_samr_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/samr/srv_samr_nt.c
b/source3/rpc_server/samr/srv_samr_nt.c
index b418e2c4ff86899352e1d95bd2fa4607d5720caf..2afebb9a16467bc170a33ebf06081d22aa5e496e 100644
(file)
--- a/
source3/rpc_server/samr/srv_samr_nt.c
+++ b/
source3/rpc_server/samr/srv_samr_nt.c
@@
-5131,7
+5131,7
@@
static NTSTATUS set_user_info_26(TALLOC_CTX *mem_ctx,
return NT_STATUS_WRONG_PASSWORD;
}
- copy_
id26_to_sam_passwd(pwd, id26
);
+ copy_
pwd_expired_to_sam_passwd(pwd, id26->password_expired
);
status = pdb_update_sam_account(pwd);
if (!NT_STATUS_IS_OK(status)) {