Bug #22689
openImprove error messages for netgroup intergration with satellite
Description
How reproducible:
Always
Steps to Reproduce:
1. Add A ldap Auth source which have netgroups
2. Fill all the details, for groupdn , query the the IPA for netgroup info.
In my case,
ipa net-group show netgroup1 returned
-----------------
dn: ipaUniqueID=db1970b6-ff9b-11e7-8926-001a4a3ea604,cn=ng,cn=alt,dc=satqe,dc=lab,dc=eng,dc=rdu2,dc=redhat,dc=com
3. This dn is wrong and not what satellite needs, check tooltip for correct format
4. The Auth source is successfully submitted
5. On adding the external group from auth source in user groups
Actual results:
Unable to save
Could not refresh external usergroups: NoMethodError - undefined method `nisnetgrouptriple' for #<Net::LDAP::Entry:0x007fde55144638> -
No stack trace in logs
Expected results:
Error should be meaningful ,For eg: No such group, or Check groupDN.
Something indicating to the actual problem
Additional info:
No data to display