summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-27 00:23:37 -0700
committerJeremy Allison <jra@samba.org>2010-07-27 00:23:37 -0700
commitcc43f985d15c128486d945c2c4f1576622ab4374 (patch)
tree8faa55966c236bb6675f6bd8509d4cfa6e155b26
parentcf38e8d8222aa1000bcf1022692011a993984df4 (diff)
downloadsamba-cc43f985d15c128486d945c2c4f1576622ab4374.tar.gz
samba-cc43f985d15c128486d945c2c4f1576622ab4374.tar.bz2
samba-cc43f985d15c128486d945c2c4f1576622ab4374.zip
Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing duplicates.
Jeremy.
-rw-r--r--source3/winbindd/winbindd_dual_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index f7de6cbb95..f5d86471e3 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -617,7 +617,7 @@ NTSTATUS _wbint_SetHWM(pipes_struct *p, struct wbint_SetHWM *r)
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;