[chef] Re: LDAP integration with Chef


Chronological Thread 
  • From: Mark Mzyk < >
  • To:
  • Subject: [chef] Re: LDAP integration with Chef
  • Date: Tue, 14 Oct 2014 12:46:29 -0400

Hey Trim,

You shouldn't need to add all of those values in the embedded cookbooks. There are a number of settings that can be put in the private-chef.rb/chef-server.rb file to make this work.

See the docs here: https://docs.getchef.com/server_ldap.html

Note that you need either an Enterprise Chef 11 release or Chef 12 for this to work. And as of this moment LDAP doesn't work in the latest Chef 12 RC4. This will be fixed in the next RC.

Thanks,

Mark Mzyk

" type="cite">
" photoname="Trimurtulu k" src="jpg6CFuamL1bx.jpg" name="compose-unknown-contact.jpg" height="25px" width="25px">
October 14, 2014 at 12:29 PM
Hello Chef,

I am working on integrating the Chef with LDAP but it is not working.

Added following lines under /opt/opscode/embedded/cookbooks/private-chef/attributes/default.rb file,

default['private_chef']['ldap']['host'] = '<ldaphost>'
default['private_chef']['ldap']['bind_dn'] = '<ldap>'
default['private_chef']['ldap']['bind_password'] = '<password>'
default['private_chef']['ldap']['base_dn'] = <ldap>'
default['private_chef']['ldap']['system_adjective'] = 'corporate'



private-chef-ctl reconfigure.

What i am missing here?

Thanks,
Trim



Archive powered by MHonArc 2.6.16.

§