627 |
} |
} |
628 |
|
|
629 |
/* Establish a connection up to the RDP layer */ |
/* Establish a connection up to the RDP layer */ |
630 |
BOOL rdp_connect(char *server) |
BOOL rdp_connect(char *server, uint32 flags, char *domain, char *password, |
631 |
|
char *command, char *directory) |
632 |
{ |
{ |
633 |
if (!sec_connect(server)) |
if (!sec_connect(server)) |
634 |
return False; |
return False; |
635 |
|
|
636 |
rdp_send_logon_info(0x33, "", username, "", "", ""); |
rdp_send_logon_info(flags, domain, username, password, |
637 |
|
command, directory); |
638 |
return True; |
return True; |
639 |
} |
} |
640 |
|
|