/[rdesktop]/jpeg/rdesktop/trunk/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 365 by matthewc, Wed Apr 16 08:19:15 2003 UTC revision 369 by forsberg, Tue Apr 22 15:48:56 2003 UTC
# Line 143  rdp_send_logon_info(uint32 flags, char * Line 143  rdp_send_logon_info(uint32 flags, char *
143          uint32 sec_flags = encryption ? (SEC_LOGON_INFO | SEC_ENCRYPT) : SEC_LOGON_INFO;          uint32 sec_flags = encryption ? (SEC_LOGON_INFO | SEC_ENCRYPT) : SEC_LOGON_INFO;
144          STREAM s;          STREAM s;
145    
146          if (1 == server_rdp_version)          if (!use_rdp5 || 1 == server_rdp_version)
147          {          {
148                  DEBUG_RDP5(("Sending RDP4-style Logon packet\n"));                  DEBUG_RDP5(("Sending RDP4-style Logon packet\n"));
149    
# Line 181  rdp_send_logon_info(uint32 flags, char * Line 181  rdp_send_logon_info(uint32 flags, char *
181                                             with a 0 length block as well */                                             with a 0 length block as well */
182                  out_uint16_le(s, len_program);                  out_uint16_le(s, len_program);
183                  out_uint16_le(s, len_directory);                  out_uint16_le(s, len_directory);
184                    rdp_out_unistr(s, domain, len_domain);
185                  if (flags & RDP_LOGON_AUTO)                  if (flags & RDP_LOGON_AUTO)
186                  {                  {
187                          rdp_out_unistr(s, password, len_password);                          rdp_out_unistr(s, password, len_password);
188                  }                  }
                 rdp_out_unistr(s, domain, len_domain);  
189                  rdp_out_unistr(s, user, len_user);                  rdp_out_unistr(s, user, len_user);
190                  out_uint16(s, 0);                  out_uint16(s, 0);
191                  out_uint16(s, 0);                  out_uint16(s, 0);

Legend:
Removed from v.365  
changed lines
  Added in v.369

  ViewVC Help
Powered by ViewVC 1.1.26