We are new to using the E10 edtion, for Academic purposes, and use our LDAP for authentication.
With potentially thousands of students, we want to automate the creation of teams by their courses, and then add the users to their appropriate course teams. Of course we’ll also remove them if they drop the course. We’re using the Go API (client4) to do this. I’ve managed to create the teams if they don’t exist (I’d love to be able to delete it using the API too… especially during development since mistakes happen, but that’s another topic) and now I’m trying to create the users, then add them to their teams (or remove them). But, since password is a required field when creating a user, and since it requires at least 5 characters, and since we’re using LDAP for authentication (so I don’t know and nor do I want to know their passwords), I’m a bit unsure what to do now. I’ve got the code in place to create the users with fake generated-and-complex passwords with the idea that since we’re using LDAP for authentication, the password in the Mattermost user record doesn’t really matter anyway. Does this sound like a reasonable approach? Any pitfalls?