Page MenuHomePhorge

Proxy auth as user
AbandonedPublic

Authored by mollekopf on Aug 30 2024, 9:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 3:17 AM
Unknown Object (File)
Sun, Oct 27, 2:45 PM
Unknown Object (File)
Sun, Oct 27, 2:44 PM
Unknown Object (File)
Thu, Oct 24, 8:27 AM
Unknown Object (File)
Tue, Oct 22, 3:18 AM
Unknown Object (File)
Sat, Oct 19, 11:36 PM
Unknown Object (File)
Thu, Oct 17, 4:54 AM
Unknown Object (File)
Wed, Oct 16, 6:35 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Otherwise we login as admin

Diff Detail

Repository
rK kolab
Branch
dev/mollekopf
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 48879
Build 18354: arc lint + arc unit

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Aug 30 2024, 9:19 AM

Not really a full patch, but this seems to be necessary so we actually log in as user and not admin, which then also results in the folders being represented as INBOX instead of user/$name/INBOX@domain.

I vaguely remember this having been an issue in some connection?

machniak added inline comments.
src/app/Backends/IMAP.php
736

It does not make sense. Line 733 should take care of it. And what if $login_as=null?

Nevermind, I misread the code. You're setting $config['user'] to $login_as and then pass $config['user'], which of course leads to the same.