max_gid must be always defined