summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/username.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 2620d74eba..d253f9ba64 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -443,17 +443,3 @@ struct passwd *smb_getpwnam(char *user, BOOL allow_change)
return NULL;
}
-int smb_initgroups(char *user, char *domain, gid_t group)
-{
- fstring userdom;
- int ret;
-
- ret = initgroups(user, group);
- if (ret==0 || !domain || !*domain) return ret;
-
- slprintf(userdom, sizeof(userdom), "%s/%s", domain, user);
-
- DEBUG(4,("smb_initgroups trying userdom %s\n", userdom));
-
- return initgroups(userdom, group);
-}