[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sshproxy-dev] Changes to sshproxy/SSHproxy/server/server.py
From: |
Pierre-Yves Rofes |
Subject: |
[sshproxy-dev] Changes to sshproxy/SSHproxy/server/server.py |
Date: |
Fri, 23 Sep 2005 11:35:49 -0400 |
Index: sshproxy/SSHproxy/server/server.py
diff -u sshproxy/SSHproxy/server/server.py:1.2
sshproxy/SSHproxy/server/server.py:1.3
--- sshproxy/SSHproxy/server/server.py:1.2 Mon Jul 25 21:41:37 2005
+++ sshproxy/SSHproxy/server/server.py Fri Sep 23 15:35:45 2005
@@ -42,8 +42,10 @@
return paramiko.OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED
def check_auth_password(self, username, password):
- if login.login(username=username, password=password):
+ if pwdb.is_allowed(user=username, passwd=password):
return paramiko.AUTH_SUCCESSFUL
+ #if login.login(username=username, password=password):
+ # return paramiko.AUTH_SUCCESSFUL
return paramiko.AUTH_FAILED
def check_auth_publickey(self, username, key):
- [sshproxy-dev] Changes to sshproxy/SSHproxy/server/server.py,
Pierre-Yves Rofes <=