Jump to >

reviewboard.accounts.backends.nis

NIS authentication backend.

class NISBackend[source]

Bases: reviewboard.accounts.backends.base.BaseAuthBackend

Authenticate against a user on an NIS server.

backend_id = u'nis'[source]
name = _(u'NIS')[source]
settings_form[source]

alias of reviewboard.accounts.forms.auth.NISSettingsForm

login_instructions = _(u'Use your standard NIS username and password.')[source]
authenticate(username, password, **kwargs)[source]

Authenticate the user.

This will authenticate the username and return the appropriate User object, or None.

get_or_create_user(username, request, passwd=None)[source]

Get an existing user, or create one if it does not exist.