mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
fixed ERRMAPEXTRACT torture to work with win2k
(This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
This commit is contained in:
parent
af643d5f1f
commit
34b9c7cee2
@ -2869,27 +2869,21 @@ static BOOL run_error_map_extract(int dummy) {
|
||||
|
||||
fstring user;
|
||||
|
||||
if (!open_nbt_connection(&c_dos)) {
|
||||
return False;
|
||||
}
|
||||
|
||||
if (!open_nbt_connection(&c_nt)) {
|
||||
return False;
|
||||
}
|
||||
|
||||
c_dos.force_dos_errors = True;
|
||||
|
||||
if (!cli_negprot(&c_dos)) {
|
||||
printf("%s rejected the DOS-error negprot (%s)\n",host, cli_errstr(&c_dos));
|
||||
cli_shutdown(&c_dos);
|
||||
return False;
|
||||
}
|
||||
open_nbt_connection(&c_nt);
|
||||
if (!cli_negprot(&c_nt)) {
|
||||
printf("%s rejected the NT-error negprot (%s)\n",host, cli_errstr(&c_nt));
|
||||
cli_shutdown(&c_nt);
|
||||
return False;
|
||||
}
|
||||
|
||||
open_nbt_connection(&c_dos);
|
||||
c_dos.force_dos_errors = True;
|
||||
if (!cli_negprot(&c_dos)) {
|
||||
printf("%s rejected the DOS-error negprot (%s)\n",host, cli_errstr(&c_dos));
|
||||
cli_shutdown(&c_dos);
|
||||
return False;
|
||||
}
|
||||
|
||||
for (error=(0xc0000000 | 0x1); error < (0xc0000000| 0xFFF); error++) {
|
||||
snprintf(user, sizeof(user), "%X", error);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user