You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup the LDAP plugin with the authentik ldap provider. Sadly, I'm failing to configure it correctly. Could you help me find all the correct config values?
Let's assume the fog server can reach the authentik host via an unencrypted connection. Futhermore assume the following setup:
fog search user: fogservice
group for all fog admins: fogadmins
group for all fog users: fogusers
authentik host: authentik.mydomain.com
basedn configured in authentik: OU=fog,DC=mydomain,DC=com
The furthest I got is with username attribute "cn" and group membership attribute "memberOf" which results in a logged error when I try to login with the user fogadmin
Got error 'PHP message: Plugin LDAP::_result(). Search Method: search; Filter: (&(|(name=fogadmin))(memberof=cn=fogadmin,ou=users,ou=fog,dc=mydomain,dc=com,)); Result: 0PHP message: PHP Warning: ldap_search(): Search: Operations error in /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php on line 124PHP message: PHP Fatal error: Uncaught TypeError: ldap_count_entries(): Argument #2 ($result) must be of type LDAP\\Result, bool given in /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php:124\nStack trace:\n#0 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(124): ldap_count_entries()\n#1 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(843): LDAP->__call()\n#2 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(663): LDAP->_result()\n#3 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(559): LDAP->_getAccessLevel()\n#4 /var/www/html/fog/lib/plugins/ldap/hooks/ldappluginhook.hook.php(126): LDAP->authLDAP()\n#5 /var/www/html/fog/lib/fog/hookmanager.class.php(86): LDAPPluginHook->checkAddUser()\n#6 /var/www/html/fog/lib/fog/user.class.php(144): HookManager->processEvent()\n#7 /var/www/html/fog/lib/fog/user.class.php(226): User->passwordValidate()\n#8 /var/www/html/fog/lib/fog/fogbase.class.php(2469): User->validatePw()\n#9 /var/www/html/fog/lib/pages/processlogin.class.php(153): F...', referer: http://10.10.0.12/fog/management/index.php?node=home
The text was updated successfully, but these errors were encountered:
Second I would start with a simpler configuration like a search base of just "DC=mydomain,DC=com" and then make it more fine grained after that root base is working.
Hi!
I'm trying to setup the LDAP plugin with the authentik ldap provider. Sadly, I'm failing to configure it correctly. Could you help me find all the correct config values?
Let's assume the fog server can reach the authentik host via an unencrypted connection. Futhermore assume the following setup:
The furthest I got is with username attribute "cn" and group membership attribute "memberOf" which results in a logged error when I try to login with the user fogadmin
The text was updated successfully, but these errors were encountered: