Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last login date (user:lastseen) does not work for desktop clients #45983

Open
MaxiReglisse opened this issue Jun 19, 2024 · 0 comments
Open

Last login date (user:lastseen) does not work for desktop clients #45983

MaxiReglisse opened this issue Jun 19, 2024 · 0 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement

Comments

@MaxiReglisse
Copy link

The “occ user:lastseen” command only gives the date of the last connection with the Nextcloud web application, and not the date of the last connection with a desktop client. However, some users, and the most intensive ones at that, only use the desktop client!

So how do you manage user accounts correctly, given that basic information systems security rules require unused accounts to be closed?

For example, the “occ user:lastseen” command shows that the user logged in on 14 June…

root@nextcloud:/var/www/nextcloud # sudo -u www-data php /var/www/nextcloud/occ user:lastseen florence.bailly@univ-fcomte.fr
florence.bailly@univ-fcomte.fr's last login: 14.06.2024 07:54

... whereas the Apache2 logs show that her desktop client logged in today, on 18 June! 🤔

/var/log/apache2/access.log:172.20.20.133 - - [18/Jun/2024:14:35:07 +0200] "PROPFIND /remote.php/dav/files/florence.bailly@univ-fcomte.fr/ HTTP/1.1" 207 1252 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

I think all system administrators are eagerly awaiting this correction. 😇

This request was originally made on the Nextcloud user forum.

thank you in advance for your attention.

Ernest.

@MaxiReglisse MaxiReglisse added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement
Projects
None yet
Development

No branches or pull requests

1 participant