login to linux server using trusted AD

Issues related to applications and software problems
Post Reply
mrsingh88
Posts: 1
Joined: 2023/12/19 13:09:08

login to linux server using trusted AD

Post by mrsingh88 » 2023/12/19 13:18:28

HI

We have a set of linux server on OCI and two ADs (let us say X and Y)

There is a trust setup between X and Y.

All linux servers are integrated to Y domain. we are able to login to servers using users from Y domain. we want to eastablish login from user in X domain as well. which is not working. Ideally as there is a trust between X and Y, so it should work. We have same setup for windows as well where this works.

following some log snippets from /var/log/secure file when login is tried


Nov 28 13:34:14 <HOSTNAME> sshd[11844]: Invalid user <USER>@X.local from <IP> port 56610

Nov 28 13:34:14 <HOSTNAME> sshd[11844]: input_userauth_request: invalid user <USER>@X.local [preauth]

Nov 28 13:34:17 <HOSTNAME> sshd[11844]: Connection closed by <IP> port 56610 [preauth]

Nov 28 13:34:21 <HOSTNAME> sshd[11851]: Invalid user <USER>@X.local from <IP> port 56614

Nov 28 13:34:21 <HOSTNAME> sshd[11851]: input_userauth_request: invalid user <USER>@X.local [preauth]

Nov 28 13:34:36 <HOSTNAME> sshd[11851]: pam_faillock(sshd:auth): User unknown

Nov 28 13:34:36 <HOSTNAME> sshd[11851]: pam_unix(sshd:auth): check pass; user unknown

Nov 28 13:34:36 <HOSTNAME> sshd[11851]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<IP>

Nov 28 13:34:38 <HOSTNAME> sshd[11851]: Failed password for invalid user <USER>@X.local from <IP> port 56614 ssh2

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: login to linux server using trusted AD

Post by tunk » 2023/12/19 14:43:53


User avatar
TrevorH
Site Admin
Posts: 33224
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: login to linux server using trusted AD

Post by TrevorH » 2023/12/19 15:37:41

Well if it is then there is a compromise at a well known company (350,000+ employees) that has access to the email address associated with this account. I am unable to read that Oracle link - it asks me to login then when I do it tells me I'm not allowed to read it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply