we have integrated chef-server standalone with our IdM-LDAP, when I try to login from chef-manage console using LDAP user, I'm getting
"Welcome! It looks like this is the first time you have logged into Chef using your corporate login. You may now link your account to proceed.
But erchef log shows the following info.
/var/log/opscode/opscode-erchef/erchef.log
[error] {<<"method=GET; path=/users/test_user; status=404; ">>,"Not Found"}
And request log contains
/var/log/opscode/opscode-erchef/requests.log.1 <==
2018-11-07T16:21:17Z erchef@127.0.0.1 method=POST; path=/authenticate_user; status=200; req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEDAADP4gAAAAEAAAAA; couchdb_groups=false; couchdb_organizations=false; couchdb_containers=false; couchdb_acls=false; 503_mode=false; couchdb_associations=false; couchdb_association_requests=false; req_time=8; rdbms_time=0; rdbms_count=3; user=pivotal; req_api_version=0;
2018-11-07T16:21:17Z erchef@127.0.0.1 method=GET; path=/users/test_user; status=404; req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEDAADQBgAAAAEAAAAA; msg=user_not_found; couchdb_groups=false; couchdb_organizations=false; couchdb_containers=false; couchdb_acls=false; 503_mode=false; couchdb_associations=false; couchdb_association_requests=false; req_time=2; rdbms_time=0; rdbms_count=2; user=pivotal; req_api_version=0;
It looks like chefserver trying to re-authenticate using it's local database.
Is this how chefserver with ldap works? is there a way we can avoid Local authentication
Can somebody help us.