Menu

#47 Domain login system (good for hosting providers)

closed-accepted
None
5
2004-06-19
2004-06-17
No

WARNING: this patch is for NOCC-0.9.6RC1!!! It is still
somewhat experimental though it has worked for me in
my testing.

Organizations that do email hosting using virtual domains
sometimes have to mangle the users login. For example,
joe@zzz.com might have to login to the mail server as
joe-zzz.com or something more complicated. However,
the user may not remember this when on the road.

Organizations that do email hosting for many customers
also may not want to disclose who else they host. The
pull-down menu of domains to log in to can look
unprofessional to customers and can be good fodder for
hackers.

This patch resolves both of these issues, it does the
following:
1. if $conf->typed_domain_login = 1 is found in conf.php
(it is commented out in the patched conf.php.dist),
rather than getting a pulldown menu of all the available
domains at the login page, you will be given a place to
type in the domain you want to use. This preserves the
confidentiality of the other domains being hosted.
2. if a property named login_suffix is found in $conf-
>domains[$x], it will be appended to the login name
passed to the mail server. This allows any user who ie.
logs into the domain zzz.com to automatically and
transparently have the suffix "-zzz.com" appended to
the login name.

To apply the patch to a fresh nocc-0.9.6RC1 tree, untar
it, cd to the directory CONTAINING the nocc-0.9.6RC1
directory, and then type the following: patch -p0
< /path/to/nocc-login.diff

Discussion

  • Leif Gustafson

    Leif Gustafson - 2004-06-17

    For nocc-0.9.6RC1 only!

     
  • Anonymous

    Anonymous - 2004-06-19
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2004-06-19
    • status: open --> closed-accepted
     
  • Anonymous

    Anonymous - 2004-06-19

    Logged In: YES
    user_id=529507

    Added to CVS

     

Log in to post a comment.

MongoDB Logo MongoDB