diff options
Diffstat (limited to 'pynslcd/pam.py')
-rw-r--r-- | pynslcd/pam.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pynslcd/pam.py b/pynslcd/pam.py index d795a64..2203e19 100644 --- a/pynslcd/pam.py +++ b/pynslcd/pam.py @@ -1,7 +1,7 @@ # pam.py - functions authentication, authorisation and session handling # -# Copyright (C) 2010 Arthur de Jong +# Copyright (C) 2010, 2011 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -18,15 +18,15 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 USA -import constants -import common -import cfg - import logging import ldap +import constants +import common +import cfg import passwd + def try_bind(userdn, password): # open a new connection conn = ldap.initialize(cfg.ldap_uri) |