munkireport / munkireport-php

A reporting tool for munki
MIT License
392 stars 138 forks source link

Login to MunkiReport with AD users #1538

Closed SamdyPrum closed 9 months ago

SamdyPrum commented 10 months ago

Hi all,

I have a problem that can not log in with AD users after adding configure to .env

AUTH_AD_ACCOUNT_SUFFIX="@my.pseudo.company"
AUTH_AD_BASE_DN="OU=Company Users,DC=my,DC=pseudo,DC=company"
AUTH_AD_HOSTS="dc1.my.pseudo.company,dc2.my.pseudo.company"
AUTH_AD_ALLOWED_USERS=user1
AUTH_AD_ALLOWED_GROUPS=munkireport_admins
AUTH_AD_RECURSIVE_GROUPSEARCH=FALSE

When login it got an error An error occurred while contacting AD

Does anyone have the same problem or can help me

Thank you!!

SamdyPrum commented 9 months ago

The problem is that SE Linux needs to allow httpd_can_connect_ldap >> on