How to use LDAP authentication on SAM server used for Enhanced Entitlements Reporting with RHN Satellite 5.6?

Solution Verified - Updated -

Issue

  • Is it possible to use LDAP authentication on SAM server which is used for Enhanced Entitlements Reporting with RHN Satellite 5.6?
  • After installation & configuration of SAM as per documentation, face error with spacewalk-splice-checkin command:

    # su - splice -s /bin/bash
    -bash-4.1$ spacewalk-splice-checkin --spacewalk-sync
      Traceback (most recent call last):
     File "/usr/bin/spacewalk-splice-checkin", line 100, in <module>
       checkin.main(opts)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 232, in main
       spacewalk_sync(options)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 167, in spacewalk_sync
       kps.update_roles(sw_user_list)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_sync.py", line 184, in update_roles
       self.katello_client.ungrant_full_admin(kt_user=kt_users[kt_username])
    TypeError: ungrant_full_admin() takes exactly 3 non-keyword arguments (2 given)
    

    OR

    -bash-4.1$ spacewalk-splice-checkin 
    Traceback (most recent call last):
     File "/usr/bin/spacewalk-splice-checkin", line 100, in <module>
       checkin.main(opts)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 232, in main
       spacewalk_sync(options)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 165, in spacewalk_sync
       kps.update_owners(org_list)
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_sync.py", line 50, in update_owners
       owners = self.katello_client.get_owners()
     File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_connect.py", line 48, in get_owners
       return self.orgapi.organizations()
     File "/usr/lib/python2.6/site-packages/katello/client/api/organization.py", line 40, in organizations
       orgs = self.server.GET(path)[1]
     File "/usr/lib/python2.6/site-packages/katello/client/server.py", line 425, in GET
       return self._request('GET', path, queries, custom_headers=custom_headers)
     File "/usr/lib/python2.6/site-packages/katello/client/server.py", line 249, in _request
       return self._process_response(connection.getresponse())
     File "/usr/lib/python2.6/site-packages/katello/client/server.py", line 306, in _process_response
       raise ServerRequestError(response.status, message.strip(), traceback.strip())
    katello.client.server.ServerRequestError: (500, u'', u'')
    
  • When trying to access SAM webui, it do not proceed from login screen.

Environment

  • RHN Satellite 5.6
  • Subscription Asset Manager 1.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content