smb: do not map uid and gid
ClosedPublic

Authored by sitter on Feb 10 2020, 4:25 PM.

Details

Summary

libsmbc returns the uid/gid of the process, not of the file, the data
is entirely useless to us. do not list it.
currently there is no way to get the actual uid/gid of a dirent. internally
there seems to be tech available that uses the samba unix extension but
that doesn't have any public API.

in short: we can't determine ownership client-side

BUG: 212801

Test Plan

no longer shows current user as owner. in particular when that is not true!

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Feb 10 2020, 4:25 PM
Restricted Application added projects: Dolphin, Frameworks. · View Herald TranscriptFeb 10 2020, 4:25 PM
Restricted Application added subscribers: kfm-devel, kde-frameworks-devel. · View Herald Transcript
sitter requested review of this revision.Feb 10 2020, 4:25 PM
ngraham accepted this revision.Feb 12 2020, 3:40 AM

Nice.

This revision is now accepted and ready to land.Feb 12 2020, 3:40 AM
This revision was automatically updated to reflect the committed changes.