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 03-10-2013, 06:13 AM   #1
bachawiss
Member
 
Registered: May 2012
Posts: 34

Rep: Reputation: Disabled
error in active directoru login


Hi
I wish add my ubuntu host to an active directory host
the two machines pings each other,dns is working
Quote:
root@ubuntu:/home/wissem# domainjoin-cli join STONESOFT.TN Administrateur
Joining to AD Domain: STONESOFT.TN
With Computer DNS Name: ubuntu.STONESOFT.TN

Administrateur@STONESOFT.TN's password:

Error: DNS_ERROR_BAD_PACKET [code 0x0000251e]

A bad packet was received from a DNS server. Potentially the requested address
does not exist.
root@ubuntu:/home/wissem# nslookup stonesoft.tn
Server: 192.168.158.175
Address: 192.168.158.175#53

Name: stonesoft.tn
Address: 192.168.158.175
But when I use likewise to log on,it says
DNS_ERROR_BAD_PACKET
A bad packet was received from a DNS server. Potentially the requested address does not exist.

Last edited by bachawiss; 03-10-2013 at 07:23 AM.
 
Old 03-10-2013, 02:26 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what IS in the bad packet? run a tcpdump and look at the DNS traffic.
 
Old 03-10-2013, 03:42 PM   #3
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
well what IS in the bad packet? run a tcpdump and look at the DNS traffic.
there's a capture file,that mention the dns query and response
https://www.dropbox.com/s/r8ayhgvtba8dc9j/dns.rar
I can't upload an archive file
 
Old 03-10-2013, 03:46 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so what does it say?
 
Old 03-10-2013, 03:53 PM   #5
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
ok, so what does it say?
if you can download it here
https://www.dropbox.com/s/r8ayhgvtba8dc9j/dns.rar
I have no idea about the dns querys
thanks
 
Old 03-10-2013, 03:56 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I don't want to download random files, thanks. Just load it into wireshark and have a look, DNS is pretty simple to understand.
 
Old 03-10-2013, 04:09 PM   #7
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
I don't want to download random files, thanks. Just load it into wireshark and have a look, DNS is pretty simple to understand.
how can i send it to you ??
 
Old 03-10-2013, 04:12 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can't thanks. I don't want it. just look at it.
 
Old 03-10-2013, 04:29 PM   #9
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
you can't thanks. I don't want it. just look at it.
thanks
who can help me !!
 
Old 03-10-2013, 04:58 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can. Open the capture file and look at it!
 
Old 03-10-2013, 04:59 PM   #11
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
you can. Open the capture file and look at it!
i did it,and i have not understand it,I say that i have no idea about dns query
 
Old 03-10-2013, 05:02 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
paste a full text output of the DNS packets then. really looks like the DNS request just failed, which should be pretty obvious to spot in wireshark.
 
Old 03-10-2013, 05:08 PM   #13
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
paste a full text output of the DNS packets then. really looks like the DNS request just failed, which should be pretty obvious to spot in wireshark.
query and response
Attached Thumbnails
Click image for larger version

Name:	Sans titre.png
Views:	147
Size:	27.1 KB
ID:	12031   Click image for larger version

Name:	response.png
Views:	116
Size:	34.1 KB
ID:	12032  
 
Old 03-10-2013, 05:13 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
so it says "standard query response - no such name" right there. The DNS server can't resolve that requested name, just as the original error said.

That hostname is a standard entry that AD Domain Controllers use to define where to go for LDAP connectivity in a given domain. so either you're pointing at the wrong server or AD isn't set up correctly I think. I understand these names are all created automatically in a correct AD deployment.

The standard names are defined here - http://technet.microsoft.com/en-us/l.../cc961719.aspx
 
Old 03-10-2013, 05:19 PM   #15
bachawiss
Member
 
Registered: May 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
so it says "standard query response - no such name" right there. The DNS server can't resolve that requested name, just as the original error said.

That hostname is a standard entry that AD Domain Controllers use to define where to go for LDAP connectivity in a given domain. so either you're pointing at the wrong server or AD isn't set up correctly I think. I understand these names are all created automatically in a correct AD deployment.

The standard names are defined here - http://technet.microsoft.com/en-us/l.../cc961719.aspx
address resolution works well ,192.168.158.175 is the AD controller address
Quote:
root@ubuntu:/home/wissem# nslookup stonesoft.tn
Server: 192.168.158.175
Address: 192.168.158.175#53

Name: stonesoft.tn
Address: 192.168.158.175
Other windows machines are logged normally to AD
in DNS query,it searchs :_ldap._tcp.dc._msdcs.stonesoft.tn: type SRV, class IN
Have you an idea about it,what means ?
 
  


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
Active Directory login returning me to login screen apkelley Linux - Networking 2 10-30-2009 08:10 AM
Trac login with Active Directory Server your_shadow03 Linux - Newbie 0 07-28-2009 11:41 PM
Procedure to deactivate vg00 during an active login without the "in use" error. jbarrile Linux - Enterprise 2 07-15-2009 09:22 AM
Login to Fedora With Active Directory FloydFan Linux - Networking 2 05-27-2005 08:41 PM
Login to Fedora With Active Directory FloydFan Linux - General 1 05-27-2005 10:57 AM

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

All times are GMT -5. The time now is 07:16 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