The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

restorpkg + Transfers.pm - is it the working correctly?

Discussion in 'General Discussion' started by Indianets, Jan 24, 2012.

  1. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    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).
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,707
    Likes Received:
    658
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The changes made from this case were to ensure that accounts are created under their reseller if that same reseller exists on the destination server. Thus, if a reseller uses different name servers, those name servers are used in the DNS zone of the transferred domain name.

    I was able to confirm the reseller shared IP address is not assigned when restoring an account owned by that reseller. I suggest submitting a bug report for this via:

    Submit A Bug Report

    Thank you.
     
  3. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks Michael!!

    Submitted and had a reply from you on the Ticket :)
     
Loading...
Similar Threads - restorpkg Transfers working
  1. SCott Galambos
    Replies:
    1
    Views:
    108

Share This Page