Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: joining NT domain

  1. #1
    Join Date
    Mar 2008
    Location
    Oregon
    Beans
    49
    Distro
    Ubuntu 8.04 Hardy Heron

    joining NT domain

    Did Hardy Heron have a tool to authenticate to NT domain? I had thought it did. I have 2 Advanced 2000 servers,running AD, along with assorted 2003 servers, and I need to add new ubuntu machines to the domain and connect to Mapped drives and such.

    Any help is appreciated.
    Brown Coats unite! - May Fire Fly live forever

  2. #2
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    220
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: joining NT domain

    likewise-open - That what you're looking for?

  3. #3
    Join Date
    Mar 2008
    Location
    Oregon
    Beans
    49
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: joining NT domain

    Quote Originally Posted by Lord_Dicranius View Post
    likewise-open - That what you're looking for?
    Yes. Thankyou.

    I don't know why I was having trouble finding that application name in the forum. I tried every Key word I could think of. LOL

    "Likewise" it is.
    Brown Coats unite! - May Fire Fly live forever

  4. #4
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    220
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: joining NT domain

    hah Yeah, I went Google searching for a bit and finally came across that. The only stuff I could find on the forums were stuff about manually configuring Winbind and PAM.

    Glad that helps

  5. #5
    Join Date
    Mar 2008
    Location
    Oregon
    Beans
    49
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: joining NT domain

    well it looks like I have to do that next. I get the same dns errors using the GUI and cli for likewise.

    It says it cant find the DC. and to check if DNS is configured in nsswitch.

    As far as I can tell nsswitch or nsswitch.conf does not exit.

    I got winbind installed but then I still couldn't find nsswitch in /etc or any place else. I am rather confused at this point.

    when trying sudo domainjoin-cli join My.domain username
    i get: sudo can not resolve host name "username-desktop"
    Then I enter password and get the "cant resolve DC name" error.

    Something is not right. lol
    Brown Coats unite! - May Fire Fly live forever

  6. #6
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    220
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: joining NT domain

    No nsswitch.conf? Weird. A little checking, the base-files package is supposed to contain that file. I'm assuming the command isn't working because the nsswitch.conf file is missing. Checking my default 8.04 install (desktop install), nsswitch.conf exists on my system (/etc/nsswitch.conf).

    My nsswitch.conf:
    Code:
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         compat
    group:          compat
    shadow:         compat
    
    hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis

  7. #7
    Join Date
    Mar 2008
    Location
    Oregon
    Beans
    49
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: joining NT domain

    Alright. I cd to etc and ls which shown me that nsswitch.conf is there. what do I have to do to access it. Everything i try says: unknown command.

    OK, I sudo vi /etc/nsswitch.conf and the out put was identical to yours above. I saw no reference to Winbind in these settings. What configuration change must be made so likewise can resolve my Windows DC host name?

    There is a really good chance that at I have absolutely no idea what I am doing. LOL
    Last edited by Garmuar; May 22nd, 2008 at 10:59 PM. Reason: new info
    Brown Coats unite! - May Fire Fly live forever

  8. #8
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    220
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: joining NT domain

    When I went back and re-read your previous post, reading the issues with DNS and resolving the host name, "resolv.conf" came to mind. resolv.conf handles hostname resolutions on any "extra" domains other than the local machine (you can read more about resolv.conf in its man page too).

    I found a really neat and thorough guide for likewise-open here. Page 10 starts a check list for things to check to make sure everything is setup correctly.

    Hope this helps
    Last edited by Lord_Dicranius; May 24th, 2008 at 10:23 PM.

  9. #9
    Join Date
    Mar 2008
    Location
    Oregon
    Beans
    49
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: joining NT domain

    I do not believe things are setup correctly. I can't even resolve my local hostname on the local machine. lol

    here is nsswitch.conf:

    test@test-desktop:~$ cat /etc/nsswitch.conf
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.

    passwd: compat
    group: compat
    shadow: compat

    hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
    networks: files

    protocols: db files
    services: db files
    ethers: db files
    rpc: db files

    netgroup: nis


    and here is resolv.conf:
    test@test-desktop:~$ cat /etc/resolv.conf
    nameserver 192.168.1.13======this is my domain controler
    nameserver 192.168.1.11======backup domain controler
    nameserver 216.174.194.53
    test@test-desktop:~$

    here is my hosts file:
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    192.168.1.102 test-desktop.local
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    test@test-desktop:~$


    on the likewise applet where you enter domain name to join, I am entering "allamerican" for the domain. Should it be allamerican.local or should it be the DC its self as in: servername@allamerican.local???


    I can ping everything on the network by IP but I can't resolve any names at all inside the network. internet has no problem.

    I don't know what other info to provide that may help figure this out. I just don't know enough yet I guess.
    Brown Coats unite! - May Fire Fly live forever

  10. #10
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    220
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: joining NT domain

    I haven't come across anything that says to modify the nsswitch.conf file, so I'm thinking you should be good there (again, I haven't done this myself before, this is just what I'm researching as to try and help you and learn along the way ). The resolv.conf file looks good to me. As for the /etc/hosts file though, you should have entries for localhost in there at the beginning of the file:

    Code:
    127.0.0.1 localhost
    127.0.1.1 (machine_name)
    substitute (machine_name) with your actual machine name

    The lack of these lines in your /etc/hosts file is probably why you couldn't resolve your localhost/local hostname hehe As for the part about entering the domain in the likewise-open GUI app, in the likewise-open user manual it just says to enter the FQDN (fully qualified domain name), doesn't say anything about entering the the server name/DC name specifically (which is good if you have a network with multiple DC's, simplifies it a bit). According to the manual, it also says the GUI will modify the /etc/hosts accordingly. For example, say your machine name is laptop1 and the FQDN is allamerican.local, the tool will enter the following to /etc/hosts: laptop1.allamerican.local.

    I may just have to set something up and see if I can't get this working here soon...
    Last edited by Lord_Dicranius; May 28th, 2008 at 12:16 AM.

Page 1 of 2 12 LastLast

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
  •