[EPP-discuss] domain:info Command not working ?

From: Boris Fernandez <Boris.Fernandez_at_ascio.com>
Date: Thu, 4 Apr 2013 08:07:51 +0000

From the documentation :

info domain
This part of the EPP protocol is described in RFC 5731. This command adheres to the standard.

http://tools.ietf.org/html/rfc5731

   C:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
   C:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
   C: <command>
   C: <info>
   C: <domain:info
   C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
   C: <domain:name hosts="all">example.com</domain:name>
   C: </domain:info>
   C: </info>
   C: <clTRID>ABC-12345</clTRID>
   C: </command>
   C:</epp>


Log from my attempt against DKHM epp server below. Can you please decrypt the error for me an explain what is wrong and what Too few labels mean ?



<?xml version="1.0"?>
                <epp xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd" xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                                <command>
                                                <info>
                                                                <domain:info xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                                                                                <domain:name hosts="all">rdrluogolj.dk</domain:name>
                                                                </domain:info>
                                                </info>
                                                <clTRID>1a9365015a2b48eda783a7381af5ae1e</clTRID>
                                </command>
                </epp>

[2013-04-04 10:02:18][Info][dk][RABBIT]
[061ea30eb0504209baed8b539e90a7d4] Request from 10.0.20.133:4384
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
                <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
                                <response>
                                                <result code="2500">
                                                                <msg>Unaccepted value for domain:name (Too few labels)</msg>
                                                </result>
                                                <trID>
                                                                <clTRID>1a9365015a2b48eda783a7381af5ae1e</clTRID>
                                                                <svTRID>E4262628-9CFD-11E2-A30C-2732922A5B5C</svTRID>
                                                </trID>
                                </response>
                </epp>

From: Erik Johansen [mailto:ejo_at_dk-hostmaster.dk]
Sent: 3. april 2013 13:45
To: EPP-discuss_at_liste.dk-hostmaster.dk
Subject: Re: [EPP-discuss] EPP updated to EPP 1.0.4

On page 10 of https://www.dk-hostmaster.dk/fileadmin/filer/epp/DKHM-EPP-specification-1.0.pdf
it says:

create contact

This command has been extended with the following fields:
*
User type, which has to be one of:
*
company - indicating a company
*
public_organization - indicating a public organization
*
association - indicating an association
*
individual - indicating an individual
The user type will result in context-specific interpretation of the following fields:



On 03-04-2013 13:38, Peter Larsen wrote:



On Apr 3, 2013, at 1:29 PM, Boris Fernandez <Boris.Fernandez_at_ascio.com><mailto:Boris.Fernandez_at_ascio.com> wrote:



I maybe completely out of phase here but I am really having hard time with the User Type



The so outdated EPP documentation, page 13, found online at https://www.dk-hostmaster.dk/english/tech-notes/epp/ , says I should still be able to use : C, P, A or I



But this is not anymore the case.



Did I miss an update on the mailing ? Was that removed ? Can you please tell us what are the acceptable values now ?



according to my testing in the wild, it might be:



company

individual

public_organization

association (this is not tested by me)



C P A I is not working, nor is c p a i ...



might change in the next release.. :)





regards, Peter Larsen - ICANN Accredited registrar



My info: http://larsen.tel

Company info: http://larsendata.tel










--
Med venlig hilsen/Best Regards
Erik Johansen
Titel: Udvikler/Developer
DK Hostmaster A/S
Kalvebod Brygge 45, 3. sal
1560 København V
Tlf.      33 64 60 60
Mobil:    40 13 60 57
Fax.:     33 64 60 66
Email:    ejo+s1_at_dk-hostmaster.dk<mailto:ejo+s1_at_dk-hostmaster.dk>
Homepage: http://www.dk-hostmaster.dk
.dk Danmarks plads på Internettet
-------------------------------------------------------------------------
Dette er en e-mail fra DK Hostmaster A/S. Denne e-mail kan indeholde
fortrolig information, som kun er til brug for den tiltænkte modtager.
Hvis du ved en fejl har modtaget denne e-mail, bedes du venligst straks
give afsenderen besked om dette og slette e-mailen fra dit system uden
at offentliggøre, videresende eller tage kopi af meddelelsen.
This is an email from DK Hostmaster A/S. This message may contain
confidential information and is intended solely for the use of the
intended addressee. If you are not the intended addressee please notify
the sender immediately and delete this e-mail from your system. You are
not permitted to disclose, distribute or copy the information in this
e-mail.
--------------------------------------------------------------------------
Received on Thu Apr 04 2013 - 10:07:51 CEST

This archive was generated by hypermail 2.3.0 : Fri Feb 06 2015 - 11:39:11 CET