Protocols/OSCAR/SNAC/ADMIN INFO CHANGE REQUEST

From NINA Wiki
Jump to navigation Jump to search
OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
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, 0x0004 Client ADMIN__INFO_CHANGE_REQUEST Unspecified ADMIN Active 1.9

Change information request. Information may include screenname format, password, email address, and so on. Host will reply with ADMIN__INFO_CHANGE_REPLY.

SNAC Header

Foodgroup uint16 (word) 00 07
Subgroup uint16 (word) 00 04
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

From Aleksandr Shutko: SNAC(07,04) ADMIN__INFO_CHANGE_REQUEST


This is the client change account info (screen-name formating, email info, etc) request. Server should send ack via SNAC(07,05). This snac may contain one of the following TLV sets:

  TLV(01) - change screenname formatting
  TLV(11) - change account email
  TLV(13) - change registration status
  TLV(02), TLV(12) - change password

 00 07   word   SNAC family
 00 04   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(0x01) - user screenname
 xx xx   word   TLV.Length
 xx ..   string   user formated screenname

 00 11   word   TLV.Type(0x11) - user email
 xx xx   word   TLV.Length
 xx ..   string   user email string

 00 13   word   TLV.Type(0x13) - registration status
 xx xx   word   TLV.Length
 xx xx   word   registration status (1 - no disclosure, 2 - limit disclosure, 3 - full disclosure)

 00 02   word   TLV.Type(0x02) - new password
 xx xx   word   TLV.Length
 xx ..   string   new password string
 00 12   word   TLV.Type(0x12) - old password
 xx xx   word   TLV.Length
 xx ..   string   old password string



Example SNAC dumps with flap header:


  2A 02 6B C0 00 1B 00 07 00 04 00 00 00 01 00 04  *.k.............
  00 01 00 0D 52 45 41 4C 52 65 67 72 65 73 73 6F  ....REALRegresso
  72                                               r

  2A 02 6B C4 00 21 00 07 00 04 00 00 00 04 00 04  *.k..!..........
  00 11 00 13 61 61 61 61 61 40 6B 70 73 6D 2E 6B  ....aaaaa@kpsm.k
  68 73 74 75 2E 72 75                             hstu.ru


From Aleksandr Shutko: AIM change account info sequence

 <a name="account_change"></a> AIM change account info sequence
 

     This sequence used to change AIM service account info (screenname formatting, email, password). Server should ack account change request by SNAC(07,02)

 Change account info sequence
  >>   SNAC(07,04)   Client sends new account info to server
  <<   SNAC(07,05)   Server sends account change result



ADMIN SNACs

SNAC List
Subgroup Origin Name
0x0001 Any ADMIN__ERR
This is the error SNAC for the ADMIN foodgroup.
0x0002 Client ADMIN__INFO_QUERY
Request account information. Host should reply with ADMIN__INFO_REPLY.
0x0003 Host ADMIN__INFO_REPLY
Reply to ADMIN__INFO_QUERY, may contain either account information or an error code and/or URL on failure.
0x0004 Client ADMIN__INFO_CHANGE_REQUEST
Change information request. Information may include screenname format, password, email address, and so on. Host will reply with ADMIN__INFO_CHANGE_REPLY.
0x0005 Host ADMIN__INFO_CHANGE_REPLY
This is the response for ADMIN__INFO_CHANGE_REQUEST and may either confirm changes or contain an error code and/or URL.
0x0006 Client ADMIN__ACCT_CONFIRM_REQUEST
Request to confirm account via email.
0x0007 Host ADMIN__ACCT_CONFIRM_REPLY
Response to ADMIN__ACCT_CONFIRM_REQUEST, may contain status change, pending email confirmation notice, or error message.
0x0008 Client ADMIN__ACCT_DELETE_REQUEST
Account delete request. Host will reply with ADMIN__ACCT_DELETE_REPLY.
0x0009 Host ADMIN__ACCT_DELETE_REPLY
The account delete reply will either contain confirmation or an error code and/or URL.