mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
Add a new torture test to extract a NT->DOS error map from an NT member of a
samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett
This commit is contained in:
@@ -198,6 +198,13 @@ struct cli_state *cli_initialise(struct cli_state *cli)
|
||||
cli->oplock_handler = cli_oplock_ack;
|
||||
cli->use_spnego = True;
|
||||
|
||||
/* Set the CLI_FORCE_DOSERR environment variable to test
|
||||
client routines using DOS errors instead of STATUS32
|
||||
ones. This intended only as a temporary hack. */
|
||||
if (getenv("CLI_FORCE_DOSERR")) {
|
||||
cli->force_dos_errors = True;
|
||||
}
|
||||
|
||||
if (!cli->outbuf || !cli->inbuf)
|
||||
goto error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user