Response Samples

A positive response from the server can look as follows:

<packet version="1.5.0.0">
  <domain>
    <get-physical-hosting-descriptor>
      <result>
        <status>ok</status>
        <filter-id>MyDomain.com</filter-id>
        <id>15</id>
        <descriptor>
          <property>
            <name>ftp_login</name>
            <type>string</type>
            <writable-by>admin</writable-by>
            <label>hst_def__fp_admin_login</label>
          </property>
          <property>
            <name>fp_admin_password</name>
            <type>passwordString</type>
            <writable-by>none</writable-by>
            <label>hst_def__fp_admin_passwd</label>
          </property>
          <property>
            <name>shell</name>
            <type>string</type>
            <enum>
              <value>/bin/false</value>
              <label>Forbidden</label>
            </enum>
            <enum>
              <value>/bin/ash</value>
              <label>/bin/ash</label>
            </enum>
            <enum>
              <value>/bin/bash</value>
              <label>/bin/bash</label>
            </enum>
            ...
          <enum>
              <value>/usr/local/psa/bin/chrootsh</value>
              <label>/bin/bash (chrooted)</label>
            </enum>
            <enum>
              <value>/bin/rbash</value>
              <label>/bin/rbash</label>
            </enum>
            <writable-by>admin</writable-by>
            <label>hst_def__shell</label>
          </property>

 

If the domain specified in the request packet was not found on the server, the result is as follows:

<packet version="1.5.0.0">
  <domain>
    <get-permission-descriptor>
      <result>
        <status>error</status>
        <errcode>1013</errcode>
        <errtext>domain does not exist</errtext>
        <filter-id>MyDomain.com</filter-id>
      </result>
    </get-permission-descriptor>
  </domain>
</packet>