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.

account lookup tool

Discussion in 'General Discussion' started by jfall123, Nov 24, 2008.

  1. jfall123

    jfall123 Well-Known Member

    Joined:
    Oct 31, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I'm looking at programming an account lookup tool for WHM but wanted to check and see if something all ready existed before spending time on it,

    Say you have multiple cPanel servers and want an easy way to find out which user/domain is on which server. I want a search tool that I can plug a domain name, username or other info in that will then search all of my cPanel servers and return matches.

    Does such a tool exist?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
  3. jfall123

    jfall123 Well-Known Member

    Joined:
    Oct 31, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6

    Does that thing even work anymore? It seems very old, and I haven't been able to find much info on it post 2006. There also doesn't seem to be a demo to try before buying.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Well the functionality you mention would rely on information that is readily available via the XML-API in the listaccts call. Your script would just need to keep track of which server each list of accounts is coming from and handle that data in a matter you desire.
     
  5. jfall123

    jfall123 Well-Known Member

    Joined:
    Oct 31, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I know you can get a list of the accounts by appending /xml-api/listaccts?searchtype=user&search= to the end of the WHM URL, but how do I pull this information either locally on the server or from a remote server?
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Locally:

    https://localhost:2087/xml-api/listaccts?searchtype=user&search=

    Remotely:

    https://RemoteHost:2087/xml-api/listaccts?searchtype=user&search=

    Where RemoteHost is the IP, hostname or domain of any account hosted on that server. Be sure to adjust your authentication credentials (user/pass or user/hash) accordingly for each server you're connecting to.
     
  7. imagic

    imagic Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    Just wanted to let you know that the WHMAdmin is still alive and well. It's been going strong for 4 years now. We continually update it and it has even more features now than when it was first introduced.
     
  8. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Yep whmadmin is a great tool, I need to get it installed again. It has saved days worth of time.
     
Loading...

Share This Page