diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 6f991738509..c4479d40aad 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -843,7 +843,7 @@ static NTSTATUS get_guest_info3(TALLOC_CTX *mem_ctx, info3->base.rid = DOMAIN_RID_GUEST; /* Primary gid */ - info3->base.primary_gid = BUILTIN_RID_GUESTS; + info3->base.primary_gid = DOMAIN_RID_GUESTS; /* Set as guest */ info3->base.user_flags = NETLOGON_GUEST;