Can someone give me the story about linking domains during a registration
with a new profile? The 2.52 code does not do the right thing. It does this
whole dance using the link_domains attribute and the master_order_id, but
according to the protocol specs, there is no such attribute as
master_order_id.

For the sw_register action, the 2.52 Protocol specs say that setting
link_domains = 1 will link the new registration to the profile pointed to by
the reg_domain attribute. However, the supplied OpenSRS Perl client does
*not* set the link_domains attribute when you register a domain and add it
to an existing profile.

So, what the heck is the link_domains attribute doing? It looks like a NOOP
to me! Also, what's with this bogus master_order_id that's in the code? Is
this a leftover from a previous rev of the client code?

I've modified the code to do this to link domains:
    - Step thru the list of domains
    - Fire off a registration to OpenSRS
    - If the registration is successful and reg_domains is not set, then set
      the reg_domains attribute to be the domain that was just
      successfully registered

This works just fine, so can someone explain what the link_domains attribute
is supposed to be used for?

--
Michael L. Barrow <[EMAIL PROTECTED]>
P: 805-566-0885

Reply via email to