summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-08-14 07:18:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:50 -0500
commit0b96f54f04237df6045a63c9cd1b9563cd30682a (patch)
treecdaa0c0366ddadb2533cbdc85543f8397581b3cc
parentc5719336dd6fdf7184c6858afb178804fb2ac435 (diff)
downloadsamba-0b96f54f04237df6045a63c9cd1b9563cd30682a.tar.gz
samba-0b96f54f04237df6045a63c9cd1b9563cd30682a.tar.bz2
samba-0b96f54f04237df6045a63c9cd1b9563cd30682a.zip
r24396: Fix a typo.
Thanks to metze (metze@samba.org) for catching this one. (This used to be commit abf631822da6221af187498cde9fe068cd91ee43)
-rw-r--r--source4/winbind/wb_gid2sid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/winbind/wb_gid2sid.c b/source4/winbind/wb_gid2sid.c
index 40fd9b6c35..5c0b87118d 100644
--- a/source4/winbind/wb_gid2sid.c
+++ b/source4/winbind/wb_gid2sid.c
@@ -33,7 +33,7 @@ struct gid2sid_state {
};
struct composite_context *wb_gid2sid_send(TALLOC_CTX *mem_ctx,
- struct wbsrv_service *service, uid_t uid)
+ struct wbsrv_service *service, gid_t gid)
{
struct composite_context *result;
struct gid2sid_state *state;
@@ -51,8 +51,8 @@ struct composite_context *wb_gid2sid_send(TALLOC_CTX *mem_ctx,
state->service = service;
/* FIXME: This is a stub so far.
- * We cheat by just using the uid as RID with the domain SID.*/
- state->sid = dom_sid_add_rid(result, service->primary_sid, uid);
+ * We cheat by just using the gid as RID with the domain SID.*/
+ state->sid = dom_sid_add_rid(result, service->primary_sid, gid);
if (composite_nomem(state->sid, state->ctx)) return result;
composite_done(state->ctx);