summaryrefslogtreecommitdiffstats
path: root/source3/auth/auth_server.c
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
commit252742f2b021e8d7a06c8c86e099e616511f9996 (patch)
tree9508d39f5ae43c6f3114c42660bed20bb566b0f8 /source3/auth/auth_server.c
parent1c946805b92f05c0df34218ef559ce0ae6a035e3 (diff)
downloadsamba-252742f2b021e8d7a06c8c86e099e616511f9996.tar.gz
samba-252742f2b021e8d7a06c8c86e099e616511f9996.tar.xz
samba-252742f2b021e8d7a06c8c86e099e616511f9996.zip
Add a new option to disable our paranoid server check.
Defaults to ON, ie checking (This used to be commit bd3010263be24425206587abfdb41164089e2157)
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 1960fc1cfb..0711b056bd 100644
--- a/source3/auth/auth_server.c
+++ b/source3/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)) {