Right now, we use the service account specified in [service-account] for two purposes:
If bind-service-account is set to true, a bind request that was authenticated successfully against privacyIDEA will result in a bind request using the service account credentials against the LDAP backend. This makes it possible to perform searches (if allow-searches is also true).
The lookup user mapping strategy uses the service account credentials to look up usernames.
Maybe we should make it possible to use different service account credentials here?
Right now, we use the service account specified in
[service-account]
for two purposes:bind-service-account
is set totrue
, a bind request that was authenticated successfully against privacyIDEA will result in a bind request using the service account credentials against the LDAP backend. This makes it possible to perform searches (ifallow-searches
is alsotrue
).lookup
user mapping strategy uses the service account credentials to look up usernames.Maybe we should make it possible to use different service account credentials here?