Author |
|
RuggieroAV Newbie


Joined: 24 August 2011 Location: United States
Online Status: Offline Posts: 23
|
Posted: 19 April 2012 at 10:22pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6122
|
Posted: 19 April 2012 at 10:34pm | IP Logged
|
|
|
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 |
|
|
RuggieroAV Newbie


Joined: 24 August 2011 Location: United States
Online Status: Offline Posts: 23
|
Posted: 26 April 2012 at 1:59pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6122
|
Posted: 27 April 2012 at 12:49am | IP Logged
|
|
|
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 |
|
|