{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/harbor/issues/5404","repository_url":"https://api.github.com/repos/vmware/harbor","labels_url":"https://api.github.com/repos/vmware/harbor/issues/5404/labels{/name}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/5404/comments","events_url":"https://api.github.com/repos/vmware/harbor/issues/5404/events","html_url":"https://github.com/vmware/harbor/issues/5404","id":344811029,"node_id":"MDU6SXNzdWUzNDQ4MTEwMjk=","number":5404,"title":"Harbor and LDAP integration","user":{"login":"mramanathan","id":4449217,"node_id":"MDQ6VXNlcjQ0NDkyMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/4449217?v=4","gravatar_id":"","url":"https://api.github.com/users/mramanathan","html_url":"https://github.com/mramanathan","followers_url":"https://api.github.com/users/mramanathan/followers","following_url":"https://api.github.com/users/mramanathan/following{/other_user}","gists_url":"https://api.github.com/users/mramanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/mramanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mramanathan/subscriptions","organizations_url":"https://api.github.com/users/mramanathan/orgs","repos_url":"https://api.github.com/users/mramanathan/repos","events_url":"https://api.github.com/users/mramanathan/events{/privacy}","received_events_url":"https://api.github.com/users/mramanathan/received_events","type":"User","site_admin":false},"labels":[{"id":545863506,"node_id":"MDU6TGFiZWw1NDU4NjM1MDY=","url":"https://api.github.com/repos/vmware/harbor/labels/area/ldap","name":"area/ldap","color":"0e8a16","default":false},{"id":318193286,"node_id":"MDU6TGFiZWwzMTgxOTMyODY=","url":"https://api.github.com/repos/vmware/harbor/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":{"login":"stonezdj","id":2696760,"node_id":"MDQ6VXNlcjI2OTY3NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/2696760?v=4","gravatar_id":"","url":"https://api.github.com/users/stonezdj","html_url":"https://github.com/stonezdj","followers_url":"https://api.github.com/users/stonezdj/followers","following_url":"https://api.github.com/users/stonezdj/following{/other_user}","gists_url":"https://api.github.com/users/stonezdj/gists{/gist_id}","starred_url":"https://api.github.com/users/stonezdj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonezdj/subscriptions","organizations_url":"https://api.github.com/users/stonezdj/orgs","repos_url":"https://api.github.com/users/stonezdj/repos","events_url":"https://api.github.com/users/stonezdj/events{/privacy}","received_events_url":"https://api.github.com/users/stonezdj/received_events","type":"User","site_admin":false},"assignees":[{"login":"stonezdj","id":2696760,"node_id":"MDQ6VXNlcjI2OTY3NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/2696760?v=4","gravatar_id":"","url":"https://api.github.com/users/stonezdj","html_url":"https://github.com/stonezdj","followers_url":"https://api.github.com/users/stonezdj/followers","following_url":"https://api.github.com/users/stonezdj/following{/other_user}","gists_url":"https://api.github.com/users/stonezdj/gists{/gist_id}","starred_url":"https://api.github.com/users/stonezdj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonezdj/subscriptions","organizations_url":"https://api.github.com/users/stonezdj/orgs","repos_url":"https://api.github.com/users/stonezdj/repos","events_url":"https://api.github.com/users/stonezdj/events{/privacy}","received_events_url":"https://api.github.com/users/stonezdj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-26T11:49:42Z","updated_at":"2018-08-01T09:30:27Z","closed_at":null,"author_association":"NONE","body":"Am not reporting any issue but seeking inputs on configuring LDAP in Harbor (fresh setup).\r\n\r\n1) Frankly, there are too many related fields in `harbor.cfg` that's baffling me - not sure what is must (with the exception of ldap url) and what can be left as is ?\r\n\r\n2) I will be installing binding Harbor v1.5.0 with enterprise AD -- so, in this scenario, what fields / values are mandatory and what can be skipped ?"},"comment":{"url":"https://api.github.com/repos/vmware/harbor/issues/comments/409513493","html_url":"https://github.com/vmware/harbor/issues/5404#issuecomment-409513493","issue_url":"https://api.github.com/repos/vmware/harbor/issues/5404","id":409513493,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTUxMzQ5Mw==","user":{"login":"mramanathan","id":4449217,"node_id":"MDQ6VXNlcjQ0NDkyMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/4449217?v=4","gravatar_id":"","url":"https://api.github.com/users/mramanathan","html_url":"https://github.com/mramanathan","followers_url":"https://api.github.com/users/mramanathan/followers","following_url":"https://api.github.com/users/mramanathan/following{/other_user}","gists_url":"https://api.github.com/users/mramanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/mramanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mramanathan/subscriptions","organizations_url":"https://api.github.com/users/mramanathan/orgs","repos_url":"https://api.github.com/users/mramanathan/repos","events_url":"https://api.github.com/users/mramanathan/events{/privacy}","received_events_url":"https://api.github.com/users/mramanathan/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T09:30:27Z","updated_at":"2018-08-01T09:30:27Z","author_association":"NONE","body":"So, I decided to bite the bullet and setup LDAP. Changed two parameters in `harbor.cfg` and followed the steps to restart containers after re-running `prepare`.\r\n\r\nInitial observations are:\r\n\r\n1. I cannot use AD login creds to access Harbor.\r\n\r\n2. I can use default id and password to access Harbor.\r\n\r\n3. In the config section, I see `Auth Mode` is set to `Database` and that field is greyed out.\r\n\r\nAny pointers are welcome."}}
{"actor":{"display_login":"mramanathan"}}