summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 2b71b3cb3d..d548f48e85 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1047,9 +1047,6 @@ char *uidtoname(uid_t uid)
static fstring name;
struct passwd *pass;
- if (winbind_uidtoname(name, uid))
- return name;
-
pass = sys_getpwuid(uid);
if (pass) return(pass->pw_name);
slprintf(name, sizeof(name) - 1, "%d",(int)uid);
@@ -1066,9 +1063,6 @@ char *gidtoname(gid_t gid)
static fstring name;
struct group *grp;
- if (winbind_gidtoname(name, gid))
- return name;
-
grp = getgrgid(gid);
if (grp) return(grp->gr_name);
slprintf(name,sizeof(name) - 1, "%d",(int)gid);
@@ -1089,9 +1083,6 @@ uid_t nametouid(char *name)
if ((p != name) && (*p == '\0'))
return u;
- if (winbind_nametouid(&u, name))
- return u;
-
pass = getpwnam_alloc(name);
if (pass) {
return(pass->pw_uid);
@@ -1115,9 +1106,6 @@ gid_t nametogid(const char *name)
if ((p != name) && (*p == '\0'))
return g;
- if (winbind_nametogid(&g, name))
- return g;
-
grp = getgrnam(name);
if (grp)
return(grp->gr_gid);