@cli.register_custom_action('<STR_LIT>', ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'))<EOL><INDENT>@exc.on_http_error(exc.GitlabCreateError)<EOL>def add_ldap_group_link(self, cn, group_access, provider, **kwargs):<DEDENT>
path = '<STR_LIT>' % self.get_id()<EOL>data = {'<STR_LIT>': cn, '<STR_LIT>': group_access, '<STR_LIT>': provider}<EOL>self.manager.gitlab.http_post(path, post_data=data, **kwargs)<EOL>
Add an LDAP group link.

        Args:
            cn (str): CN of the LDAP group
            group_access (int): Minimum access level for members of the LDAP
                group
            provider (str): LDAP provider for the LDAP group
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabCreateError: If the server cannot perform the request