Hello,
Is there a way to really achieve the following --
This is the comment just before a piece of code to prepare settings for createacct under Transfers.pm
I was looking into the code to see the possibility of getting accounts restored directly over the resellers main/shared IP instead of root main IP. And was able to see it's already there with a case number.
I am restoring the accounts as root from cpmove pkg. But the owner of the account is a reseller already on the server and set with a different main/shared IP.
By reading those comments it seems, it will use the reseller's IP, but no, it's getting created with the root's main IP. Note that account is getting restored with correct ownership.
Any comment will be appreciated.
I have also tried to test it, by following this --
1. Created a reseller
2. Allocated a different main/shared IP from reseller center.
3. Created an account from the reseller's WHM, it went all ok.
4. Logged in as root, pkgacct, killacct and then restorepkg - it will preserve the ownership but not the IP.
Can someone from cPanel would be so kind to check it and let me know if this is the way it should work? What that code does below that case number and comments which states in simple words what I need.
Thanks,
Vijay
Is there a way to really achieve the following --
Code:
## Case 32964: if the owner of the transferring account exists on this system and is a
## reseller, then run create account from the perspective of that reseller (instead of
## the currently running reseller).
I was looking into the code to see the possibility of getting accounts restored directly over the resellers main/shared IP instead of root main IP. And was able to see it's already there with a case number.
I am restoring the accounts as root from cpmove pkg. But the owner of the account is a reseller already on the server and set with a different main/shared IP.
By reading those comments it seems, it will use the reseller's IP, but no, it's getting created with the root's main IP. Note that account is getting restored with correct ownership.
Any comment will be appreciated.
I have also tried to test it, by following this --
1. Created a reseller
2. Allocated a different main/shared IP from reseller center.
3. Created an account from the reseller's WHM, it went all ok.
4. Logged in as root, pkgacct, killacct and then restorepkg - it will preserve the ownership but not the IP.
Can someone from cPanel would be so kind to check it and let me know if this is the way it should work? What that code does below that case number and comments which states in simple words what I need.
Thanks,
Vijay