Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ad: use sAMAccountName to lookup hosts
To determine which GPOs apply to the host running SSSD the full DN of the host object in AD is needed. To fine this object we use the NetBIOS name of the host which is stored in AD in the sAMAccountName attribute. Using other attributes, e.g. if ldap_user_name is set to a different attribute, will most probably cause a failure since those attributes are not managed as expected for host object. As a result sAMAccountName should be hardcoded here to avoid issues. Resolves: #6766 Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Reviewed-by: Justin Stephenson <jstephen@redhat.com> (cherry picked from commit 67c11c2) Reviewed-by: Tomáš Halman <thalman@redhat.com>
- Loading branch information