summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2000-10-13 15:31:18 +0000
committerDavid O'Neill <dmo@samba.org>2000-10-13 15:31:18 +0000
commitc9165bb83ede2404e13447c4b801b3e6ca67a75f (patch)
treeefd36e3c0e142b30bb37b3e5acdbd042b7a7eca0
parent7ca3a35ff856bd1173cd4cf0345bc0b8d203f101 (diff)
downloadsamba-c9165bb83ede2404e13447c4b801b3e6ca67a75f.tar.gz
samba-c9165bb83ede2404e13447c4b801b3e6ca67a75f.tar.xz
samba-c9165bb83ede2404e13447c4b801b3e6ca67a75f.zip
Fixed incorrect order of args to call of winbind_nametogid
-rw-r--r--source/lib/username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/username.c b/source/lib/username.c
index 32e9eb31885..7ada5fa00c4 100644
--- a/source/lib/username.c
+++ b/source/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;