mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
Missing sys_endpwent() call in get_passwd_entries()
(This used to be commit a86f219f2f
)
This commit is contained in:
parent
2537e23620
commit
fd3e20a278
@ -339,7 +339,7 @@ static BOOL get_passwd_entries(SAM_USER_INFO_21 *pw_buf,
|
||||
|
||||
if (pwd == NULL) {
|
||||
/* totally done, reset everything */
|
||||
endpwent();
|
||||
sys_endpwent();
|
||||
current_idx = 0;
|
||||
mapped_idx = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user