summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r--source3/rpc_server/srv_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 857581a471..e92658ea4d 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -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;
}