Ask Your Question

working on ldap setup, now 'admin' login broken

asked 2015-05-04 16:33:04 -0600

chucknp gravatar image

updated 2015-05-05 13:12:33 -0600

Working on External authentication (LDAP) setup for Puppet Master, now the 'admin' signin doesn't work. Getting error: "Something unexpected occurred: {"msg":"We found multiple entries with the same lookup value in your directory service.","kind":"puppetlabs.rbac.ldap/non-unique-lookup-attr"}" From the cmdline log: "Found more than one match for attribute cn using value admin." I think I understand what's happening, but need to get into the gui as admin to work. Is there something I can do from the commandline?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-05 13:24:07 -0600

chucknp gravatar image

updated 2015-05-05 13:25:41 -0600

Answering my own question - was locked out of GUI (admin account) after changing LDAP external directory settings. Was able to get back in by setting a bogus LDAP parameter in /etc/puppetlabs/puppet/puppet.conf. Added this line to the puppet.conf file:

ldapuser = abc

You can edit puppet.conf manually or run this command:

puppet config set ldapuser abc

This made the LDAP access invalid and was able to get back into the GUI (after bouncing Puppet).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-05-04 16:33:04 -0600

Seen: 203 times

Last updated: May 05 '15