# Integrating Supermarket with Active Directory

**URL:** <https://discourse.chef.io/t/integrating-supermarket-with-active-directory/10179>\
**Category:** Chef Infra (archive)\
**Created:** [January 10, 2017, 9:25pm UTC](https://discourse.chef.io/t/integrating-supermarket-with-active-directory/10179 "2017-01-10T21:25:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lobb](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@lobb](https://discourse.chef.io/u/lobb)\
**Post date:** [January 10, 2017, 9:25pm UTC](https://discourse.chef.io/t/integrating-supermarket-with-active-directory/10179/1 "2017-01-10T21:25:38Z")

</div>

Hi Everyone. I just finished configuring the Chef Server with AD and now I am working on doing the same with supermarket. I cant seem to figure out what to put in my supermarket.rb file for this – does anyone know how to specify the AD values (such as base dn, bind dn, etc) for supermarket?

Thanks!

---

<div class="post-metadata">

**Author:** ![robbkidd](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/robbkidd/32/2101_2.png) [@robbkidd](https://discourse.chef.io/u/robbkidd)\
**Post date:** [January 11, 2017, 5:05am UTC](https://discourse.chef.io/t/integrating-supermarket-with-active-directory/10179/2 "2017-01-11T05:05:59Z")

</div>

Supermarket does not authenticate directly via AD/LDAP, but authenticates users via the Chef Server. Steps to [configure Chef Server and Supermarket for oauth2](https://docs.chef.io/install_supermarket.html#chef-identify) can be found in the docs site.
