summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index dcad289071..8852ada0cc 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2456,19 +2456,6 @@ void free_unix_grps(int ngroups, struct group *p_groups)
}
/*******************************************************************
-turn a uid into a user name
-********************************************************************/
-char *uidtoname(uid_t uid)
-{
- static char name[40];
- struct passwd *pass = getpwuid(uid);
- if (pass) return(pass->pw_name);
- slprintf(name, sizeof(name) - 1, "%d",(int)uid);
- return(name);
-}
-
-
-/*******************************************************************
turn a gid into a group name
********************************************************************/