File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,10 @@ class PamLoginException(Exception):
22 pass
33
44
5- def login (conn ):
6- if conn .server_version >= (4 , 3 ):
7- raise PamLoginException (
8- 'PAM logins in iRODS 4.3+ require a scheme of "pam_password"'
9- )
10- conn ._login_pam ()
11-
12-
13- # Pattern for when you need to import from sibling plugins:
14- from .native import login as native_login
5+ def login (conn ,** opts ):
6+ msg = "In iRODS 4.3+, PAM logins use the new authentication plugin framework by default, which " \
7+ "requires the authentication scheme be set to 'pam_password' rather than simply 'pam'. " \
8+ "Users may choose legacy authentication " \
9+ "by setting legacy_auth.force_legacy_auth to True in the client configuration; however, be advised " \
10+ "that the legacy code path will be removed in a future release of iRODS."
11+ raise PamLoginException (msg )
You can’t perform that action at this time.
0 commit comments