summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-13 17:36:22 +0000
committerJeremy Allison <jra@samba.org>2000-10-13 17:36:22 +0000
commit6d475b7217139a5625f6f53d940e46a63528fd43 (patch)
tree08e62427aea5f47024a916a19a93463db259f747 /source3
parent85643cd72cbc51d163dba98eecd98c7bb029bfc3 (diff)
downloadsamba-6d475b7217139a5625f6f53d940e46a63528fd43.tar.gz
samba-6d475b7217139a5625f6f53d940e46a63528fd43.tar.bz2
samba-6d475b7217139a5625f6f53d940e46a63528fd43.zip
Added David O'Neills fix to HEAD (hmmm. how did this compile... :-).
Jeremy. (This used to be commit e222057140edb3f14d76e54bd6e744919f50b4df)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/username.c2
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;