0

Using Ruby, I want to be able to connect to the Red Hat Identity Management System and retrieve a list of users that belong to a specific user group.

I know that you are able to get and search for users using the ipa command if you are on the server (as per the documentation in this link). However, I want to do this remotely like when you connect to an LDAP server.

Any suggestion how can I do that? can I do it through the LDAP library or interface in Ruby?

Sarah
  • 1,361
  • 2
  • 14
  • 20
  • I know nothing about Red Hat, but can you get the data using shell commands? If so, you could do it in Ruby using backticks. – max pleaner Jul 07 '16 at 16:50
  • I do not know how to do it in shell commands also – Sarah Jul 08 '16 at 00:41
  • The point is, I know the commands to retrieve the users if you are in the same server (using the ipa command as per the link here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Identity_Management_Guide/about-client-tools.html#ipa-command-displaying) but I want to do this remotely like when you connect to an LDAP server. – Sarah Jul 08 '16 at 02:23

0 Answers0