On 2/22/23 4:14 PM, Patrick Riehecky wrote:
Is there a way to get results in `getent passwd` from a files domain
with enumerate=false?

relevant domain snippet:
[domain/FNAL.GOV]
auth_provider=krb5
id_provider=files
enumerate=false


When I change from `enumerate=false` to `enumerate=true` I get
everything I'd expect from `getent passwd`.

The load time on my enormous file is painful with enumerate=true.

Pat



Are you providing a username to getent like this for user foo?

getent passwd foo

That should give you the passwd file entry for user foo when enumerate=false (and even when it's true!)

The load time on my enormous file is painful with enumerate=true.

That is why enumerate=false is the default for sssd enumerating through every possible value puts a huge load on SSSD, so shouldn't be used at sites with a large number of user accounts.

--
Prentice

_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to