Hi Ronald

Look at the "Attribute Editor" tab against a user account in "Active Directory users and computers." It should be in the list there (uidNumber) amongst other useful things.

I'm no Microsoft administrator but am aware that this "Attribute Editor" tab is not listed if you search for the user; rather you have to browse to the user through the tree.

Regards
Angus


From: Ronald Wimmer via FreeIPA-users <freeipa-users@lists.fedorahosted.org>
Sent: Saturday, October 3, 2020 8:31:35 AM
To: Simo Sorce via FreeIPA-users <freeipa-users@lists.fedorahosted.org>
Cc: Ronald Wimmer <ronaldw@ronzo.at>
Subject: [Freeipa-users] Re: POSIX ids of all AD users
 
On 02.10.20 16:03, Simo Sorce via FreeIPA-users wrote:
> On Fri, 2020-10-02 at 12:27 +0200, Ronald Wimmer via FreeIPA-users
> wrote:
>> How could I possibly find the POSIX ids of all mapped Active Directory
>> users?
>>
>> I do neither see them in LDAP nor do I find them with IPA user find.
> They are in AD, query AD please.
>
> The only other option is to use a command like: id <username>, but that
> requires knowledge of each AD username you care for.
>
> Keep in mind IPA is not a caching LDAP server, that's not its role, its
> role is to provide the means to establish a point of trust between the
> two worlds, so that AD clients can use services hosted in the IPA
> domain servers.

Before reading your answer I always thought that IPA holds a unique UID
for each user. I was not aware that they could be found in AD. But where
in AD? What do I need to query for? When I take a look at my user in AD
i cannot find the UID attribute anywhere.

Cheers,
Ronald
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fedoraproject.org%2Fen-US%2Fproject%2Fcode-of-conduct%2F&amp;data=02%7C01%7C%7C660e108c8fc848b3c30008d86766121a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637373035384689909&amp;sdata=E7jpcbw19BgJypo7DO%2FAPBjeO3%2ByYFyFGn7KNHo3wBg%3D&amp;reserved=0
List Guidelines: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FMailing_list_guidelines&amp;data=02%7C01%7C%7C660e108c8fc848b3c30008d86766121a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637373035384699904&amp;sdata=%2BUjasGtKypIFd%2BrtN4XBhjUJvHs%2FfHwhfk3k%2BR1DK9I%3D&amp;reserved=0
List Archives: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.fedorahosted.org%2Farchives%2Flist%2Ffreeipa-users%40lists.fedorahosted.org&amp;data=02%7C01%7C%7C660e108c8fc848b3c30008d86766121a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637373035384699904&amp;sdata=utXOj09jKFR43pybkgSDoTlgpsugD0u2gnUXfwovT3A%3D&amp;reserved=0