summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-08-21 02:58:07 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-08-21 02:58:07 +0000
commitbd3010263be24425206587abfdb41164089e2157 (patch)
tree996fac2283eeb7d045e9cfd2815746d2b14ef0f9 /source/auth
parenta1e97aafe54a2960409637d67af847420b003ec8 (diff)
downloadsamba-bd3010263be24425206587abfdb41164089e2157.tar.gz
samba-bd3010263be24425206587abfdb41164089e2157.tar.xz
samba-bd3010263be24425206587abfdb41164089e2157.zip
Add a new option to disable our paranoid server check.
Defaults to ON, ie checking
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_server.c b/source/auth/auth_server.c
index 1960fc1cfbe..0711b056bd2 100644
--- a/source/auth/auth_server.c
+++ b/source/auth/auth_server.c
@@ -158,7 +158,7 @@ static uint32 server_validate(const auth_usersupplied_info *user_info, auth_serv
* - abartlet@samba.org
*/
- if(!tested_password_server) {
+ if ((!tested_password_server) && (lp_paranoid_server_security())) {
if (cli_session_setup(cli, baduser, (char *)badpass, sizeof(badpass),
(char *)badpass, sizeof(badpass), user_info->domain.str)) {