How to add a user with a group created in LDAP with Chef

I have a requirement where I need to add a user sample to a group that existing in LDAP. I am getting error as it is unable to find the group in /etc/groups folder. Can someone help me out on this