Revert "TODO make sure the gid doesn't belong to a user s3:passdb: return ID_TYPE_BOT...
authorStefan Metzmacher <metze@samba.org>
Mon, 3 Dec 2012 07:28:26 +0000 (08:28 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 13 Aug 2018 14:19:42 +0000 (16:19 +0200)
This reverts commit affad381e7baff28550f5097711235e3ca041596.

source3/passdb/pdb_interface.c

index d97a463cfcfca92373658442f98ee514057857d7..7fdc33c4fa75f58f2621849b2e0506689674abe3 100644 (file)
@@ -1571,7 +1571,7 @@ static bool pdb_default_sid_to_id(struct pdb_methods *methods,
                }
 
                id->id = map->gid;
-               id->type = ID_TYPE_BOTH;
+               id->type = ID_TYPE_GID;
                ret = True;
                goto done;
        }