summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index b808d4c9d6..680f5affc8 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -234,6 +234,8 @@ static uint32 jf_get_sampwd_entries(SAM_USER_INFO_21 *pw_buf, int start_idx,
return NT_STATUS_NO_PROBLEMO;
}
+#if 0 /* This function appears to be unused! */
+
/*******************************************************************
This function uses the username map file and tries to map a UNIX
user name to an DOS name. (Sort of the reverse of the
@@ -313,6 +315,10 @@ static char *unmap_unixname(char *unix_user_name, int name_idx)
return NULL;
}
+#endif /* Unused function */
+
+#if 0 /* This function seems to be not used anywhere! */
+
/*******************************************************************
This function sets up a list of users taken from the list of
users that UNIX knows about, as well as all the user names that
@@ -481,6 +487,8 @@ done:
return (*num_entries) > 0;
}
+#endif /* Unused function */
+
/*******************************************************************
_samr_close_hnd
********************************************************************/