Menu

#108 virtusertable0.3 error

open
None
5
2005-11-22
2005-09-30
João
No

if existe a similar entry in virtusertable the plugin picks the first
match as in:

juliana@domain.com juliana
liana@domain.com liana

trying to login as liana@domain.com fails

imapd[32420]: Login failed user=juliana auth=juliana host=localhost

the plugin picks juliana, loggin as liana (w/o domain) goes through

workaround is to invert the virtusertable order as

liana@domain.com liana
juliana@domain.com juliana

Joăo

Discussion

  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-09-30
    • labels: 477103 -->
     
  • Paul Lesniewski

    Paul Lesniewski - 2005-11-22

    Logged In: YES
    user_id=508228

    Please try using Virtual Host Login plugin instead, which
    includes the same functionality but might not have this bug.
    It is actively maintained; virtusertable apparently is not.
    If you can verify the vlogin works correctly, I will make a
    note of this on the website, if not make this plugin obsolete.

     
  • Paul Lesniewski

    Paul Lesniewski - 2005-11-22
    • assigned_to: nobody --> pdontthink
     
  • Paul Lesniewski

    Paul Lesniewski - 2005-11-22

    Logged In: YES
    user_id=508228

    Please try using Virtual Host Login plugin instead, which
    includes the same functionality but might not have this bug.
    It is actively maintained; virtusertable apparently is not.
    If you can verify the vlogin works correctly, I will make a
    note of this on the website, if not make this plugin obsolete.

     
  • João

    João - 2005-11-22

    Logged In: YES
    user_id=952197

    no option for me, probably for other also not

    you can apply this patch within dir virtusertable to
    resolve the problem

    --- setup.php Sat Oct 1 03:05:26 2005
    +++ setup-old.php Tue Nov 22 09:42:49 2005
    @@ -64,7 +64,7 @@
    while ((!feof($file)) && (!$acaba))
    {
    $linia = trim(fgets($file, 1024));
    - if (preg_match ("/^$user\s+(\S+)\s*/i", $linia,
    $resultat))
    + if (preg_match ("/$user\s+(\S+)\s*/i", $linia,
    $resultat))
    {
    $acaba=1;
    $realname = $resultat[1];

     

Log in to post a comment.