summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index f9aa10eced..95f03ab204 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -167,7 +167,7 @@ int setup_groups(char *user, char *domain,
gid_t grp = 0;
gid_t *groups = NULL;
- if (-1 == smb_initgroups(user,domain,gid))
+ if (-1 == initgroups(user,gid))
{
DEBUG(0,("Unable to initgroups. Error was %s\n", strerror(errno) ));
if (getuid() == 0)