8.1.4.1.1. cobbler.modules.authentication package

8.1.4.1.1.1. Submodules

8.1.4.1.1.2. cobbler.modules.authentication.configfile module

Authentication module that uses /etc/cobbler/auth.conf Choice of authentication module is in /etc/cobbler/modules.conf

cobbler.modules.authentication.configfile.authenticate(api_handle, username, password)[source]

Validate a username/password combo, returning True/False

Thanks to http://trac.edgewall.org/ticket/845 for supplying the algorithm info.

cobbler.modules.authentication.configfile.md5(key)[source]
cobbler.modules.authentication.configfile.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.3. cobbler.modules.authentication.denyall module

Authentication module that denies everything. Used to disable the WebUI by default.

cobbler.modules.authentication.denyall.authenticate(api_handle, username, password)[source]

Validate a username/password combo, returning True/False

Thanks to http://trac.edgewall.org/ticket/845 for supplying the algorithm info.

cobbler.modules.authentication.denyall.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.4. cobbler.modules.authentication.ldap module

Authentication module that uses ldap Settings in /etc/cobbler/authn_ldap.conf Choice of authentication module is in /etc/cobbler/modules.conf

cobbler.modules.authentication.ldap.authenticate(api_handle, username, password)[source]

Validate an ldap bind, returning True/False

cobbler.modules.authentication.ldap.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.5. cobbler.modules.authentication.pam module

Authentication module that uses /etc/cobbler/auth.conf Choice of authentication module is in /etc/cobbler/modules.conf

PAM python code based on the pam_python code created by Chris AtLee: http://atlee.ca/software/pam/

class cobbler.modules.authentication.pam.PamConv[source]

Bases: _ctypes.Structure

wrapper class for pam_conv structure

appdata_ptr

Structure/Union member

conv

Structure/Union member

class cobbler.modules.authentication.pam.PamHandle[source]

Bases: _ctypes.Structure

wrapper class for pam_handle_t

handle

Structure/Union member

class cobbler.modules.authentication.pam.PamMessage[source]

Bases: _ctypes.Structure

wrapper class for pam_message structure

msg

Structure/Union member

msg_style

Structure/Union member

class cobbler.modules.authentication.pam.PamResponse[source]

Bases: _ctypes.Structure

wrapper class for pam_response structure

resp

Structure/Union member

resp_retcode

Structure/Union member

cobbler.modules.authentication.pam.authenticate(api_handle, username, password)[source]

Returns True if the given username and password authenticate for the given service. Returns False otherwise

cobbler.modules.authentication.pam.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.6. cobbler.modules.authentication.passthru module

Authentication module that defers to Apache and trusts what Apache trusts.

cobbler.modules.authentication.passthru.authenticate(api_handle, username, password)[source]

Validate a username/password combo, returning True/False Uses cobbler_auth_helper

cobbler.modules.authentication.passthru.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.7. cobbler.modules.authentication.spacewalk module

Authentication module that uses Spacewalk’s auth system. Any org_admin or kickstart_admin can get in.

cobbler.modules.authentication.spacewalk.authenticate(api_handle, username, password)[source]

Validate a username/password combo, returning True/False

This will pass the username and password back to Spacewalk to see if this authentication request is valid.

See also: http://www.redhat.com/spacewalk/documentation/api/0.4/

cobbler.modules.authentication.spacewalk.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.8. cobbler.modules.authentication.testing module

Authentication module that denies everything. Unsafe demo. Allows anyone in with testing/testing.

cobbler.modules.authentication.testing.authenticate(api_handle, username, password)[source]

Validate a username/password combo, returning True/False

Thanks to http://trac.edgewall.org/ticket/845 for supplying the algorithm info.

cobbler.modules.authentication.testing.register()[source]

The mandatory cobbler module registration hook.

8.1.4.1.1.9. Module contents