LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to join window active directory domain in centos 7 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-join-window-active-directory-domain-in-centos-7-a-4175562757/)

shaana2khan 12-30-2015 10:01 PM

How to join window active directory domain in centos 7
 
[root@imp ~]# kinit username@domain.local
Password for nitan.kumar@impressico.local:
kinit: KDC reply did not match expectations while getting initial credentials

2nd error:-
[root@imp ~]# /usr/bin/net join -w domain -S ad.domain.local -U ad username
Enter userpassword password:
Failed to join domain: failed to set machine kerberos encryption types: Insufficient access
ADS join did not work, falling back to RPC...
Enter User passsword password:
Failed to join domain: failed to lookup DC info for domain 'IMPRESSICO' over rpc: Logon failure

I did Google lot but there are few errors messages answer aren't available on Google.

Please send me Ur l or any type of help which can help to sort it out.
This is my first post and next time I'll post all the error messages here for further process.


Thanks

TB0ne 12-31-2015 05:36 PM

Quote:

Originally Posted by shaana2khan (Post 5471177)
[root@imp ~]# kinit username@domain.local
Password for nitan.kumar@impressico.local:
kinit: KDC reply did not match expectations while getting initial credentials

2nd error:-
[root@imp ~]# /usr/bin/net join -w domain -S ad.domain.local -U ad username
Enter userpassword password:
Failed to join domain: failed to set machine kerberos encryption types: Insufficient access
ADS join did not work, falling back to RPC...
Enter User passsword password:
Failed to join domain: failed to lookup DC info for domain 'IMPRESSICO' over rpc: Logon failure

I did Google lot but there are few errors messages answer aren't available on Google.

Wrong...this entire error message is *EASILY* found on Google, along with thousands of troubleshooting guides, like this one:

https://itsecureadmin.com/wiki/index...tive_Directory

Quote:

Please send me Ur l or any type of help which can help to sort it out.
No, we're not going to send you anything; either participate in the forum here, or get help elsewhere...we aren't going to email you solutions.
Quote:

This is my first post
Really??? Then why does it say you've posted over 40 times, and have been a member here for FOUR YEARS???
Quote:

and next time I'll post all the error messages here for further process.
If you want help from anyone, you need to provide DETAILS...not 'next time'..with EVERY QUESTION you ask. Read the LQ Rules and "Question Guidelines" link in my posting signature.

shaana2khan 01-02-2016 04:18 AM

Hello All.

I got the solution for above asked question.

I found this lines somewhere in Google.Please try this one may be it will work for you too.

2. # vi /etc/ssh/sshd_config

Kerberos options

KerberosAuthentication yes

KerberosOrLocalPasswd yes

KerberosTicketCleanup yes

KerberosGetAFSToken yes

KerberosUseKuserok yes

# GSSAPI options

GSSAPIAuthentication yes

GSSAPICleanupCredentials yes


To make these changes take place, we now need to restart the SSHD daemon.


3. # systemctl restart sshd

Thanks Guru sir for not helping me and insist me to find solution own my own.

TB0ne 01-02-2016 11:36 AM

Quote:

Originally Posted by shaana2khan (Post 5472045)
Hello All.
I got the solution for above asked question. I found this lines somewhere in Google.Please try this one may be it will work for you too.

2. # vi /etc/ssh/sshd_config

Kerberos options
KerberosAuthentication yes
KerberosOrLocalPasswd yes
KerberosTicketCleanup yes
KerberosGetAFSToken yes
KerberosUseKuserok yes
# GSSAPI options
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes

To make these changes take place, we now need to restart the SSHD daemon.

3. # systemctl restart sshd

Thanks Guru sir for not helping me and insist me to find solution own my own.

First, you LIED by saying "this is my first post". Secondly, I handed you a link with complete instructions, so saying "not helping me", is fairly insulting.

Most importantly, I can't seem to find ANYTHING in any guide, related to these flags in SSHD_CONFIG, but I DO see many how-to guides that walk through user kerberos. Saying you found them "somewhere in Google" isn't too helpful, since without the CONTEXT for those lines, and the rest of your configuration, they're meaningless.


All times are GMT -5. The time now is 04:10 AM.