summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srvsvc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:24:15 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:24:15 +0100
commit818e0722e1a730cfa30d911be510641ef23dc446 (patch)
tree584a8e1a0682c8dbafd92139b1b51c0686d53681 /source3/rpc_server/srvsvc
parent3be6258912939fb538d7bcb492483ae2ab52391b (diff)
downloadsamba-818e0722e1a730cfa30d911be510641ef23dc446.tar.gz
samba-818e0722e1a730cfa30d911be510641ef23dc446.tar.bz2
samba-818e0722e1a730cfa30d911be510641ef23dc446.zip
lib/util: Remove dummy wrapper for getpwnam().
Diffstat (limited to 'source3/rpc_server/srvsvc')
-rw-r--r--source3/rpc_server/srvsvc/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
index 4435b996da..c9f8ceb6f8 100644
--- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
@@ -906,7 +906,7 @@ static WERROR init_srv_sess_info_1(struct pipes_struct *p,
for (; resume_handle < *total_entries; resume_handle++) {
uint32 num_files;
uint32 connect_time;
- struct passwd *pw = sys_getpwnam(session_list[resume_handle].username);
+ struct passwd *pw = getpwnam(session_list[resume_handle].username);
bool guest;
if ( !pw ) {