SOLVED Users without LDAP
I have an odd one:
Setup users just in EspoCRM, "Regular" (as opposed to "Admin").
Not added as Cloudron LDAP Users.
They can't seem to login when set to "Regular",
They can if set to "Admin", and can't again if set back to "Regular".
Might not be a Cloudron integration thing and me just missing something obvious.
Any experience of or fresh eyes on this?
@marcusquinn yes, can confirm.
There is line in the log (/run/espocrm/logs/espocrm.log) that says as much
LDAP: Authentication failed for user [gaga], details: user is not found.(gaga was my test user).
It seems the behavior is intentional. If you go to Admin -> Authentication, you have to select one or the other. What's interesting is that in the very end of LDAP configuration, you see "Use LDAP Authentication for Portal Users". Which I guess means you can create regular portal users. Just not regular espocrm users.
@girish Ahh, OK, I guess not many people use the LDAP integration as I couldn't see anything on their forum reporting any issue. I'll report on there and see what comes back. Thanks for looking!
@girish Sorry, one question as I'd not tested this. Did you try without and with
gagaadded as a Cloudron User?
As-in, would I solve it by adding all EspoCRM Regular Users as Cloudron Users with permissions for that app?
@marcusquinn I tested by adding
gagainside EspoCRM directly and that doesn't work. If I add
gagaas a Cloudron user and then try to login, it works.
@girish Makes sense now I think about it. Thank you.