Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing dupli...
[nivanova/samba-autobuild/.git] / source3 / winbindd / winbindd_dual_srv.c
index f7de6cbb95ab2f2d01e74c8072e2c6b5f0f7828e..f5d86471e312185562d7a226caf82a2a757014b6 100644 (file)
@@ -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;