~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/auth/ldap_auth.py

  • Committer: David Coles
  • Date: 2009-12-02 19:16:46 UTC
  • mfrom: (1332.1.4 console-fix)
  • Revision ID: coles.david@gmail.com-20091202191646-e55k83yd7sera1fk
When a console is restarted due to either being reset from the UI or killed 
due to inactivity/resource limits then will restart at the correct working 
directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
import ldap
29
29
 
30
 
from autherror import AuthError
 
30
from ivle.auth import AuthError
31
31
import ivle.conf
32
32
 
33
 
def auth(dbconn, login, password, user):
 
33
def auth(store, login, password, user):
34
34
    """
35
35
    A plugin auth function, as described above.
36
36
    This one authenticates against an LDAP server.