Koozali.org: home of the SME Server

Use SME Server as a Windows domain controller?

Offline superwormy

  • **
  • 27
  • +0/-0
Use SME Server as a Windows domain controller?
« on: January 30, 2009, 03:19:28 PM »
Can anyone tell me how to use SME Server as a Windows domain controller (PDC)?

I have SME server set up and installed with a server-only installation. The client machine (Windows XP) picks up the DHCP address from SME Server, and I try to join the domain and get this message:

"A domain controller for the domain mydomain could not be contacted."

Clicking the 'Details >>' button tells me a bit more:

" bla bla bla

The DNS servers used by this computer for name resolution are not responding. This computer is configured to use the following IP addresses for DNS resolution:

172.16.2.100     (this is SME Server's IP address)

bla bla bla"

Windows Workgroup is set to:   mydomain
Server Name is set to:   mydomain-local
Domain Controller is set to:   Yes
Roaming Profiles is set to:   Yes

Connection specific DNS suffix:   mydomain.local
WINS Server: 172.16.2.100
IP Address of client: 172.16.2.99



What am I doing wrong...?

 

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Use SME Server as a Windows domain controller?
« Reply #1 on: January 30, 2009, 04:00:14 PM »
Have you set your SME server as a "workgroup and domain controller"?
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Workgroup

Also, here are the notes on how to join your workstation to the SME-hosted domain:
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7#MS_Windows_Domain_configuration
« Last Edit: January 30, 2009, 04:02:07 PM by mmccarn »

Offline superwormy

  • **
  • 27
  • +0/-0
Re: Use SME Server as a Windows domain controller?
« Reply #2 on: January 30, 2009, 06:02:18 PM »
Um, yes, I sent my SME Server as a Workgroup and Domain Controller. And I already know how to join the domain from Windows.

I stated both of these things in my original post already.


In any case, I've figured out something. I installed in server-only mode, which apparently doesn't enable DNS or NetBIOS lookups or something. I have since changed it to Private-Server and Gateway mode, and now it works just fine...

... that sounds like a bug to me...

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Use SME Server as a Windows domain controller?
« Reply #3 on: January 30, 2009, 06:29:03 PM »
That is very strange, I have installed several in server only that work just fine for domain controllers. I don't think I have installed the latest version that way though. The ones I use as domain controllers were installed as earlier versions and then updated to the latest version.


Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Use SME Server as a Windows domain controller?
« Reply #4 on: January 31, 2009, 09:19:35 AM »
[snip]
In any case, I've figured out something. I installed in server-only mode, which apparently doesn't enable DNS or NetBIOS lookups or something. I have since changed it to Private-Server and Gateway mode, and now it works just fine...

... that sounds like a bug to me...

Indeed it does, and it should be reported in the Bugtracker.  Please fill a report, it will help you and others, which is what it is all about.  Thanks. chris.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Craig Cabrey

  • ****
  • 79
  • +0/-0
Re: Use SME Server as a Windows domain controller?
« Reply #5 on: February 02, 2009, 01:38:31 AM »
I don't think I have installed the latest version that way though. The ones I use as domain controllers were installed as earlier versions and then updated to the latest version.
I have. Everything works fine from DNS resolution to roaming profiles. Perhaps a bad install?
« Last Edit: February 02, 2009, 01:40:02 AM by Craig Cabrey »

Offline electroman00

  • *****
  • 491
  • +0/-0
Re: Use SME Server as a Windows domain controller?
« Reply #6 on: February 03, 2009, 09:37:41 AM »
Not a SME bug..!!

SME works just fine if you setup the network properly.

Quote
bla bla bla

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Use SME Server as a Windows domain controller?
« Reply #7 on: February 03, 2009, 10:22:09 AM »
Quote
bla bla bla

Would you kindly care to elaborate?
Thanks
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline electroman00

  • *****
  • 491
  • +0/-0
Re: Use SME Server as a Windows domain controller?
« Reply #8 on: February 03, 2009, 06:48:34 PM »
Would you kindly care to elaborate?
Thanks

No....since I've already received my unjustified spam warning from the admins here, Thank You.

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Use SME Server as a Windows domain controller?
« Reply #9 on: February 03, 2009, 08:38:47 PM »
Can anyone tell me how to use SME Server as a Windows domain controller (PDC)?

I have SME server set up and installed with a server-only installation. The client machine (Windows XP) picks up the DHCP address from SME Server, and I try to join the domain and get this message:

"A domain controller for the domain mydomain could not be contacted."


This is almost always related to WINS -- specifically, your windows client can't find a PDC on your network.  WINS is a pretty solid feature of SME.  It should readily provide Windows Network netbios name queries unless it can't communicate properly on your LAN.  It is very unlikely you've found a bug that is preventing WINS resolution.

Verify that WINS is working locally on the SME box with the following:

[root@nameserver ~]# smbclient -L localhost -U admin

Once you input your admin password, you should see SME's WINS dbase.

You should also verify that your Win XP client is set to "Enable NetBIOS over TCP/IP" and you've applied the registry update located in  /home/e-smith/files/server-resources/regedit/


The DNS servers used by this computer for name resolution are not responding. This computer is configured to use the following IP addresses for DNS resolution:

172.16.2.100     (this is SME Server's IP address)

What do you mean by "not responding."  If you are trying to query internet Domain Names and aren't getting a return IP from SME, then most likely SME doesn't have access to the internet.


What am I doing wrong...?

You probably don't have your network configured properly.  Read the suggested documentation and try again.
« Last Edit: February 03, 2009, 08:47:25 PM by gzartman »
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline billturnbull

  • *
  • 14
  • +0/-0
Re: Use SME Server as a Windows domain controller?
« Reply #10 on: February 04, 2009, 05:33:26 AM »
I had this problem the other day...

My issue was that I had made a test system and joined my laptop to its domain... mucked around heaps... then wiped the server and started fresh witht the same domain names etc... My laptop wouldnt join the domain again until I removed it from the old (though the same name) domain and re-joined it...

Also, I think you have to use the admin account to join it, not a general user...

Hope this helps...

Bill