diff options
Diffstat (limited to 'source3/lib/username.c')
-rw-r--r-- | source3/lib/username.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c index 32e9eb3188..7ada5fa00c 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -303,7 +303,7 @@ failed with error %s\n", strerror(errno) )); * to a gid_t via winbind and do the comparison. */ - if (!winbind_nametogid(gname, &gid)) { + if (!winbind_nametogid(&gid, gname)) { DEBUG(0,("user_in_winbind_group_list: winbind_lookup_name for group %s failed.\n", gname )); goto err; |