{"action":"created","issue":{"url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/135","repository_url":"https://api.github.com/repos/camptocamp/puppet-openldap","labels_url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/135/comments","events_url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/135/events","html_url":"https://github.com/camptocamp/puppet-openldap/issues/135","id":152011855,"number":135,"title":"Error \"already exists\" when setting an access","user":{"login":"lbetz","id":4254253,"avatar_url":"https://avatars.githubusercontent.com/u/4254253?v=3","gravatar_id":"","url":"https://api.github.com/users/lbetz","html_url":"https://github.com/lbetz","followers_url":"https://api.github.com/users/lbetz/followers","following_url":"https://api.github.com/users/lbetz/following{/other_user}","gists_url":"https://api.github.com/users/lbetz/gists{/gist_id}","starred_url":"https://api.github.com/users/lbetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbetz/subscriptions","organizations_url":"https://api.github.com/users/lbetz/orgs","repos_url":"https://api.github.com/users/lbetz/repos","events_url":"https://api.github.com/users/lbetz/events{/privacy}","received_events_url":"https://api.github.com/users/lbetz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-30T05:38:38Z","updated_at":"2016-08-24T08:13:03Z","closed_at":null,"body":"Using an an access rule like\r\n```\r\nopenldap::server::access {\r\n    'to * by group=\"cn=LDAP Read Write,ou=groups,dc=icinga-book,dc=local\" on dc=icinga-book,dc=local':\r\n      access => 'write';\r\n    'to * by group=\"cn=LDAP Read Only,ou=groups,dc=icinga-book,dc=local\" on dc=icinga-book,dc=local':\r\n      access => 'read';\r\n    'to * by * on dc=icinga-book,dc=local':\r\n      access => 'none';\r\n}\r\n```\r\nresults the following error for every access rule:\r\n```\r\nError message: Execution of '/bin/ldapmodify -Y EXTERNAL -H ldapi:/// -f /tmp/openldap_access20160430-10083-182hzxw' returned 20: SASL/EXTERNAL authentication started\r\n==> gmw: SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\r\n==> gmw: SASL SSF: 0\r\n==> gmw: ldap_modify: Type or value exists (20)\r\n==> gmw: \tadditional info: modify/add: olcAccess: value #0 already exists\r\n==> gmw: modifying entry \"olcDatabase={2}hdb,cn=config\"\r\n```"},"comment":{"url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/comments/241989685","html_url":"https://github.com/camptocamp/puppet-openldap/issues/135#issuecomment-241989685","issue_url":"https://api.github.com/repos/camptocamp/puppet-openldap/issues/135","id":241989685,"user":{"login":"mcanevet","id":2950673,"avatar_url":"https://avatars.githubusercontent.com/u/2950673?v=3","gravatar_id":"","url":"https://api.github.com/users/mcanevet","html_url":"https://github.com/mcanevet","followers_url":"https://api.github.com/users/mcanevet/followers","following_url":"https://api.github.com/users/mcanevet/following{/other_user}","gists_url":"https://api.github.com/users/mcanevet/gists{/gist_id}","starred_url":"https://api.github.com/users/mcanevet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcanevet/subscriptions","organizations_url":"https://api.github.com/users/mcanevet/orgs","repos_url":"https://api.github.com/users/mcanevet/repos","events_url":"https://api.github.com/users/mcanevet/events{/privacy}","received_events_url":"https://api.github.com/users/mcanevet/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T08:13:03Z","updated_at":"2016-08-24T08:13:03Z","body":"@lbetz could you please provide an acceptance test that shows the issue?"}}
{"actor":{"display_login":"mcanevet"}}