nextcloud / polls

🗳️ Polls app for Nextcloud
https://apps.nextcloud.com/apps/polls
GNU Affero General Public License v3.0
256 stars 73 forks source link

When nextcloud user are renamed, polls don't see renamed users anymore #3693

Open nicovd737 opened 2 months ago

nicovd737 commented 2 months ago

⚠️ This issue respects the following points: ⚠️

What went wrong, what did you observe?

We change some user names following typo errors on nextcloud. Everything is fine and all apps (files, forms, meetings, ...) but with polls app, users can't be found anymore in share options.

What did you expect, how polls should behave instead?

Find users to invit them in polls

What steps does it need to replay this bug?

  1. Rename a user in nextcloud
  2. Create a new poll
  3. Search for the renamed user in share option to invit him

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)

Affected polls version

7.2.1

Which browser did you use, when experiencing the bug?

Other browser

No response

Add your browser log here

{"reqId":"xsgeq94SKBC5S7oM8F5U","level":3,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"index","method":"GET","url":"/apps/polls/search/users/grivaz","message":"User not found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","exception":{"Exception":"OCA\\Polls\\Exceptions\\UserNotFoundException","Message":"User not found","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/polls/lib/Service/SystemService.php","line":102,"function":"getUserFromUserBase","class":"OCA\\Polls\\Db\\UserMapper","type":"->"},{"file":"/var/www/html/custom_apps/polls/lib/Service/SystemService.php","line":73,"function":"search","class":"OCA\\Polls\\Service\\SystemService","type":"->"},{"file":"/var/www/html/custom_apps/polls/lib/Controller/SystemController.php","line":35,"function":"getSiteUsersAndGroups","class":"OCA\\Polls\\Service\\SystemService","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"userSearch","class":"OCA\\Polls\\Controller\\SystemController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/custom_apps/polls/lib/Db/UserMapper.php","Line":107,"message":"User not found","exception":{},"CustomMessage":"User not found"}}

Additional client environment information

No response

NC version

Nextcloud 28

Other Nextcloud version

No response

PHP engine version

PHP 8.3

Other PHP version

No response

Database engine

MariaDB

Database Engine version or other Database

No response

Which user-backends are you using?

Add your nextcloud server log here

{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_saml","method":"GET","url":"/apps/polls/search/users/grivaz","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_saml"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"Nicolas.Bour\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: Options: search grivaz limit 200 offset 0 Filter: (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_connect with parameters [\"ldap:\\/\\/paydc02.payerne.local:389\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},17,3]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},8,0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},20485,\"15\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_bind with parameters [{},\"cn=Administrateur,cn=Users,dc=Payerne,dc=local\",\"***REMOVED SENSITIVE VALUE***\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"initializing paged search for filter (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*))), base dc=Payerne,dc=local, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"], pageSize 200, offset 0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_search with parameters [{},\"dc=Payerne,dc=local\",\"(&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))\",[\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"],0,0,-1,0,[{\"oid\":\"1.2.840.113556.1.4.319\",\"value\":{\"size\":200,\"cookie\":\"\"},\"iscritical\":false}]]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_errno with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_get_entries with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_parse_result with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"Ghyslaine.Grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"philippe.grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: 2 Users found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: Options: search grivaz limit 200 offset 0 Filter: (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_connect with parameters [\"ldap:\\/\\/paydc04.payerne.local:389\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},17,3]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},8,0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},20485,\"15\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_bind with parameters [{},\"cn=Administrateur,cn=Users,dc=Payerne,dc=local\",\"***REMOVED SENSITIVE VALUE***\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"initializing paged search for filter (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*))), base dc=Payerne,dc=local, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"], pageSize 200, offset 0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_search with parameters [{},\"dc=Payerne,dc=local\",\"(&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))\",[\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"],0,0,-1,0,[{\"oid\":\"1.2.840.113556.1.4.319\",\"value\":{\"size\":200,\"cookie\":\"\"},\"iscritical\":false}]]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_errno with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_get_entries with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_parse_result with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"Ghyslaine.Grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"philippe.grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: 2 Users found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: Options: search grivaz limit 200 offset 0 Filter: (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_connect with parameters [\"ldap:\\/\\/paydc01.payerne.local:389\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},17,3]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},8,0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_set_option with parameters [{},20485,\"15\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_bind with parameters [{},\"cn=Administrateur,cn=Users,dc=Payerne,dc=local\",\"***REMOVED SENSITIVE VALUE***\"]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"initializing paged search for filter (&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*))), base dc=Payerne,dc=local, attr [\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"], pageSize 200, offset 0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Ready for a paged search","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_search with parameters [{},\"dc=Payerne,dc=local\",\"(&(&(|(objectclass=person))(|(|(memberof=CN=Utilisa. du domaine,CN=Users,DC=Payerne,DC=local)(primaryGroupID=513))))(displayname=*)(|(displayname=grivaz)(displayname=grivaz*)))\",[\"entryuuid\",\"nsuniqueid\",\"objectguid\",\"guid\",\"ipauniqueid\",\"dn\",\"uid\",\"samaccountname\",\"memberof\",\"mail\",\"displayname\"],0,0,-1,0,[{\"oid\":\"1.2.840.113556.1.4.319\",\"value\":{\"size\":200,\"cookie\":\"\"},\"iscritical\":false}]]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_errno with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_get_entries with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_parse_result with parameters [{},{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"Ghyslaine.Grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"philippe.grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"getUsers: 2 Users found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"No DN found for grivaz on paydc02.payerne.local","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"No DN found for grivaz on paydc04.payerne.local","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_explode_dn with parameters [\"grivaz\",0]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"No DN found for grivaz on paydc01.payerne.local","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":1,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"polls","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Only first 200 matches will be returned.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"polls"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":3,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"index","method":"GET","url":"/apps/polls/search/users/grivaz","message":"User not found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","exception":{"Exception":"OCA\\Polls\\Exceptions\\UserNotFoundException","Message":"User not found","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/polls/lib/Service/SystemService.php","line":102,"function":"getUserFromUserBase","class":"OCA\\Polls\\Db\\UserMapper","type":"->"},{"file":"/var/www/html/custom_apps/polls/lib/Service/SystemService.php","line":73,"function":"search","class":"OCA\\Polls\\Service\\SystemService","type":"->"},{"file":"/var/www/html/custom_apps/polls/lib/Controller/SystemController.php","line":35,"function":"getSiteUsersAndGroups","class":"OCA\\Polls\\Service\\SystemService","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"userSearch","class":"OCA\\Polls\\Controller\\SystemController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/custom_apps/polls/lib/Db/UserMapper.php","Line":107,"message":"User not found","exception":{},"CustomMessage":"User not found"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_unbind with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_unbind with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}
{"reqId":"xsgeq94SKBC5S7oM8F5U","level":0,"time":"2024-09-05T12:06:58+02:00","remoteAddr":"10.203.0.55","user":"Nicolas.Bour","app":"user_ldap","method":"GET","url":"/apps/polls/search/users/grivaz","message":"Calling LDAP function ldap_unbind with parameters [{}]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"28.0.8.1","data":{"app":"user_ldap"}}

Additional environment informations

No response

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.payerne.swiss"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.8.1",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "3306",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "NTLM",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "10587",
        "default_phone_region": "CH",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.payerne.swiss",
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [
            "admin",
            "SDIS"
        ],
        "twofactor_enforced_excluded_groups": [],
        "mysql.utf8mb4": true,
        "app_install_overwrite": [
            "spreed",
            "twofactor_rcdevsopenotp",
            "occweb",
            "mindmap_app",
            "drawio",
            "officeonline",
            "files_mindmap",
            "openotp_auth",
            "impersonate",
            "integration_moodle",
            "talk_matterbridge",
            "files_downloadactivity",
            "imageconverter",
            "emlviewer"
        ],
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "data-fingerprint": "550994713cc295254572150adaf2b32c",
        "logtimezone": "CEST",
        "mail_sendmailmode": "smtp",
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "simpleSignUpLink.shown": false,
        "memories.db.triggers.fcu": true,
        "maintenance_window_start": 1
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - announcementcenter: 6.8.1
  - audioplayer: 3.4.1
  - bruteforcesettings: 2.8.0
  - cadviewer: 10.7.6
  - calendar: 4.7.16
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - collectives: 2.14.2
  - comments: 1.18.0
  - contacts: 5.5.3
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.2
  - deck: 1.12.4
  - drawio: 3.0.2
  - external: 5.3.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_accesscontrol: 1.18.1
  - files_automatedtagging: 1.18.0
  - files_downloadactivity: 1.17.0
  - files_external: 1.20.0
  - files_fulltextsearch: 28.0.1
  - files_mindmap: 0.0.30
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_retention: 1.17.2
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - forms: 4.2.4
  - geoblocker: 0.5.14
  - groupfolders: 16.0.8
  - imageconverter: 2.0.1
  - impersonate: 1.15.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail: 3.7.8
  - memories: 7.3.1
  - nextcloud_announcements: 1.17.0
  - notes: 4.10.1
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - officeonline: 2.2.1
  - openotp_auth: 1.28.1
  - passman: 2.4.9
  - password_policy: 1.18.0
  - photos: 2.4.0
  - polls: 7.2.1
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - side_menu: 3.13.1
  - smb_test: 0.3.10
  - spreed: 18.0.11
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - tasks: 0.16.1
  - text: 3.9.2
  - theming: 2.3.0
  - theming_customcss: 1.17.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_nextcloud_notification: 3.10.0
  - updatenotification: 1.18.0
  - user_ldap: 1.19.0
  - user_saml: 6.2.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0

Nextcloud Signing status

No errors have been found.

Additional Information

No response

nicovd737 commented 2 months ago

I found some commands by looking in the code:

| polls:db:rebuild | Rebuild Polls' database including indices | | polls:index:create | Create all necessary indices and foreign key constraints |

Could this can solve my issue ? If i run a rebuild operation, it ask me for a backup before running but is it a full nextcloud db backup ? If yes, which tables should i restore in case of trouble ?

Or i am on the wrong way ?

dartcafe commented 1 month ago

I found some commands by looking in the code:

The commands will not help here.

nicovd737 commented 1 month ago

ok thanks. So any idea of what is the issue or to solve it ? Thanks

dartcafe commented 1 month ago

Not yet. I need to understand the issue first.

Renaming of users (at least, if only the displayname is changed) should have no effect on access. Only the username (the userId) is relevant.

You can help by descibing your observation more detailed:

Just wanted to keep you from doing things, which will not help and added this quick answer.

dartcafe commented 1 month ago

@come-nc Maybe you have an idea. In the past there were aleady some problems by searching users, when an LDAP is in play.

To search for users, I actually just call a core function ISearch::search().

https://github.com/nextcloud/polls/blob/2d7c6c7b842d083a79c11b2aca85b3ff58b94298/lib/Service/SystemService.php#L93-L95

nicovd737 commented 1 month ago

Hello, Thanks for your reply. The ID was changed also not only the username. Just to be more clear, as an exemple, we had a user named john.who and the user told us that there was an error in the name and it james.who instead. So both the username and the ID were updated, because we are using SAML so we need to have same configuration between AD and Nextcloud otherwise SAML will not work. But that's another subjet :-) All other apps (form, file sharing, meetings,...) works with no problem (after user renaming) for user search except poll. Don't know if it helps.

dartcafe commented 1 month ago

Thanks for the good explanation. I am wondering, how the id change is tracked inside Nextcloud, so that user properties get updated. At least Polls has not such a function.

But this explains your observation. Polls stores the user by its user id (which is the only and unique identifier of an authenticated user). If a user now enters a poll with a different user id, he can't be recognized, since Polls does not know anything about the changed user id.

To stay in your example, the owner of a poll, an option and a vote or the sharee of a share ist still john.who. james.who is totally another user.

come-nc commented 1 month ago

@nicovd737 There is no such thing as userid renaming supported by Nextcloud.

How do you do the renaming? On SAML side only or do you mess with Nextcloud database?

If the userid changes on SAML side I think Nextcloud will map it to a new user.

nicovd737 commented 1 month ago

Hello,

After updating to release 7.2.2, we can invite people again by writing the complet mail (was not possible before). We were force the rename users on database level. We first renamed on AD side but nextcloud did not update ...

dartcafe commented 1 month ago

So, I don't know much of the AD implementation, but I would say, if you rename the user id on database level, the link is possibly broken. Polls as an app has no chance, to get aware of the changed user id.

I tend to close this issue.

nicovd737 commented 1 month ago

Hello.

Problem for me is that all other nextcloud app did detect the username change. Only polls is not working.

That's a real issue for me.

Thanks for your help.

Nico

Le dim. 29 sept. 2024, 11:30, René Gieling @.***> a écrit :

So, I don't know much of the AD implementation, but I would say, if you rename the user id on database level, the link is possibly broken. Polls as an app has no chance, to get aware of the changed user id.

I tend to close this issue.

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/polls/issues/3693#issuecomment-2381282386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3NTYRDDN4R76IX3CEMZ23ZY7CCXAVCNFSM6AAAAABNWEXEH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGI4DEMZYGY . You are receiving this because you were mentioned.Message ID: @.***>

dartcafe commented 1 month ago

I understand your problem. But I can't offer a solution. The search asks the Nextcloud server backend for names, that match the desired search string. In this case it uses a function provided by the server.

If the searched user is not returned, there is nothing what can be done in Polls.

The only chance to get behind this problem is by getting support of the Nextcloud team.

@come-nc Any idea, what the difference could be between Poll's strategy of searching users and this of the other apps?

This is the search call:

https://github.com/nextcloud/polls/blob/e35f823139371095c1e79abc51e01ffa27319162/lib/Service/SystemService.php#L94-L95

come-nc commented 1 month ago

It’s the first time I hear about OCP\Collaboration\Collaborators\ISearch. Maybe the other apps use the IUserManager instead directly to get the users.

But an instance where user ids are messed like that will have tons of trouble, you should not try to make polls work in that situation, it will never perfectly work.