ScrltOTara Posted October 31, 2008 Share Posted October 31, 2008 We had a lot of OpenSRS domain names when we moved to WHMCS so I wrote this short but effective add on to tell you what to change their domain manager login so that it can be imported into WHMCS for management. First, place an order for the client for domain transfer, select not to generate an invoice and select to make it active. Then go to the domain info - note the domain ID in the URL in the address bar. You will need this. Then go to the add on mod, type in the domain and the domain ID and it'll spit out what your login needs to be to make openSRS "see" it in WHMCS. You will need their current login to then log in to manage.opensrs.net and change their profile. Didn't think anyone needed this but me until someone asked me for it. So I figured I'd post it here. Just put it in modules/admin/ Nothing fancy, just thought it might be useful to others. Tara OpenSRS_login_converter.zip 0 Quote Link to comment Share on other sites More sharing options...
Phile Posted December 8, 2008 Share Posted December 8, 2008 Is it ioncube? 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted December 8, 2008 Author Share Posted December 8, 2008 Nope, plain ol PHP, edit it if you want. Just don't distribute it anywhere. 0 Quote Link to comment Share on other sites More sharing options...
efisher Posted December 9, 2008 Share Posted December 9, 2008 Hi Tara. This is an interesting module. We've been doing it by hand, but this will save some time. One question... it seems the module is looking for another module, md5_converter. I'm not seeing that in the zip file you posted. Can I ask where you got that module, or can you post it? Thanks again for the great add... I'm looking forward to giving it a try. -Eric 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted December 9, 2008 Author Share Posted December 9, 2008 Sorry, my fault. We initially had it named md5_converter, and when I renamed it, I forgot the change the post method. Here's the updated file - tested. The only change is that the form posts to OpenSRS_login_converter instead of md5_converter. OpenSRS_login_converter.zip 0 Quote Link to comment Share on other sites More sharing options...
efisher Posted December 9, 2008 Share Posted December 9, 2008 Sorry, my fault. We initially had it named md5_converter, and when I renamed it, I forgot the change the post method. Here's the updated file - tested. The only change is that the form posts to OpenSRS_login_converter instead of md5_converter. Perfect! Thank you. 0 Quote Link to comment Share on other sites More sharing options...
WebWorker Posted May 12, 2009 Share Posted May 12, 2009 Thank you! That's exactly what I needed! 0 Quote Link to comment Share on other sites More sharing options...
web2008 Posted May 13, 2009 Share Posted May 13, 2009 Thank you, it works almost perfect! But, if the domain name is shorter than 6 characters or the domain name has a hyphen, the user will be wrong... 0 Quote Link to comment Share on other sites More sharing options...
Tyler Jacobson Posted June 5, 2009 Share Posted June 5, 2009 Thank you very much for this. A question I'm left with - when I go into the profile under openSRS, I can create sub users or change passwords (but not users) or create a new sub-account for access. I'm a little lost on which one of these options I should select to update the account ID and password. Thanks in advance for your help. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted June 5, 2009 Author Share Posted June 5, 2009 I do a change profile and create a new one. Creating a new user and moving the domain automatically deletes the old login if there are no additional domains. I suppose you could do a sub-user as well, but I haven't tried it that way. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted June 5, 2009 Author Share Posted June 5, 2009 web2008 - yes, it has some glitches. If the domain has a hyphen, you just remove the hypen and expand the user name to include the right number of characters. I don't know what to do if the domain is shorter - I do know you can take the . out and add the tld to the user name, too. 0 Quote Link to comment Share on other sites More sharing options...
Tyler Jacobson Posted June 5, 2009 Share Posted June 5, 2009 Any ideas on how to manager this if there are additional domain names? 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted June 5, 2009 Author Share Posted June 5, 2009 You can not use WHMCS if you have more than one domain in a user account. You will have to strip them out into their own accounts, one domain per. 0 Quote Link to comment Share on other sites More sharing options...
Tyler Jacobson Posted June 8, 2009 Share Posted June 8, 2009 Cool. Thanks for the reply. 0 Quote Link to comment Share on other sites More sharing options...
tulaweb Posted December 6, 2009 Share Posted December 6, 2009 You can not use WHMCS if you have more than one domain in a user account. You will have to strip them out into their own accounts, one domain per. I can strip them out to individual accounts, except what happens with multiple domains with the same 1st 8 characters. This is quite common where a domain owner has something.com, something.net, and perhaps something.otherTLDs. It seems like the way the OpenSRS module works will not only prevent me from converting those existing domains but will prevent customers from registering or transferring multiple domains with the same first 8 characters. Am I missing something? 0 Quote Link to comment Share on other sites More sharing options...
efisher Posted December 6, 2009 Share Posted December 6, 2009 I can strip them out to individual accounts, except what happens with multiple domains with the same 1st 8 characters. This is quite common where a domain owner has something.com, something.net, and perhaps something.otherTLDs. It seems like the way the OpenSRS module works will not only prevent me from converting those existing domains but will prevent customers from registering or transferring multiple domains with the same first 8 characters. Am I missing something? OpenSRS doesn't care about duplicate account usernames. There are 3 factors in authenticating with OpenSRS: domain name, username, password. Using the same username for different domains is perfectly acceptable and works just fine in our experience, because the domain name is used to help differentiate the accounts. That help? 0 Quote Link to comment Share on other sites More sharing options...
tulaweb Posted December 8, 2009 Share Posted December 8, 2009 OpenSRS doesn't care about duplicate account usernames. There are 3 factors in authenticating with OpenSRS: domain name, username, password. Using the same username for different domains is perfectly acceptable and works just fine in our experience, because the domain name is used to help differentiate the accounts. That help? But how do I create two user accounts at openSRS with the same username and two different passwords? 0 Quote Link to comment Share on other sites More sharing options...
tulaweb Posted December 8, 2009 Share Posted December 8, 2009 But how do I create two user accounts at openSRS with the same username and two different passwords? Oh I guess you just do. It didn't seem very intuitive but it does seem to just work. 0 Quote Link to comment Share on other sites More sharing options...
veleno Posted February 9, 2010 Share Posted February 9, 2010 Hi, I feel that this way of generate passwords and user names is a great security issue! Especially when WHMCS is used to manage just a few domain names. What do you think? Oto Tortorella 0 Quote Link to comment Share on other sites More sharing options...
veleno Posted April 14, 2010 Share Posted April 14, 2010 I've found an exception in the user name generation process, it strips away all numbers in the domain name. So that, the username for domain4all.com will be 'domainal' and not 'domain4a'. The "OpenSRS Login Converter" do not takes that into consideration. Oto Tortorella P.S. I still feel that this way of generating credentials for domain managing is a security issue even though the domain locking is a good protection. 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted August 11, 2010 Share Posted August 11, 2010 It's a shame that the handling of imported OpenSRS domains isn't better implemented in WHMCS. We have some clients with lots of existing domains at OpenSRS. Because of the way WHMCS operates we have to manually process all changes they make which makes WHMCS redundant for anything except new registrations or individual names where we can use this script to generate sub-users. We can't break them down into individual accounts - that would just take too long for some clients, and we would end up with endless usernames and passwords. Tervor 0 Quote Link to comment Share on other sites More sharing options...
JonMarkGo Posted September 12, 2010 Share Posted September 12, 2010 I just switched to WHMCS from iPanel and am loving it...except for the awful OpenSRS support. I was able to import all of my domains through the opensrs sync script in 4.3 but this "Authentication Error" pops up on every domain page. I was able to use this neat script (though insecure) on domains that I have control panel access to, but most of my users have changed their password (and rightly so) - is there any way to link WHMCS to their OpenSRS account without having them change their password or give it to me? 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted September 12, 2010 Share Posted September 12, 2010 The OpenSRS way of doing things in WHMCS is crazy as has been mentioned before and is bizarre in light of how other parts of WHMCS are so well done. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.