LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2017, 02:41 PM   #1
mjafferkhader
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
Unable to login the linux server as a domain user.


[root@hostname cucm]# net ads testjoin
kerberos_kinit_password hostname$@dc.COM failed: Client not found in Kerberos database
kerberos_kinit_password hostname$@dc.COM failed: Client not found in Kerberos database
Join to domain is not valid: Improperly formed account name
[root@hostname cucm]# wbinfo -t
checking the trust secret for domain dc via RPC calls failed
error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
[root@hostname cucm]# net ads info
LDAP server: 10.1.1.6
LDAP server name: dc.domina.com
Realm: dc.COM
Bind Path: dc=dc,dc=COM
LDAP port: 389
Server time: Mon, 24 Apr 2017 15:37:58 EDT
KDC server: *.*.*.*
Server time offset: 0
[root@hostname cucm]# date
Mon Apr 24 15:38:05 EDT 2017
[root@hostname cucm]#


[root@hostname cucm]# net ads join -U adadmin
Enter adadmin's password:
Failed to join domain: failed to lookup DC info for domain 'dc.COM' over rpc: Access denied


Please help on this

Last edited by mjafferkhader; 04-24-2017 at 02:48 PM.
 
Old 04-24-2017, 08:45 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
What did you learn when you brought this error message

Quote:
dc.COM failed: Client not found in Kerberos database
to the attention of the network admins?
 
Old 04-25-2017, 06:16 AM   #3
mjafferkhader
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi ,

Thanks for your reply.

We have already integrated with AD, unfortunately it has been disconnected.

So I try to re-join with AD.

Thanks
 
Old 04-25-2017, 08:30 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I fear I don't know enough about Kerberous to offer any technical suggestions. I just figured that, if it were in a Kerberos networked environment and was not connecting to Kerberos, the best persons to ask for help would be the network admins.

Good luck and thanks for the update. Let us know what the solution turns out to be; you might help someone else.
 
Old 04-26-2017, 08:22 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mjafferkhader View Post
[root@hostname cucm]# net ads testjoin
kerberos_kinit_password hostname$@dc.COM failed: Client not found in Kerberos database
kerberos_kinit_password hostname$@dc.COM failed: Client not found in Kerberos database
Join to domain is not valid: Improperly formed account name
[root@hostname cucm]# wbinfo -t
checking the trust secret for domain dc via RPC calls failed
error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
[root@hostname cucm]# net ads info
LDAP server: 10.1.1.6
LDAP server name: dc.domina.com
Realm: dc.COM
Bind Path: dc=dc,dc=COM
LDAP port: 389
Server time: Mon, 24 Apr 2017 15:37:58 EDT
KDC server: *.*.*.*
Server time offset: 0
[root@hostname cucm]# net ads join -U adadmin
Enter adadmin's password:
Failed to join domain: failed to lookup DC info for domain 'dc.COM' over rpc: Access denied
It's telling you that the domain dc.COM can't be found...you haven't configured something correctly, or something has changed. Not really another solution.

Also, have you done anything with samba here, or are you trying to? The samba tools don't always name things the way MS wants them....is your domain server an actual Windows server, or is it a Samba server acting as a DC? Check your kerberos settings:
Code:
klist -k -e $MY_KEYTAB
...and examine the user principle name (UPN) in both the AD server and in LDAP. It should be servicePrincipleName+REALM, which is what's probably missing. Fix it in LDAP, export your keytab, and try kerberos again:
Code:
kinit -k -t http/some.correct.com
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix virtual user unable to login in server............ jitendra.sharma Linux - Server 4 03-19-2013 09:12 AM
Ubuntu/AD/KRB5/LDAP/NIS able to use domain user login with putty, unable in gui login Nitroglycerine Linux - Server 0 06-28-2012 04:17 AM
unable to login user account "orasp" on linux server premkumar.st Linux - Newbie 1 03-28-2012 12:28 PM
unable to login using domain user mrizwanahmed Linux - Networking 8 09-25-2010 04:54 AM
winbind + samba + gdm unable to login with Domain user theowl Linux - Networking 1 06-11-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration