Results 1 to 5 of 5

Thread: Restrict user logins to their own domain?

  1. #1
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default Restrict user logins to their own domain?

    The situation -

    Users on domain1.com are able to login via the web login on domain2.com.

    How can I stop this from happening?

    domain1.com is the original domain associated with Zimbra and domain2.com is an additional one. I've tried multiple google searches for this as well as the search above and have only come up with a few threads that don't even pertain to this specifically.

    IE - http://www.zimbra.com/forums/adminis...ic-domain.html

    Restrict users to certain domain - Zimbra :: Wiki
    ----------------------------------------------------------
    Can anyone chime in on this?

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    Are you just trying to login with 'username' and not domain?

    If you create domain1.com, it becomes the default domain if users try to login. So usera@domain1.com can login using the username 'usera'.

    Now if you create a second domain domain2.com, and a different 'usera@domain2.com' then that user has to login using the full username.

    However, usera@domain1.com could go to the web address for domain2, and login using just 'usera', but he woudln't be logging into usera@domain2.com. He'd be logging into domain1.com still

    not sure how much sense that makes

  3. #3
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by bdial View Post
    Are you just trying to login with 'username' and not domain?

    If you create domain1.com, it becomes the default domain if users try to login. So usera@domain1.com can login using the username 'usera'.

    Now if you create a second domain domain2.com, and a different 'usera@domain2.com' then that user has to login using the full username.

    However, usera@domain1.com could go to the web address for domain2, and login using just 'usera', but he woudln't be logging into usera@domain2.com. He'd be logging into domain1.com still

    not sure how much sense that makes
    Yeah that's whats going, if two users with the same username try and log in with either domain it will choose one over the other, I want to make it so the domains can accept only the username for the domain they are at.

    So userA at domain1.com can log in just fine as they belong to that domain even if there is another userA with domain2.com.

    So essentially I want it to filter the logins and only allow logins for usernames only if the domains match up...

    If that makes sense....

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    i think the address you're using to access domain1 and domain2 need to be listed as virtualhosts for the individual domains.

    See this post

    http://www.zimbra.com/forums/install...tml#post100511

  5. #5
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by bdial View Post
    i think the address you're using to access domain1 and domain2 need to be listed as virtualhosts for the individual domains.

    See this post

    http://www.zimbra.com/forums/install...tml#post100511

    I had already set up those, but it doesn't matter, it still allows userA on domain 1 to use domain2 web login or userA on domain2 to use domain1.com....

    Virtual hosts wont take care of the problem of ambiguity between domains....meaning I cant set up a virtual host so I can login with admin on domain1, it still looks at domain2 to see if theres an admin account, and since there is it fails.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 10:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •