View Single Post
Old 05-27-2007, 04:36 PM  
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
maybe this helps

Quote:
Question: Why am I getting 2201 authorization error when doing an INFO command?
Answer: You need to include the hosts= option in your INFO command.

The INFO command allows you to retrieve both delegated host information and also subordinate host information. It does so by supporting the following 4 options:

1. hosts="all" (delegated hosts and subordinate hosts information is being requested)
2. hosts="del" (just the delegated hosts information is being requested)
3. hosts="sub" (just the subordinate hosts information is being requested)
4. hosts="none" (no information about hosts is being requested)

We consider the subordinate host information to be privileged to the owning registrar. The only options that can be used by registrars who do not own the domain are hosts="del" and hosts="none". Use of the other 2 options will result in an "AUTHORIZATION FAILED" error.

Another thing to note is that if no option is specified the default option is assumed to be hosts="all" based on the EPP protocol, which will result in an "AUTHORIZATION FAILED" in the case of a EPP-DOMAIN-INFO request by a non-owning registrar.

Please also note there is currently a bug in which a hosts=none option will fail in Production. This will be corrected in a future release. The hosts=none option works in OTE. In Production, please use hosts=del.

Please incorporate this into your INFO commands. A sample would look like this.

<command>
<info>
<domain:info
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
domain-1.0.xsd">
<domain:name hosts="xxx">test.com</domain:name>
</domain:info>
</info>
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote