[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenLdap





On Mon, Oct 11, 2021, 6:04 PM Nicholas Geovanis <nickgeovanis@gmail.com> wrote:


On Mon, Oct 11, 2021, 7:31 AM Gokan Atmaca <linux.gokan@gmail.com> wrote:
Hello

I am using openldap. I configured a different server as ldap client.
When I say "id user", the information comes. I have two organized
units. "people" and "groups". my test environment.  But I can't login.
What could be causing the problem?

The immediate reason for the failure should be found in the sshd logs in /var. But the trick with LDAP for login authentication is this:

(1) Make sure the services file is stepping thru the authentication databases in the order you believe is correct.

I wrote "services file". 
I actually meant PAM configuration.


Example:
$ id gokhan (ldap_user)
uid=10000(gokhan) gid=2000(ob) groups=2000(ob)

Thanks.


--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀


Reply to: