Hi.
The reason is that 'id_provider = ldap' is used against AD.
Normally 'subdomain_provider' reads required data and sets up id-mapping at startup, but ldap provider doesn't have 'subdomain_provider', so when first lookup is by-id it can't convert id to SID: ``` [users_get_send] (0x0080): [RID#79] [28244723] did not match any configured ID mapping domain ``` and can't handle a request.
You wrote: "until I manually run a "getent" or "id" on any user or group" - I guess those lookups are by-name? I guess this triggers a connection to AD, rootDSE is read and id-mapping is set up.
You can try to set `ldap_idmap_default_domain_sid` and `ldap_idmap_default_domain` to the SID and name of your domain. Hopefully this will create a static mapping at startup.
But in general it's recommended to use 'id_provider = ad' against AD.