# Chef Compliance + external LDAP AuthN support?

**URL:** <https://discourse.chef.io/t/chef-compliance-external-ldap-authn-support/8151>\
**Category:** Chef Automate\
**Created:** [April 4, 2016, 6:37pm UTC](https://discourse.chef.io/t/chef-compliance-external-ldap-authn-support/8151 "2016-04-04T18:37:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjbischoff](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@cjbischoff](https://discourse.chef.io/u/cjbischoff)\
**Post date:** [April 4, 2016, 6:37pm UTC](https://discourse.chef.io/t/chef-compliance-external-ldap-authn-support/8151/1 "2016-04-04T18:37:01Z")

</div>

Just checking if Chef Compliance support external authentication with LDAP?

I performed the setup using [https://docs.chef.io/server\_ldap.html](https://docs.chef.io/server_ldap.html) and then

`sudo chef-compliance-ctl reconfigure` and got the following error(s)

```auto
[2016-04-04T18:32:58+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-04-04T18:32:58+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 01 seconds
[2016-04-04T18:32:58+00:00] FATAL: Stacktrace dumped to /opt/chef-compliance/embedded/cookbooks/cache/chef-stacktrace.out
[2016-04-04T18:32:58+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-04-04T18:32:58+00:00] FATAL: RuntimeError: Error loading file: /etc/chef-compliance/chef-compliance.rb:3:in `from_file': undefined method `[]=' for nil:NilClass

```

My configuration is

```auto
ldap['base_dn'] = 'ou=Users,o=STUFF,dc=DOMAIN,dc=com'
ldap['bind_dn'] = 'uid=ldap.bind,ou=Users,o=STUFF,dc=DOMAIN,dc=com'
ldap['bind_password'] = 'PASSWORD'
ldap['group_dn'] = 'cn=CHEF_COMPLIANCE,ou=Users,o=STUFF,dc=DOMAIN,dc=com'
ldap['host'] = 'ldap.DOMAIN.com'
ldap['login_attribute'] = 'uid'
ldap['port'] = '636'

```

The config looks solid unless I am missing something (line 3 is the first ldap attribute)

---

<div class="post-metadata">

**Author:** ![chris-rock](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@chris-rock](https://discourse.chef.io/u/chris-rock)\
**Post date:** [May 19, 2016, 10:55pm UTC](https://discourse.chef.io/t/chef-compliance-external-ldap-authn-support/8151/2 "2016-05-19T22:55:35Z")

</div>

@cjbischoff Chef Compliance does not support LDAP yet. Could you please vote for [https://feedback.chef.io/forums/330231-compliance-product-feedback/suggestions/12844689-ldap-authentication-for-chef-complaince](https://feedback.chef.io/forums/330231-compliance-product-feedback/suggestions/12844689-ldap-authentication-for-chef-complaince)
