LDAP and GUESTS trouble

Hi everyone, I’m using docker installation, build 5142. LDAP authentication is working. However, I’d like to allow guests but I do NOT want them to create new rooms.

If I understand it right that is what ENABLE_GUESTS=1 should do. However, if I turn it on, the guest can join a room created by an authenticated user (this is what I want), but the guest can also create a new room (this is NOT what I want).

My .env - the interesting part:

ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=ldap

When I set ENABLE_GUESTS=0 only authenticated users can join room. I assume this is expected behavior.

Any idea how to forbid guests from creating new rooms? And let only LDAP-authenticated users create new rooms at the same time? JWT authentication is not an option.

Thanks