cobbler.modules.authentication package¶
Submodules¶
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.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.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.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.passthru module¶
Authentication module that defers to Apache and trusts what Apache trusts.
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.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.