Could not authorize you from Ldapmain because "Un


Could not authorize you from Ldapmain because "Undefined method `provider' for nil:nilclass".

gitlab接入LDAP登陆,出现如上错误。

我的gitlab版本gitlab-7.6.2_omnibus.5.3.0.ci.1-1.el6.x86_64
版本太低,升级到 gitlab-ce-7.12.2~omnibus.1-1.x86_64.rpm就没有问题了。

转载于:https://blog.51cto.com/ipcpu/2393929

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
回答: 出现这个错误的原因可能是身份验证失败。根据引用提到的错误信息,报错是" Incorrect username or password (access token)",说明输入的用户名或密码不正确。你可以确认一下你输入的用户名和密码是否正确。如果你使用的是访问令牌(access token)进行身份验证,也需要确认令牌是否有效。另外,还可以尝试使用SSH密钥进行身份验证,参考引用中提到的添加SSH公钥和连接远程库的操作。如果以上方法仍然无法解决问题,可以检查网络连接是否正常,或者尝试重新设置远程仓库的URL,参考引用中提到的方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Access denied: 404 not found fatal: Could not read from remote repository.](https://blog.csdn.net/qq_36934489/article/details/120165812)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [git 连接gitee时报错 Auth error: Access deined: authorize ... fatal: Could not read from remote repos](https://blog.csdn.net/weixin_46624670/article/details/122162396)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值