Author Topic: [Resolved] jOIN uBUNTU 11.4 TO ZENTYAL  (Read 8339 times)

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
[Resolved] jOIN uBUNTU 11.4 TO ZENTYAL
« on: November 08, 2012, 01:50:48 pm »
Dear All,

I am new in Linux OS, i have configure zentyal 3.0 as domain, when i am going to join ubuntu 11.4 than getting errors  Bad_dns , but Windows clients join successfully.

i am using likewise  6 to join.


plz help

Regards,

Afzal
« Last Edit: November 09, 2012, 01:54:12 pm by afzalbhutto »

robb

  • Guest
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #1 on: November 08, 2012, 03:01:37 pm »
Can you give some specific details?
Have a look at http://www.youtube.com/watch?v=sVT-0t4d48I for a demo of using likewise to join an AD domain. What is different from your situation compared to the video?
How did you configure your AD domain?

As a sidenote: don't you think it is kind of strange to try and mimic a Windows environment with 100% linux server and client?

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #2 on: November 08, 2012, 05:08:58 pm »
I am not working with Microsoft AD . I have installed zentyal 3.0 as domain controller and ubuntu 11.4 as client. when i am going to join ubuntu client to zentyal domain then it is showing errors. some times DNS_error or some time Kerbros errors.

i am joining ubuntu using likewise 6.


Regards,

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #3 on: November 08, 2012, 05:44:08 pm »
why aren't you using  pam lpdap
All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #4 on: November 08, 2012, 05:48:00 pm »
yes i have enable PAM , but still problem exist.. even windows clients joined successfully

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #5 on: November 09, 2012, 03:25:41 am »
When using AD, the domain controller IP must be the first DNS search entry in the client. Might this be your problem?

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #6 on: November 09, 2012, 05:55:31 am »
I defined zentyal DNS ip as primary on ubuntu client. I told you that i have successfully joined windows 7 pc to zentyal domain

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #7 on: November 09, 2012, 07:59:34 am »
Error : DNS_ERROR_BAD_PACKET  [code 0x0000251e]

A bad packet was recieved from a DNS server. Potentially the request Address does not exist.

robb

  • Guest
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #8 on: November 09, 2012, 09:25:49 am »
Do you happen to use the domain.local as domain name?
When searching on the error you receive, I get the following blogpost:
http://is101507.students.fhstp.ac.at/?p=128#codesyntax_2

(Samba4 is a replacement for AD, so you can expect similar behaviour for ubuntu clients on Samba4 as you wpould get from AD)
« Last Edit: November 09, 2012, 09:27:22 am by robb »

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #9 on: November 09, 2012, 11:54:42 am »
I resolve the problem to join ubuntu.


First : Access to domain users as sudoers

[/size]$ sudo nano /etc/sudoers[/color][/size]%YOURDOMAINNAME\\domain^admins ALL=(ALL) ALL

Second : Set IP Address
[/size]
Gedit /etc/network/interfaces[/font][/size][/font][/color]
[/size]iface eth1 inet static        address 192.168.10.10        netmask 255.255.255.0Third : DNS names from the file/etc/resolv.conf search mehran.edunameserver 192.168.10.1
3Rd : Join Domain

sudo domainjoin-cli join mehran.edu Administrator
It is succed say restart, after restarting the ubuntu client than not showing domain login screen? But i iam able to login localy

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #10 on: November 09, 2012, 01:29:15 pm »
can you mark your topic  [resolved] if its fixed...
All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!

afzalbhutto

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: [Resolved] jOIN uBUNTU 11.4 TO ZENTYAL
« Reply #11 on: November 09, 2012, 02:12:36 pm »
It is resolved.

but why resolv.conf empty after restarting system?