{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15905","labels_url":"https://api.github.com/repos/owncloud/core/issues/15905/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15905/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15905/events","html_url":"https://github.com/owncloud/core/issues/15905","id":71523812,"number":15905,"title":"Missing openLDAP users binding with a non-rootDN account with pagination limits","user":{"login":"jvillafanez","id":1477829,"avatar_url":"https://avatars.githubusercontent.com/u/1477829?v=3","gravatar_id":"","url":"https://api.github.com/users/jvillafanez","html_url":"https://github.com/jvillafanez","followers_url":"https://api.github.com/users/jvillafanez/followers","following_url":"https://api.github.com/users/jvillafanez/following{/other_user}","gists_url":"https://api.github.com/users/jvillafanez/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillafanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillafanez/subscriptions","organizations_url":"https://api.github.com/users/jvillafanez/orgs","repos_url":"https://api.github.com/users/jvillafanez/repos","events_url":"https://api.github.com/users/jvillafanez/events{/privacy}","received_events_url":"https://api.github.com/users/jvillafanez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/triage","name":"triage","color":"00FFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":131,"closed_issues":985,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-05-05T07:27:47Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-04-28T08:34:22Z","updated_at":"2015-05-05T08:12:27Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Modify the configuration of the openLDAP server to add pagination support limits in the server\r\n    1. Add the olcRootDN and olcRootPW to /etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif so we can change the configuration\r\n    2. Change the configuration setting the size.pr limit. (Use the username and password set before so the configuration is changed successfully) `ldapmodify -D \"cn=admin,cn=config\" -x -w <password> -f ~/cfg.ldif` where cfg.ldif has the content below.\r\n\r\n        ```\r\n        dn: olcDatabase={1}hdb,cn=config\r\n        changetype: modify\r\n        add: olcLimits\r\n        olcLimits: * size.pr=30\r\n        ```\r\n2. Configure OC to connect to the LDAP server with a normal user, not the admin one (for example uid=aaliyah_adams,ou=people,dc=owncloudqa,dc=com).\r\n3. Check that the paging chunksize in the directory settings is lower than the size.pr configured in the server\r\n4. Go to the users page\r\n\r\n### Expected behaviour\r\nAt least a maximum of 500 users (the default size limit for users is 500) should appear, or all available users (it might not be possible).\r\n\r\n### Actual behaviour\r\nNo user from the LDAP server is shown\r\n\r\n### Server configuration\r\n**Operating system**: ubuntu 14.04\r\n\r\n**Web server:** apache 2.4.7\r\n\r\n**Database:** mysql\r\n\r\n**PHP version:** 5.5.9\r\n\r\n**ownCloud version:** 8.1 alpha 2\r\n\r\n**Updated from an older ownCloud or fresh install:** fresh install\r\n\r\n### Notes\r\nThis issue isn't reproducible if the user is the rootDN account (typically admin) because no limits are applied to that account.\r\n\r\nThe user count is expected (500 even though there are about 1000 users) due to the size limitation in the server.\r\n\r\nIf the OC admin set a paging chucksize greater than the size.pr limit the user count is 0 and no user will appear. This might be acceptable (sue to server limitations) but it would be better if an error message appears warning the user about this."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/98989344","html_url":"https://github.com/owncloud/core/issues/15905#issuecomment-98989344","issue_url":"https://api.github.com/repos/owncloud/core/issues/15905","id":98989344,"user":{"login":"jvillafanez","id":1477829,"avatar_url":"https://avatars.githubusercontent.com/u/1477829?v=3","gravatar_id":"","url":"https://api.github.com/users/jvillafanez","html_url":"https://github.com/jvillafanez","followers_url":"https://api.github.com/users/jvillafanez/followers","following_url":"https://api.github.com/users/jvillafanez/following{/other_user}","gists_url":"https://api.github.com/users/jvillafanez/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillafanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillafanez/subscriptions","organizations_url":"https://api.github.com/users/jvillafanez/orgs","repos_url":"https://api.github.com/users/jvillafanez/repos","events_url":"https://api.github.com/users/jvillafanez/events{/privacy}","received_events_url":"https://api.github.com/users/jvillafanez/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T08:12:27Z","updated_at":"2015-05-05T08:12:27Z","body":"Looks like it was something with the cache. I've rechecked the issue and now it shows 500 users"}}