6.0.0-beta1
9/7/25

[#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 03/23/2006 (7108 days ago)
Due
Updated 03/27/2006 (7104 days ago)
Assigned 03/24/2006 (7107 days ago)
Resolved 03/27/2006 (7104 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/27/2006 09:37:50 PM Jan Schneider State ⇒ Resolved
 
03/27/2006 09:04:28 PM 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!
03/27/2006 08:00:54 AM Jan Schneider Comment #4 Reply to this comment
This affects the sieve backend only, right? Can you try what I just committed?
03/27/2006 07:14:31 AM 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.
03/24/2006 07:18:51 PM 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?
03/23/2006 09:35:46 PM 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