6.0.0-RC7
6/29/26

[#3681] realms get lost when storing rules
Summary realms get lost when storing rules
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 3/23/06 (7403 days ago)
Due
Updated 3/27/06 (7399 days ago)
Assigned 3/24/06 (7402 days ago)
Resolved 3/27/06 (7399 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
509 Jan Schneider State ⇒ Resolved
 
289 adrieder (at) sbox (dot) tugraz (dot) at Comment #5 Reply to this comment
This affects the sieve backend only, right? Can you try what I just
committed?
It works correctly now. Thanks!
548 Jan Schneider Comment #4 Reply to this comment
This affects the sieve backend only, right? Can you try what I just committed?
317 adrieder (at) sbox (dot) tugraz (dot) at Comment #3 Reply to this comment
There was a change to Ingo::getUser() recently that seems like it
should address this. Have you tested it?
Yes, I did. This recent fix, strips the realm if hordeauth is set to 
"true" and keeps the realm if hordeauth is set to "full". And it does 
it correctly for the backend. But there are multidomain/server setups 
where people have to use realms for horde applications, because there 
could exist the same usernames on different server (e.g. imapservers 
for imp). Therefore prefs and so on should be distinguishable. On the 
other hand, the imap/sieve backend does not know anything about 
realms. This seems to be the problem. In older versions of ingo this 
situation was handled correctly.
517 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
There was a change to Ingo::getUser() recently that seems like it 
should address this. Have you tested it?
469 adrieder (at) sbox (dot) tugraz (dot) at Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ realms get lost when storing rules
Queue ⇒ Ingo
Reply to this comment
If  "'hordeauth' => true" is set (because the sieve backend server 
doesn't know anything about the realm), users get logged in to the 
sieve server correctly but the ingo specific prefs get saved without 
the full hordeauth (user@realm) in the prefs database (the same is for 
the ingo sql storage). This means, that the sieve scripts get 
transferred correctly to the sieve backend but will newer again show 
up on the UI.



A workarround for this is to use Auth::getAuth() instead of 
Ingo::getUser() in horde/ingo/lib/Storage/prefs.php and/or 
horde/ingo/lib/Storage/prefs.php




Saved Queries