I'm on a windows computer RDPing to a RHEL 7 Server. I now want to be able to log into that server using my windows domain credentials(over SSH, preferably RDP too but not necessary). Here's what I have so far :
realm list
returns my domain informationkinit [email protected]
works fineldapsearch -H ldap://srv-ad.mycompancy.local/ -Y GSSAPI -N -b "dc=mycompany,dc=local" "(sAMAccountName=SRV-DEV008$)"
returns all information about that account from the LDAP. srv-dev008 is my RHEL server.- I configured my PAM like this : Archlinux Wiki
However, I can not log in using my domain credentials. I do NOT have direct access to the AD, as I'm not an administrator in my company. I'm supposed to be able to do this task without their help (this is for an apprenticeship), all they did was add the SRV-DEV008 machine account to the AD. What am I missing? I appreciate any help.
/var/log/secure
shows that the usernames I tried (they exist on the domain) are invalid. I have also tried DOMAIN\username and username@DOMAIN, no success.ldapsearch
with a more verbose debug level.