Results 1 to 2 of 2

Thread: Ubuntu 12.10 likewise open to join Samba AD DC

  1. #1
    Join Date
    Feb 2013
    Beans
    22

    Ubuntu 12.10 likewise open to join Samba AD DC

    Hi Ubuntu Community,


    After a lot of testing, I am still unsuccessful in joining my Ubuntu 12.10 client to my Samba AD DC.

    Currently, I have a working Samba AD DC, successfully joined a Windows 7 machine, and the Samba AD DC is running.

    I tried using Likewise open installed from Ubuntu Software Center, try to connect via Likewise open GUI, input my Domain Name then Join, entered Domain administrator credentials, click OK. response: DNS_ERROR_BAD_PACKET; A bad packet was received from a DNS server. Potentially the requested address does not exist.
    (Some tutorials worked out successfully; Any configuration I am missing here.)

    I find it more easy to join Windows client to join the domain, connection is easily established. But with Ubuntu client, it seems to be a narrow road.

    Anyone who was able to successfully join an Ubuntu machine. Hope you will share your configuration.

    Thanks so much in advance.


    -IJ-

  2. #2
    Join Date
    Jan 2013
    Beans
    203

    Re: Ubuntu 12.10 likewise open to join Samba AD DC

    Quote Originally Posted by IJselflearner View Post
    Hi Ubuntu Community,


    After a lot of testing, I am still unsuccessful in joining my Ubuntu 12.10 client to my Samba AD DC.

    Currently, I have a working Samba AD DC, successfully joined a Windows 7 machine, and the Samba AD DC is running.

    I tried using Likewise open installed from Ubuntu Software Center, try to connect via Likewise open GUI, input my Domain Name then Join, entered Domain administrator credentials, click OK. response: DNS_ERROR_BAD_PACKET; A bad packet was received from a DNS server. Potentially the requested address does not exist.
    (Some tutorials worked out successfully; Any configuration I am missing here.)

    I find it more easy to join Windows client to join the domain, connection is easily established. But with Ubuntu client, it seems to be a narrow road.

    Anyone who was able to successfully join an Ubuntu machine. Hope you will share your configuration.

    Thanks so much in advance.


    -IJ-
    Here is my cheat sheet I made for 12.04.

    Configure nsswitch.conf
    Before you attempt to join an Active Directory domain, make sure the
    /etc/nsswitch.conf file contains the following line:
    hosts: files dns
    The hosts line can contain additional information, but it must include the
    dns entry, and it is recommended that the dns entry appear after the files
    entry.
    Computers running Solaris, in particular, may not contain this line in
    nsswitch.conf until you add it.
    When you use PowerBroker Identity Services with Multicast DNS 4
    (mDNS4) and have a domain in your environment that ends in .local, you
    must place the dns entry before the mdns4_minimal entry and before the
    mdns4 entry:
    hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
    The default setting for many Linux systems is to list the mdns4 entries
    before the dns entry—a configuration that leaves PBIS unable to find the
    domain.
    Important: For PBIS to process changes to your nsswitch.conf file, you
    must restart the PBIS input-output service (lwio) and the authentication
    service (lsass). Running the following command as root restarts both
    services:
    /opt/pbis/bin/lwsm restart lwio
    For PBIS to work correctly, the nsswitch.conf file must be readable by
    user, group, and world.
    For more information on configuring nsswitch, see the man page for
    nsswitch.conf.


    Configure resolv.conf
    Before you attempt to join an Active Directory domain, make sure that
    /etc/resolv.conf on your Linux, Unix, or Mac client includes a DNS
    server that can resolve SRV records for your domain.
    Example: [root@rhel5d Desktop]# vi /etc/resolvconf/resolv.conf.d/head
    search mydomain.local
    nameserver 192.168.68.132


    Step 2: Install PBIS Open on Linux
    You install PBIS Open by using a shell script that contains a self-extracting
    executable—an SFX installer with a file name that ends in sh. Example:
    pbis-open-6.5.0.3499-linux-i386-rpm.sh.
    1. As root, run the installer, substituting the file name of the installer that
    you have selected for the one shown below:
    sh ./pbis-open-6.5.0.3499-linux-i386-rpm.sh
    Alternatively, you can run the installer as a regular user:
    sudo sh ./pbis-open-6.5.0.3499-linux-i386-rpm.sh
    2. Follow the instructions in the installer.
    Note: On SLES and other systems on which the pager is set to less, you
    must exit the end user license agreement, or EULA, by typing the
    following command: q
    Enable Other Login


    1) You have to be root to perform this how-to.
    If you are not root then be root by executing following command :-
    ubuntu-12.04lts@tejas-barot-linux-ahmedabad:~$ sudo su – ( Single Hyphen )


    2) First of all Please take backup of original file, execute following command :-
    root@tejas-barot-linux-ahmedabad:~# cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.orig


    3) Execute Following command :-


    root@tejas-barot-linux-ahmedabad:~#/usr/lib/lightdm/lightdm-set-defaults -m true
    root@tejas-barot-linux-ahmedabad:~#/etc/init.d/lightdm restart








    Disable Guest Account


    Open /etc/lightdm/lightdm.conf file from your terminal using the following command
    sudo gedit /etc/lightdm/lightdm.conf Add the following line
    allow-guest=false Save and exit the file

    After adding the above line you should see similar to the following in lightdm.conf file
    [SeatDefaults]
    user-session=ubuntu
    greeter-session=unity-greeter
    allow-guest=false


    Finally you have to restart lightdm using the following command from your terminal
    sudo restart lightdm Enjoy

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •