Author Topic: Can't Join Computers to Domain  (Read 2802 times)

iswope

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Can't Join Computers to Domain
« on: August 04, 2008, 05:54:39 pm »
I installed the latest eBox on top of a clean 8.04 install with nothing installed.  I was able to setup dhcp, a domain and add users and groups.  Everything seems fine with one exception. I cannot add user's machines to the domain. 

What happens is that when I go to add a WinXP Pro computer to the domain it first says that "Windows cannot find an account for your computer on the SMARTBLAST domain".

So I add the computer name and computer domain and then it prompts me for the username and password of an account with permission to join the domain.  So I add in the credentials of a user I set as the administrator.

And then I get an error message that says "The user name could not be found".

I really, really, really need to get this up and running as I've got users standing around who can't login.  Any help would be much appreciated

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: Can't Join Computers to Domain
« Reply #1 on: August 05, 2008, 04:59:53 am »
What do your log files say?  This needs more info.  Detail your network configuration and and computer/domain  names.

First,

See if you can see the Domain properly

SSH  in the server (SMARTBLAST) and run

root#  smbclient -L YOURSERVER -U%

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       IPC Service (Samba 3.0.28a)
        netlogon     Disk      Network Logon Service
        ADMIN$      IPC       IPC Service (Samba 3.0.28a)

        Server               Comment
        ---------            -------
        YOURSERVER     Samba 3.0.28a

        Workgroup         Master
        ---------            -------
        SMARTBLAST     YOURSERVER


Now, Make sure you can browse a users home share, check your logs.

smbclient //YOURSERVER/joeblow -Ujoeblow%password



"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein

matija

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Can't Join Computers to Domain
« Reply #2 on: August 17, 2008, 11:00:15 am »
I had the same issue and have found a workaround.

The problem is that NetBios is not working properly for some reason.
If I use another DHCP with "wins" setting, everything works just fine. Also when I enter the "wins" setting manualy in the TCP/IP setting pointing to ebox, it works as well.

This might have something to do with the unusual usage of ebox. It is not a gateway, but it is a DHCP server for 192.168.0.0/28 with IP 192.168.0.3, 192.168.0.1 being the gataway.

The instalation was made with 0.11.101 installer, manually upgraded to latest ebox repostory version (at the time of writing).


matija

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Can't Join Computers to Domain SOLVED
« Reply #3 on: August 17, 2008, 01:00:37 pm »
SOLUTION:
Put
Code: [Select]
dny proxy = Yesin /usr/share/ebox/stubs/samba/smb.conf.mas
logical place is just below wins support