[Spacewalk-list] cobbler - authn_spacewalk - xmlrpc api

Tom Brown tom at ng23.net
Wed Jul 7 19:11:39 UTC 2010


Hi

We use cobbler with spacewalk over the top and there is an auth
mechanism called authn_spacewalk which as far as i can tell is
provided by Spacewalk. I am trying to use the xmlrpc api to add
systems into cobbler but all i ever get is ....

Traceback (most recent call last):
 File "xml-rpc.py", line 13, in ?
   token = conn.login("testuser","testpass")
 File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
   return self.__send(self.__name, args)
 File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
   verbose=self.__verbose
 File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
   return self._parse_response(h.getfile(), sock)
 File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
   return u.close()
 File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
   raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "cobbler.cexceptions.CX:'login failed: testuser'">

'testuser' using 'testpass' can log into Spacewalk just fine. Anyone
tried this or have any clues?

# authentication:
# what users can log into the WebUI and Read-Write XMLRPC?
# choices:
#    authn_denyall    -- no one (default)
#    authn_configfile -- use /etc/cobbler/users.digest (for basic setups)
#    authn_passthru   -- ask Apache to handle it (used for kerberos)
#    authn_ldap       -- authenticate against LDAP
#    authn_spacewalk  -- ask Spacewalk/Satellite (experimental)
#    authn_testing    -- username/password is always testing/testing (debug)
#    (user supplied)  -- you may write your own module
# WARNING: this is a security setting, do not choose an option blindly.
# for more information:
# https://fedorahosted.org/cobbler/wiki/CobblerWebInterface
# https://fedorahosted.org/cobbler/wiki/CustomizableSecurity
# https://fedorahosted.org/cobbler/wiki/CobblerWithKerberos
# https://fedorahosted.org/cobbler/wiki/CobblerWithLdap

[authentication]
module = authn_spacewalk

thanks




More information about the Spacewalk-list mailing list