[CentOS] Please help: Any way to query host membership in nested ldap groups?

Sat Mar 2 19:38:45 UTC 2013
Gelen James <hahaha_30k at yahoo.com>

Hi all,

I have a openldap server setup with netsted netgruops,. Say the netgroups are:

ngA: (host1, -, - ), (host2, -, - )
ngB: ngA, (host3, - - )
ngc: ngB, (host4, -, -)

Is there a way to find host1's membership? so that I can return: ngA, ngB, ngC?

Thanks a lot.
--Rob