Question about the AD/LDAP integration
-
@privsec No no no. It should not be. Make your initial admin account have an email like admin@local.com (doesn't need to be real) and ensure it has a username that does not match any account pulled in VIA LDAP
-
@atrilahiji said in Question about the AD/LDAP integration:
It tries to map the email and can't because theres a duplicate
Yup, exactly. I actually put the message in the post install dialog but it's easy to miss it. You can also see this text in the top right of the app configure view. In the drop down select, First time setup instructions.
Here it is again:Please follow the following guidelines to complete the Rocket.Chat admin setup: * Use `admin` as the admin username in Rocket.Chat. This will avoid any conflict with Cloudron usernames. * Use an email address that is different from the Cloudron primary email. This will avoid any conflict with Cloudron email ids.
-
@atrilahiji Then it is set up correctly.
My admin account is not tied to any real account in cloudron and the email is tied to email account that was created specifically for this app. -
@privsec The cloudron email server and the user email ids are totally separate things (i.e Cloudron LDAP integration point of view). The mailboxes is just local to the Cloudron Email and is not part of the LDAP directory and thus apps have no idea about it.
The email id that apps know about is the one in the Users page. Users can also change this email in their profile page.
This doesn't answer why you are unable to login as
testuser
though. I am not sure what is happening, can you send us an email on support@cloudron.io, so we can look into this? Our own rocket.chat instance seems to be working fine. I also tried a new local instance and that too works fine. -