summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-19 07:44:59 +0000
committerTim Potter <tpot@samba.org>2001-07-19 07:44:59 +0000
commitcdcf646c65f479ff25644cf1844c36ff76a24f3a (patch)
tree99792d278795f267f19657e6e0980e8ffc629bd2
parent1253b8ea43e2a24de1aa705b028418a64796340e (diff)
downloadsamba-cdcf646c65f479ff25644cf1844c36ff76a24f3a.tar.gz
samba-cdcf646c65f479ff25644cf1844c36ff76a24f3a.tar.bz2
samba-cdcf646c65f479ff25644cf1844c36ff76a24f3a.zip
#ifdef'ed out some unused functions.
(This used to be commit ab5ccce2edd6118db0389701ff9e325ee1f818c7)
-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
********************************************************************/