Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Users in DOMAINs Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
RuggieroAV
Newbie
Newbie
Avatar

Joined: 24 August 2011
Location: United States
Online Status: Offline
Posts: 23
Posted: 19 April 2012 at 10:22pm | IP Logged Quote RuggieroAV

Hi,

Have a question about a possible migration issue that just popped up. Running webmail PHP, and I use the service for multiple domains.

First I have the auto-registration of new users ON. I would have assumed that users would automatically be grouped by domain. Now, all my users are in the category USERS NOT IN DOMAIN although all account functions work fine.

For admin purposes, can I create domains representing those users I already have documented as logged in, and then MOVE THE USERS to the new domain groups?

Thanks,
Joe
Back to Top View RuggieroAV's Profile Search for other posts by RuggieroAV
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 19 April 2012 at 10:34pm | IP Logged Quote Igor

If user logs in and there's a matching domain in Domains list, user will be added under this domain. If the domain isn't found but the user can log in using default domain settings or via Advanced Login option, they're added to "Users not in domain section".

AdminPanel doesn't allow for moving accounts under a different domain, so adding a matching domain afterwards will not sort this out. There's an option, however: on database level, set proper id_domain for those accounts in awm_accounts table. Domain IDs can be retrieved from awm_domains table.

--
Regards
Back to Top View Igor's Profile Search for other posts by Igor
 
RuggieroAV
Newbie
Newbie
Avatar

Joined: 24 August 2011
Location: United States
Online Status: Offline
Posts: 23
Posted: 26 April 2012 at 1:59pm | IP Logged Quote RuggieroAV

Igor,

Just getting back to this. I guess I will explore doing this at the Database level. You are saying that I need to add all my domains, so an ID is generated, then I can give each user the corresponding ID for the domain to which they belong.
Back to Top View RuggieroAV's Profile Search for other posts by RuggieroAV
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 27 April 2012 at 12:49am | IP Logged Quote Igor

Yes that should work. If there's really a lot of accounts and domains, you might want to do this via API instead. In terms of API, domain and user account are objects so feel free to explore their structure and update the properties matching the database columns.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide