diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-25 02:35:37 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-25 02:35:37 +0000 |
commit | a71f3f66a1b47a70e402c4d82736f376449b923c (patch) | |
tree | f1a553543427f3bddda2f8f12babf00e10676c4a /source3/libsmb/cliconnect.c | |
parent | 97346ea795f43a9d9487d9c1a63af4016a72e753 (diff) | |
download | samba-a71f3f66a1b47a70e402c4d82736f376449b923c.tar.gz samba-a71f3f66a1b47a70e402c4d82736f376449b923c.tar.bz2 samba-a71f3f66a1b47a70e402c4d82736f376449b923c.zip |
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 used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 4ea19db9ec..ed4bfcd9e3 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -117,10 +117,7 @@ static uint32 cli_session_setup_capabilities(struct cli_state *cli) { uint32 capabilities = CAP_NT_SMBS; - /* 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")) { + if (!cli->force_dos_errors) { capabilities |= CAP_STATUS32; } |