We would like to use a hashed password with the API. Example below: #!/usr/bin/pythonimport xmlrpclib
SATELLITE_URL = "http://satellite.example.com/rpc/api" SATELLITE_LOGIN = "username" SATELLITE_PASSWORD = "password" client = xmlrpclib.Server(SATELLITE_URL, verbose=0) key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)list = client.user.list_users(key)for user in list: print user.get('login') client.auth.logout(key) Will this cause any problems in other areas? Will it work at all?
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
