Is there a way to structure users in shared roster by ldap attr?

no, but I like this idea. You can group based on AD group membership though. Here is how I used to do it.