Changeset 128 for branches/samba-3.0/source/ndpsmb/smbwrp.c
- Timestamp:
- Apr 23, 2008, 10:07:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/ndpsmb/smbwrp.c
r126 r128 388 388 NTSTATUS rc; 389 389 struct cli_state * c; 390 char* dev_type; 390 391 391 392 zero_ip(&ip); … … 476 477 debuglocal(4," session setup ok. Sending tconx <%s> <********>\n", share); 477 478 478 if (!cli_send_tconX(c, share, "?????", 479 // YD ticket:58 we need to check resource type to avoid connecting to printers. 480 // dev type is set to IPC for IPC$, A: for everything else (printers use LPT1:) 481 if (!strcmp( share, "IPC$")) 482 dev_type = "IPC"; 483 else 484 dev_type = "A:"; 485 486 if (!cli_send_tconX(c, share, dev_type, 479 487 srv->password, strlen(srv->password)+1)) { 480 488 cli_shutdown(c);
Note:
See TracChangeset
for help on using the changeset viewer.