If you try to set up LDAP authentication between Cacti and an Active Directory, you may have these errors if you enable “Require Group Membership” in the “LDAP General Settings“.
PM – AUTH LDAP_SEARCH: User found, DN ‘%s’CN=fool,OU=IT Admins,OU=Users,DC=example,DC=com
PM – AUTH LDAP: Setting protocol version to 3
PM – AUTH LDAP: Group DN could not be found to compare
PM – AUTH LOGIN: LDAP Error: Group DN could not be found to compare
As mentioned in the Cacti authentication tab, “Require Group Membership” provides “Require user to be member of group to authenicate. Group settings must be set for this to work, enabling without proper group settings will cause authenication failure.”.
This option is not compulsory. Disabling it will make the authentication process succeed.