gitlab

Could not authenticate you from Ldapmain because “Invalid credentials for user.name”

孤街醉人 提交于 2019-12-22 17:07:28
问题 I use debian 9 gitlab-ce 11.10.4-ce.0 omnibus install via apt openldap 2.4.44 ldap configuration Configured /etc/ldap/ldap.conf : BASE dc=serverX,dc=lan URI ldap://serverX.lan TLS_CACERT /etc/ssl/certs/ca-certificates.crt Configured /etc/gitlab/gitlab.rb : gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-EOS label: 'Gitlab LDAP' host: '10.0.0.1' port: 389 uid: 'sAMAccountName' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: 'cn=admin,ou=users,dc=serverX,dc

Could not authenticate you from Ldapmain because “Invalid credentials for user.name”

故事扮演 提交于 2019-12-22 17:07:11
问题 I use debian 9 gitlab-ce 11.10.4-ce.0 omnibus install via apt openldap 2.4.44 ldap configuration Configured /etc/ldap/ldap.conf : BASE dc=serverX,dc=lan URI ldap://serverX.lan TLS_CACERT /etc/ssl/certs/ca-certificates.crt Configured /etc/gitlab/gitlab.rb : gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-EOS label: 'Gitlab LDAP' host: '10.0.0.1' port: 389 uid: 'sAMAccountName' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: 'cn=admin,ou=users,dc=serverX,dc

Gitlab Pages custom domain SSL

江枫思渺然 提交于 2019-12-22 14:38:33
问题 I'm trying to add TLS/SSL to my custom domain on Gitlab. Currently it says my site is available at https://yodel.co, but when I go there it says the certificate is invalid. How do I go about validating the certificate? In the docs (also pictured) it says there are keys to add from your admin when setting up a new domain. However I'm not sure where to get these keys as I am the admin. My Gitlab Pages Gitlab docs screenshot 回答1: You can simplify, 3 years later, your process by using GitLab 12.1

Gitlab LDAP Authentication

拥有回忆 提交于 2019-12-22 14:06:36
问题 I have a Gitlab server installed somewhere, and I am trying to get it working for my AD users. I have the following configuration: label: 'LDAP' host: 'myserver.com' port: 389 #uid: '' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: '' #password: '' active_directory: true allow_username_or_email_login: true block_auto_created_users: false base: '' user_filter: '' ## EE only group_base: '' admin_group: '' sync_ssh_keys: false But I can not login with provided settings. I am not very

504 gateway timeout on GitLab HTTP URLs

纵然是瞬间 提交于 2019-12-22 12:54:26
问题 I have installed GitLab 6.0 on a linux box and created a number of projects. I can create a local clone of each project using the SSH URL, but when I try to use the HTTP URL I get a 504 Gateway Timeout within seconds . When I paste the HTTP URL into SourceTree it says "Checking source" for a second or so, then "This is not a valid source path / URL". When I click on "Details..." it says: The requested URL returned error: 504 while accessing http://myserver/group/project.git/info/refs Git Gui

Don't work ssh in GitLab

倾然丶 夕夏残阳落幕 提交于 2019-12-22 11:35:13
问题 In my one PC command ssh -T git@github.lcl.loc work and output Welcome to GitLab, Anonymous! . But in my two PC command output $ ssh -vT git@github.lcl.loc OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Connecting to github.lcl.loc [192.168.1.104] port 22. debug1: Connection established. debug1: identity file /c/Documents and Settings/n.nozdrin-plotnickij.LCL/.ssh/id entity type -1 debug1: identity file /c/Documents and Settings/n.nozdrin-plotnickij.LCL/.ssh/id _rsa type 1 debug1: identity

Gitlab Rack Attack Insallation

亡梦爱人 提交于 2019-12-22 10:38:52
问题 I was installing gitlab and followed all the instructions of the installation guide of Gitlab. Everything works fine but then at Step "Initialize Database and Activate Advanced Features" it failed! https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md I got this error Message. rake aborted! uninitialized constant Rack::Attack /home/git/gitlab/config/application.rb:82:in `<class:Application>' /home/git/gitlab/config/application.rb:13:in `<module:Gitlab>' /home/git/gitlab

ssh connection timed out

自作多情 提交于 2019-12-22 10:17:44
问题 I am not able to ssh in git to github or bitbucket or gitlab. I typically have the following error message: how can I avoid it? ========== output ============ ssh -T git@github.com -i ~/.ssh/id_rsa -v OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to github.com [192.30.255.113] port 22. debug1: connect to address 192.30.255.113 port 22: Connection

how to get push info from gitlab hooks with .NET

徘徊边缘 提交于 2019-12-22 10:06:21
问题 I need to write a website to display our team's push info. Now I meet a problem that how to get info form gitlab? 回答1: the type of push infomation is JSON, and what you need to do is to add a URL hook to gitlab,and the url is your API's address. just like: and then ,click test button to check you API following is my push_events API, : public int PushEventInfo([FromBody]PushEvent push) { bool flag = true; ProjectController project = new ProjectController(); List<string> projectName = new List

remote: ImportError: No module named gitlab

本小妞迷上赌 提交于 2019-12-22 09:47:34
问题 I wrote gitlab hook with python. And added to post-receive hooks in gitlab server. When i push to remote origin server from my laptop, i get following error. But it works when i run script manually in gitlab server. How can i solve problem? Counting objects: 3, done. Writing objects: 100% (3/3), 240 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: Traceback (most recent call last): remote: File "push.py", line 4, in <module> remote: import gitlab remote: ImportError: No