Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28

Thread: OpenSRS

  1. #16
    Join Date
    Jun 2009
    Location
    UK
    Posts
    6,331

    Default

    The password isn't stored anywhere by WHMCS, it's generated automatically each time it's needed. You would need to change the password in OpenSRS to match the dynamically generated password used by WHMCS:

    The username is the first 8 characters of the domain without any punctuation. So for example whmcsdomains.com would be whmcsdom
    The Password is the first 10 characters of the md5 of the domain id in the database, so if the id was 1 the password would be c4ca4238a0
    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  2. #17
    Join Date
    Apr 2010
    Posts
    274

    Default

    OK, I think I have this now.

    As I understand it, what you are saying is that we have to change the entire Opens SRS user / passwords to match the ones that would have been generated by WHMCS if the domain was ‘new’ (didn’t already have an entry at OpenSRS).

    Those user / pass combo’s are based on the formula you stated, namely:

    The username is the first 8 characters of the domain without any punctuation.
    The Password is the first 10 characters of the md5 of the domain id in the database.

    Are these user / pass details (when generated) stored in the WHMCS database anywhere, or are they simply regenerated as needed?

    regards,

    Trevor

  3. #18
    Join Date
    Jun 2009
    Location
    UK
    Posts
    6,331

    Default

    They aren't stored in WHMCS anywhere, they are regenerated as needed.
    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  4. #19
    Join Date
    Jan 2007
    Posts
    337

    Default

    Quote Originally Posted by John View Post
    The username is the first 8 characters of the domain without any punctuation. So for example whmcsdomains.com would be whmcsdom
    The Password is the first 10 characters of the md5 of the domain id in the database, so if the id was 1 the password would be c4ca4238a0
    That's trivial to brute force!

  5. #20
    Join Date
    Apr 2010
    Posts
    274

    Default

    I do think this is something WHMCS should be addressing.

    Quite why it stores others usernames and passwords, but chooses to generate OpenSRS ones every time is a mystery. Some of our SRS domains are four characters so are not catered for at all.

    WHMCS fails to work with any existing (imported) Open SRS names.
    We have a few clients with many, many names at OpenSRS. These are all grouped under one account for each client so we can log in and make any awkward changes there (like bulk alterations / updates).

    The WHM system does not allow that as each OpenSRS domain name has a separate username / password which is a severe limitation.

    A simple two-field addition to the domain record is all that is required. Just to record the username and password with a checkbox to indicate whether those or a generated credential should be used when communicating with OpenSRS


    I know there is a non-supported workaround, but I have not managed to get it to work at all : (

    Trevor

  6. #21
    Join Date
    Jan 2011
    Posts
    5

    Default

    This username/password scheme doesn't appear to work for me:

    The username is the first 8 characters of the domain without any punctuation. So for example whmcsdomains.com would be whmcsdom
    The Password is the first 10 characters of the md5 of the domain id in the database, so if the id was 1 the password would be c4ca4238a0
    To clarify, I moved 30-40 domains over to OpenSRS from GoDaddy thinking that WHMCS would pick them up. No dice, of course. When I read this, I tested one by going to:

    https://manage.opensrs.net

    Changed the ownership to username/pass specified above, but it just returns authentication errors.

    My IP address should be whitelisted.

    Are there any logs or further details to investigate?

    Any advice is much appreciated!

    Best,
    WS

  7. #22
    Join Date
    Apr 2010
    Posts
    274

    Default

    The whole Open SRS thing is a mess and quite why WHMCS do not address it I don't know.

    They should make it as clear as possible that anyone importing names from another system into WHMCS will have trouble and it will not wor without a lot of manual effort..

    The third party workarounds a a small welcome solution, but it should not have been necessary for others to develop something that it could be assumed would be incorporated into the core OpenSRS module.

    In resepct of your problem you need to use the Open SRS addon which will generate the correct credentials - though on some of ours it doesn't seem to work for some reason.

    These may help:
    http://forum.whmcs.com/showthread.php?t=21030 though you do need to read the whole thread as there are quite a few changes along the way! The final product is here:
    http://forum.whmcs.com/showpost.php?...2&postcount=28

    The other one which works for me is the login converter.
    http://forum.whmcs.com/showthread.php?t=15401


    Trevor

  8. #23
    Join Date
    Jan 2011
    Posts
    5

    Default

    Just learned this! For WHMCS, 4.x and higher. You can create this table, and use it to store your username and pass:

    CREATE TABLE `mod_opensrs` (`domain` TEXT NOT NULL ,`username` TEXT NOT NULL ,`password` TEXT NOT NULL)

  9. #24
    Join Date
    Apr 2010
    Posts
    274

    Default

    Now that is useful. I wonder why that was kept so quiet?

    I created a sample entry and it appears to work.

    I'm not sure what features it offers as I haven't tried and changes, but it would appear there is finally a resolution to solve theOpen SRS problem.

    How was this announced / where did you find out about this? Is there any documentation?

    Trevor

  10. #25
    Join Date
    Jan 2011
    Posts
    5

    Default

    They sent it to me in a support response. Yeah, amazing!

  11. #26
    Join Date
    Jun 2009
    Location
    UK
    Posts
    6,331

    Default

    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  12. #27
    Join Date
    Sep 2012
    Posts
    18

    Default Re: OpenSRS

    It looks like it has been a while since this thread was last answered. I found this paragraph in some WHNCS documentation at http://docs.whmcs.com/OpenSRS, but I can't find the table mod_opensrs in my WHMCS installation. Any ideas?

    OpenSRS is unique in that each domain has its' own username and password, and just being the reseller that owns the domain is not enough to be able to manage it. Therefore in order to be able to manage domains registered with OpenSRS/ResellOne outside of WHMCS you will need to manually add the domains individual username & password directly to the mod_opensrs table of the database. This is in addition to adding the domain to WHMCS itself if it's not already in the database.

  13. #28
    Join Date
    Apr 2013
    Posts
    2

    Default Re: OpenSRS

    My question is if a client has purchased multiple domains, example 12345678.com/net/org its safe to assume based on the math above that the username would be "12345678" and the password would be c4ca4238a0 assuming his userid was 1 for the .com domain.

    But what of the other domains? So if it takes the first 8 then all the usernames would be 12345678 and the password would change based on domain id.

    So my question is, for this fix to work how should i enter the proper information in OpenSRS's domain management system.
    Also since i'm on 5.1 i've tried the mod_opensrs table fix with out success.

    the table is created, i've inserted "12345678.com" in domain, username & password in the right sections.
    My testing was done with 2 domains on different TLD's. I cannot change the contact info, cannot get the EPP code (even if it says it will send it to the domain owner with a successful msg.)

    Any help would be appreciated.

    Quote Originally Posted by John View Post
    The password isn't stored anywhere by WHMCS, it's generated automatically each time it's needed. You would need to change the password in OpenSRS to match the dynamically generated password used by WHMCS:

    The username is the first 8 characters of the domain without any punctuation. So for example whmcsdomains.com would be whmcsdom
    The Password is the first 10 characters of the md5 of the domain id in the database, so if the id was 1 the password would be c4ca4238a0

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Anyone here an OpenSRS reseller?
    By deltatech in forum General Discussion
    Replies: 7
    Last Post: 01-25-09, 03:24 AM