How do i get centos 7 to use uids and gids from active directory?
From the man page of sssd-ad:
By default, the AD provider will map UID and GID values from the objectSID parameter in Active Directory. For details on this, see the "ID MAPPING" section below. If you want to disable ID mapping and instead rely on POSIX attributes defined in Active Directory, you should set ldap_id_mapping = False
SSSD internally uses IDs as uniqueness attribute and changing UIDs is not supported at the moment.
It is expected and required that the database must be removed if ID allocation changes, as it does if you switch from ID mapping to POSIX information or vice versa. Perhaps it's not documented prominently in manual pages -- feel free to file a bug to improve our documentation. Thank you!