From 3689163202a8f01fa4a87199eb3fdaf71b36d05f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 27 Jul 2010 10:05:16 +0200 Subject: [PATCH] s3: Fix bug 7578 --- source3/winbindd/winbindd_dual_srv.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index b247d5a..9fef780 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -610,12 +610,12 @@ NTSTATUS _wbint_SetHWM(pipes_struct *p, struct wbint_SetHWM *r) id.id = r->in.id; - switch (id.type) { + switch (r->in.type) { case WBINT_ID_TYPE_UID: id.type = ID_TYPE_UID; status = idmap_set_uid_hwm(&id); break; - case ID_TYPE_GID: + case WBINT_ID_TYPE_GID: id.type = ID_TYPE_GID; status = idmap_set_gid_hwm(&id); break; -- 1.7.0.4