Hi,
I'm not able to reproduce the issue on fedora 35:

# ldapsearch -LLL -H ldap://`hostname`:389 -x -D cn=directory\ manager -w Secret123 -b cn=users,cn=accounts,dc=ipa,dc=test -s sub "(&(objectClass=inetOrgPerson)(uid=testuser1))" uid entryUUID
dn: uid=testuser1,cn=users,cn=accounts,dc=ipa,dc=test
uid: testuser1
entryUUID: a4684457-4497-4fd4-8d71-25c0b667fdeb
# rpm -qa 389-ds-base
389-ds-base-2.0.12-1.fc35.x86_64

Which version of 389-ds-base is installed on your system?
flo


On Sat, Jan 22, 2022 at 10:17 AM Edward Valley via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
Hi there.

I'm using latest FreeIPA available on Rocky Linux 8.5
VERSION: 4.9.6, API_VERSION: 2.245

When I run the following LDAP query:
ldapsearch -H "ldap://idm-host:389" -x -s sub \
    -D "cn=Directory Manager" -w "dm-password" \
    -b "cn=users,cn=accounts,dc=..." \
    '(objectClass=inetOrgPerson)' \
    uid entryUUID

I get the following result: (entryUUID is present)
# user1, users, accounts, ...
dn: uid=user1,cn=users,cn=accounts,dc=...
uid: user1
entryUUID: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee

# user2, users, accounts, ...
dn: uid=user2,cn=users,cn=accounts,dc=...
uid: user2
entryUUID: aaaaaaaa-bbbb-cccc-dddd-ffffffffffff

But, when I use this query:
ldapsearch -H "ldap://idm-host:389" -x -s sub \
    -D "cn=Directory Manager" -w "dm-password" \
    -b "cn=users,cn=accounts,dc=..." \
    '(&(objectClass=inetOrgPerson)(uid=user1))' \
    uid entryUUID

The result is this one: (No entryUUID attribute)
# user1, users, accounts, ...
dn: uid=user1,cn=users,cn=accounts,dc=...
uid: user1

Can somebody please guide me on what's happening here?
If you need more info just tell me.
Thank you very much.
_______________________________________________
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://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure