{"action":"created","issue":{"url":"https://api.github.com/repos/georchestra/georchestra/issues/2817","repository_url":"https://api.github.com/repos/georchestra/georchestra","labels_url":"https://api.github.com/repos/georchestra/georchestra/issues/2817/labels{/name}","comments_url":"https://api.github.com/repos/georchestra/georchestra/issues/2817/comments","events_url":"https://api.github.com/repos/georchestra/georchestra/issues/2817/events","html_url":"https://github.com/georchestra/georchestra/issues/2817","id":519345123,"node_id":"MDU6SXNzdWU1MTkzNDUxMjM=","number":2817,"title":"[19.04] CONSOLE - Members of an organization don't show up","user":{"login":"bendeg","id":12762673,"node_id":"MDQ6VXNlcjEyNzYyNjcz","avatar_url":"https://avatars2.githubusercontent.com/u/12762673?v=4","gravatar_id":"","url":"https://api.github.com/users/bendeg","html_url":"https://github.com/bendeg","followers_url":"https://api.github.com/users/bendeg/followers","following_url":"https://api.github.com/users/bendeg/following{/other_user}","gists_url":"https://api.github.com/users/bendeg/gists{/gist_id}","starred_url":"https://api.github.com/users/bendeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendeg/subscriptions","organizations_url":"https://api.github.com/users/bendeg/orgs","repos_url":"https://api.github.com/users/bendeg/repos","events_url":"https://api.github.com/users/bendeg/events{/privacy}","received_events_url":"https://api.github.com/users/bendeg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-11-07T15:40:41Z","updated_at":"2019-11-08T10:27:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**19.04**\r\n\r\n**CONSOLE - Members of an organization don't show up**\r\n\r\nIn console, in Organization tab, though an organization has members, they don't appear in the list of members.\r\n\r\n**Expected behavior**\r\nMembers should appear in the list of members.\r\n\r\nIn the Network tab of FF, one can clearly see that the 3 users members of PSC have been found, but it's like the console would do nothing with it.\r\n\r\n**Screenshots**\r\n![console_orgs_members](https://user-images.githubusercontent.com/12762673/68400989-421ba500-0179-11ea-9772-c96c5df3770e.png)\r\n\r\n\r\n**Additional context**\r\n1) What could be related is that when \"testadmin\" is viewing a user profile, whoever it is, there's by default no organization shown for the user. He can choose one, but none appear when viewing the profile (listbox doesn't show the organization, we have to choose one).\r\n\r\n2) for all user or after adding a user, they can all be seen in LDAP, as well as their membership in their organization. So, on LDAP size, everything looks fine.\r\n\r\n3) When a user is viewing its own profile, he can see the organization he's member of and all other members of the same organization.\r\n\r\n4) I've been advice to check if \"memberOf\" was functionnal and as I don't know how to check that, I've found this : [https://www.adimian.com/blog/2014/10/how-to-enable-memberof-using-openldap/](https://www.adimian.com/blog/2014/10/how-to-enable-memberof-using-openldap/) : I modified to match the setup, all steps work fine but it doesn't change anything.\r\n\r\n5) I can see the module memberof in /usr/lib/ldap/\r\n\r\n6) When using ldap command line, looks like memberOf doesn't seem to work, I should see a second line with \"member of : ...\" : \r\n```\r\nben@georchestra:~$ ldapsearch -x -LLL -H ldap:/// -b uid=testadmin,ou=users,dc=georchestra,dc=org dn memberof\r\ndn: uid=testadmin,ou=users,dc=georchestra,dc=org\r\n```"},"comment":{"url":"https://api.github.com/repos/georchestra/georchestra/issues/comments/551534653","html_url":"https://github.com/georchestra/georchestra/issues/2817#issuecomment-551534653","issue_url":"https://api.github.com/repos/georchestra/georchestra/issues/2817","id":551534653,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MTUzNDY1Mw==","user":{"login":"fvanderbiest","id":265319,"node_id":"MDQ6VXNlcjI2NTMxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/265319?v=4","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"created_at":"2019-11-08T10:27:22Z","updated_at":"2019-11-08T10:27:22Z","author_association":"MEMBER","body":"After shutting down local LDAP server, you can run `docker-compose up` with https://github.com/georchestra/georchestra/blob/19.04/ldap/docker-compose.yml where you replace 10389 port by 389 to bind it to localhost (or change in your datadir the port where geOrchestra expects to find a LDAP service to 10389)"}}
{"actor":{"display_login":"fvanderbiest"}}