Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-2006, 04:38 PM
Senior Member
 
Posts: 60
Default Default Domains / Unique Users

Hi. I run a small mailserver that handles mail for a few users scattered across a number of domains (perhaps 3 users / domain avg). If unique usernames are administrativly enforced, is there any way to allow all users to login with just their username (setting multiple default domains)?

Thanks,
Will
Reply With Quote
  #2 (permalink)  
Old 01-15-2006, 04:58 PM
Zimbra Employee
 
Posts: 2,103
Default not supported

there's no way for us to support that - behind the scenes, we'd end up having to do multiple auth attempts for every account, and keep track of when failure means failure, and when it means try again.

That said - you may be able to fake this:

Create all users under the default domain.

Add aliases under the domain you want them to appear to be at, with the same username.

Set the canonical address (for outgoing mail) on each account to reflect the address you want the account to appear to be under.

Then everyone can log in with their username, and mail will be sent to (and appear to come from) that user.

The only thing you lose is the display name in the web client - that will be for the account@defaultdomain.com.
Reply With Quote
  #3 (permalink)  
Old 01-16-2006, 09:57 AM
Senior Member
 
Posts: 60
Default Idea?

This probably belongs in the Dev forum now, but I didn't want to cross post. Anyhow, as a possible suggestion for improvement. (I have not gone through the auth code in the source):

I'm guessing that the current auth scheme goes something like this:

*Check Sanity of Username / Password*
(IF username includes FQDN )
{
....try auth directly
}
(ELSE)
{
.....append default domain and try auth
}



Would something like this be possible (serverSimpleAuth is a global pref)?

*Check Sanity of Username / Password*
(IF username includes FQDN )
{
....try auth directly
}
(ELSEIF serverShortAuth is TRUE)
{
.....(IF username is unique within entire server )
.....{
..........Try auth, appending that username's FQDN
.....}
.....(ELSE)
.....{
..........fail
.....}
}

(ELSE)
{
.....append default domain and try auth
}

Assuming I'm not way off in left field about your auth process, something like that would allow short logins without multiple auth attempts and without touching much backend (just need that one pref). If I am in left field, I apoligize.

Other note: Would a prefrence to display a user's canonical address rather than their proper login name in the web client be possible?

Thanks!
Will
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.