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

**URL:** <https://discourse.chef.io/t/how-to-add-a-user-with-a-group-created-in-ldap-with-chef/10626>\
**Category:** Chef Infra (archive)\
**Created:** [March 23, 2017, 9:28pm UTC](https://discourse.chef.io/t/how-to-add-a-user-with-a-group-created-in-ldap-with-chef/10626 "2017-03-23T21:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phanikumar](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@phanikumar](https://discourse.chef.io/u/phanikumar)\
**Post date:** [March 23, 2017, 9:28pm UTC](https://discourse.chef.io/t/how-to-add-a-user-with-a-group-created-in-ldap-with-chef/10626/1 "2017-03-23T21:28:27Z")

</div>

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
