Added David O'Neills fix to HEAD (hmmm. how did this compile... :-).
authorJeremy Allison <jra@samba.org>
Fri, 13 Oct 2000 17:36:22 +0000 (17:36 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 13 Oct 2000 17:36:22 +0000 (17:36 +0000)
Jeremy.
(This used to be commit e222057140edb3f14d76e54bd6e744919f50b4df)

source3/lib/username.c

index 32e9eb3188508c6f794f26bb0e47ef43618866e0..7ada5fa00c498d37e7517cecf63ff247c3e0d136 100644 (file)
@@ -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;