From 6d475b7217139a5625f6f53d940e46a63528fd43 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 13 Oct 2000 17:36:22 +0000 Subject: Added David O'Neills fix to HEAD (hmmm. how did this compile... :-). Jeremy. (This used to be commit e222057140edb3f14d76e54bd6e744919f50b4df) --- source3/lib/username.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') 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; -- cgit