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