Newer
Older
python ldap-mattermost-sync.py --mattermost-gitlab-login_password MattermostGitlabLoginPassword --mattermost-team YourMattermostTeamName --ldap-group YourLdapGroupName
MattermostGitlabLoginPassword uses the following format : login:password This can be used by creating an external account for this purpose only on https://external-account.inria.fr/external_user/index
options :
--mattermost-token (instead of --mattermost-gitlab-login_password): if you want to use an MMAUTHTOKEN taken from a browser instead
--simulate: do not add or invite, juste simulate and give feedback on which account should be added
--invite: invite users when their account doesn't exist yet