Not a very good suggestion but for me it worked.
- Remove users from any default channels if available.
- Stop the application.
- Login to mongo console with the authenticated user and run the below command:
use rocketchat
switched to db rocketchat
db.users.remove({“ldap”: true});
hope it helps.