summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-09-01 17:13:44 +0000
committerJeremy Allison <jra@samba.org>2000-09-01 17:13:44 +0000
commitbfa751734a1229a25bb3f33edc7710a1efee376d (patch)
treecc63ff3456991c86d19ee5768d09253d7eb31336 /source3
parent08e73efdbc6db1438163eade03e31c9eb3c397d3 (diff)
downloadsamba-bfa751734a1229a25bb3f33edc7710a1efee376d.tar.gz
samba-bfa751734a1229a25bb3f33edc7710a1efee376d.tar.bz2
samba-bfa751734a1229a25bb3f33edc7710a1efee376d.zip
Fix from John Reilly @ HP for my typo with the parameters being reversed. Ooops.
Jeremy. (This used to be commit 8317d70a35086c5539e67d60cbcf937b6ce0932c)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wb_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index bdfd25acce..8c62b3124f 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -332,7 +332,7 @@ BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype)
DEBUG(10,("sid_to_uid: winbind lookup for sid %s failed - trying local.\n",
sid_to_string(sid_str, psid) ));
- return local_sid_to_uid(psid, puid, sidtype);
+ return local_sid_to_uid(puid, psid, sidtype);
}
/*
@@ -383,7 +383,7 @@ BOOL sid_to_gid(DOM_SID *psid, gid_t *pgid, enum SID_NAME_USE *sidtype)
DEBUG(10,("sid_to_gid: winbind lookup for sid %s failed - trying local.\n",
sid_to_string(sid_str, psid) ));
- return local_sid_to_gid(psid, pgid, sidtype);
+ return local_sid_to_gid(pgid, psid, sidtype);
}
/*
@@ -394,7 +394,7 @@ BOOL sid_to_gid(DOM_SID *psid, gid_t *pgid, enum SID_NAME_USE *sidtype)
DEBUG(10,("sid_to_gid: winbind lookup succeeded but SID is not a know group (%u)\n",
(unsigned int)name_type ));
- return local_sid_to_gid(psid, pgid, sidtype);
+ return local_sid_to_gid(pgid, psid, sidtype);
}
*sidtype = name_type;