This is bug #312722 in the bug tracker for mod_shared_roster_ldap before it was integrated into ejabberd.
Moving this here as I want to retire the old bug tracker.
Reported by Max Kosmach email@example.com on 2010-09-24 13:53:
It would be nice to add ability to user nested group in shared roster.
And shared roster groups: