Hello Listers...

I currently have to setup multiple sub domain webmail
with just one login page..

e.g :
finance.sub.domain.com,resources.sub.domain.com,
research.sub.domain.com,etc...

vlogin plugin is not quite enough for these sub domains
( yes the dots are three )

in my (ripped) login.php is :

/*$username_form_name = 'login_username';*/

$username_form_name = 'login_user'; // ADDED
$domain = 'user_domain'; //  ADDED

"<INPUT TYPE=TEXT NAME=\"$username_form_name\">@</TD>
<TD>
<SELECT NAME=\"$domain\">
    <option value=kaltim.go.id>kaltim.go.id</option>
    <option value=bappeda.kaltim.go.id>bappeda.kaltim.go.id</option>
    <option value=bkpm.kaltim.go.id>bkpm.kaltim.go.id</option>
    <option value=bawasprop.kaltim.go.id>bawasprop.kaltim.go.id</option>
    <option value=bpid.kaltim.go.id>bpid.kaltim.go.id</option>
</SELECT>
</TD>";


THEN in my redirect.php is :
$login_username = $login_user.'@'.$user_domain;

The effect is quite much the same like vlogin plugin behaviour
where user only has to enter username and choose the domain from
dropdown select box.


But,
AFTER I upgraded to 1.2.9, and modify it with similar codes..
it still reject the login..

Anyone can point at what I'm missing ?


TIA.






------------------------------------------





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to