Protocols/OSCAR/SNAC/ADMIN INFO REPLY: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ADMIN__INFO_REPLY/Origin}} |name=ADMIN__INFO_REPLY |id=0x0007, 0x0003 |service={{Protocols/OSCA...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
=== SNAC Data === | === SNAC Data === | ||
Unconfirmed: This SNAC contains no data | Unconfirmed: This SNAC contains no data | ||
@NOTE: May contain one of these TLVs (need to clarify, make context and conditions more obvious): [[Protocols/OSCAR/Foodgroups/ADMIN#Info_TLVs]] | |||
=== From Aleksandr Shutko: SNAC(07,03) ADMIN__INFO_REPLY === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
This is the client account info (screen-name formating, email info, etc) requested | |||
via [[Protocols/OSCAR/SNAC_07_02|SNAC(07,02)]]. It also may contain error | |||
code / error url instead if request failed.<br><br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=169> 00 07</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 03</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>SNAC request-id</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=630 cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td> | |||
<table width=630 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0> | |||
<tr><td bgcolor=#C9C9E9> | |||
Following structure may be repeated more then once | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=170> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>permissions flags <span> | |||
(1 - r/o, 2 - r/o, 3 - r/w)</span></td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>number of following TLVs</td> | |||
</tr> | |||
</table> | |||
<!-- TLV 0x01 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> 00 01</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x01) - user screenname</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> xx ..</td> | |||
<td width=5> </td> | |||
<td width=17%>string</td> | |||
<td width=5> </td> | |||
<td width=60%>user formated screenname</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
<!-- TLV 0x11 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> 00 11</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x11) - user email</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> xx ..</td> | |||
<td width=5> </td> | |||
<td width=17%>string</td> | |||
<td width=5> </td> | |||
<td width=60%>user email string</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
<!-- TLV 0x13 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> 00 13</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x13) - registration status</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> xx xx</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>registration status <span >(1 - no disclosure, | |||
2 - limit disclosure, 3 - full disclosure (?))</span></td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
<hr> | |||
<!-- TLV 0x08 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> 00 08</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x08) - error subcode</td> | |||
</tr> | |||
<tr> | |||
<td width=25%> xx xx</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> xx xx</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>error subcode (see below)</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5> </td> | |||
</tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
<!-- TLV 0x04 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> 00 04</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x04) - error description url</td> | |||
</tr> | |||
<tr> | |||
<td width=25%> xx xx</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=25%> xx ..</td> | |||
<td width=5> </td> | |||
<td width=17%>string</td> | |||
<td width=5> </td> | |||
<td width=60%>Error description url string</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td><td width=5></td> | |||
</tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Here is known administrative error codes list:<br><br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E5E5E5> | |||
<table width=100% cellSpacing=1 cellPadding=1 border=0 > | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0001</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > validate nickame</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0002</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > validate password</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0003</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > validate e-mail</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0004</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > service temporarily unavailable</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0005</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > field change temporarily unavailable</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0006</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid nickname</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0007</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid password</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0008</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid e-mail</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0009</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid registration preference</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000A</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid old password</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000B</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid nickname length</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000C</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid password length</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000D</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid e-mail length</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000E</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid old password length</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x000F</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > need old password</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0010</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > read only field</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0011</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > write only field</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0012</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > unsupported type</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0013</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > all other errors</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0014</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > bad snac</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0015</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid account</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0016</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > deleted account</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0017</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > expired account</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0018</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > no database access</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0019</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > invalid database fields</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001A</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > bad database status</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001B</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > migration cancel</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001C</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > internal error</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001D</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > pending request</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001E</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > not dt status</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x001F</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > outstanding confirm</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0020</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > no e-mail address</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0021</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > over limit</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0022</b></td> | |||
<td bgcolor=#f9f9f9 valign=top > e-mail host fail</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x0023</b></td> | |||
<td bgcolor=#f9f9f9 valign=top> dns fail</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
<br> | |||
<br>Example SNAC dumps with flap header: | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr> | |||
<td bgcolor=#E9E9E9> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 3D 1E 00 28 00 07 00 03 00 00 00 02 00 02 *.=..(.......... | |||
00 03 00 01 00 11 00 16 41 56 53 68 75 74 6B 6F ........AVShutko | |||
40 6D 61 69 6C 2E 6B 68 73 74 75 2E 72 75 @mail.khstu.ru | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
=== ADMIN SNACs === | === ADMIN SNACs === | ||
{{Protocols/OSCAR/Foodgroups/ADMIN/SNACs/Simple}} | {{Protocols/OSCAR/Foodgroups/ADMIN/SNACs/Simple}} | ||
[[Category:With_Contrib]] | |||
[[Category:Stub]] | [[Category:Stub]] | ||
[[Category:AOL]] | [[Category:AOL]] |
Latest revision as of 04:44, 13 February 2021
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
Datatypes • FLAP • SNAC • TLV |
UUIDs • Errors • Tool IDs |
Host Interaction |
Rate Limits • Migration • Messages |
Other Services |
ADMIN • ADVERT • ALERT |
BART • BOS • BUCP • CHAT |
CHAT_NAV |
Tutorials |
Sign On • BART • Rendezvous |
ICBM • Locate • Buddies |
Foodgroups |
OSERVICE (0x0001) |
LOCATE (0x0002) |
BUDDY (0x0003) |
ICBM (0x0004) |
ADVERT (0x0005) |
INVITE (0x0006) |
ADMIN (0x0007) |
POPUP (0x0008) |
PD (0x0009) |
USER_LOOKUP (0x000A) |
STATS (0x000B) |
TRANSLATE (0x000C) |
CHAT_NAV (0x000D) |
CHAT (0x000E) |
ODIR (0x000F) |
BART (0x0010) |
FEEDBAG (0x0013) |
ICQ (0x0015) |
BUCP (0x0017) |
ALERT (0x0018) |
PLUGIN (0x0022) |
UNNAMED_FG_24 (0x0024) |
MDIR (0x0025) |
ARS (0x044A) |
ID | Origin | Name | Foodgroup | Service | Status | Version |
---|---|---|---|---|---|---|
0x0007, 0x0003 | Host | ADMIN__INFO_REPLY | Unspecified | ADMIN | Active | 1.9 |
Reply to ADMIN__INFO_QUERY, may contain either account information or an error code and/or URL on failure.
SNAC Header
Foodgroup | uint16 (word) | 00 07 |
Subgroup | uint16 (word) | 00 03 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Unconfirmed: This SNAC contains no data
@NOTE: May contain one of these TLVs (need to clarify, make context and conditions more obvious): Protocols/OSCAR/Foodgroups/ADMIN#Info_TLVs
From Aleksandr Shutko: SNAC(07,03) ADMIN__INFO_REPLY
|
Here is known administrative error codes list:
|
Example SNAC dumps with flap header:
|
ADMIN SNACs
|