Koozali.org: home of the SME Server

Domain-controller

Offline Messias89

  • *
  • 8
  • +0/-0
Domain-controller
« on: August 05, 2009, 11:50:57 PM »
Hi my name is Martin and i really need some help here. I'm kinda not really good at sme, or any other Linux for that mather. I have a small LAN, that i am currently controlling with a sme-server. The automatic functions, such as dhcp and stuff works perfect, so do the installed programs, ex hlds. My problem is that I don't have any controll over the network nor the internet, so i decided to make it a domain-controller (correct me if it's not called that, it's when you connect to a domain when you log into windows). My problem here is that I can't connect, even thou i have changed the settings to yes in both the questions on the workgroup. It goes fine when it wants to connect to the domain, but won't accept the username/password i have created. I have created the user in the "users-link" in the top of the menu and activated it. Every time I write the username and password it tells me this:

The following error occurred attempting to join the domain "testdomain":
The specified domain either does not exist or could not be contacted.

I have tryed remaking my account for not accidentally making a spelling misstake, but after several remakes of my account, I made the conclusion that some thingels was wrong. Where's the error I'm making?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Domain-controller
« Reply #1 on: August 05, 2009, 11:53:38 PM »
What version of windows are you using?

Try joining with the admin account, normal users have no rights to join the domain.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Messias89

  • *
  • 8
  • +0/-0
Re: Domain-controller
« Reply #2 on: August 06, 2009, 12:03:14 AM »
It worked as admin when i connected with my viritualbox that had windows xp, but my original windows (windows 7) can still not connect. How do i create users that can connect to the domain then?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Domain-controller
« Reply #3 on: August 06, 2009, 12:06:50 AM »
It worked as admin when i connected with my viritualbox that had windows xp, but my original windows (windows 7) can still not connect. How do i create users that can connect to the domain then?
Windows 7 is still beta and might there fore not work. There are some posts in the forums on it and perhaps in the bugtracker.

To create a group of admins please read this: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter9#Setting_admin_rights
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Messias89

  • *
  • 8
  • +0/-0
Re: Domain-controller
« Reply #4 on: August 06, 2009, 12:13:18 AM »
That helpes wonders =)

Thanks for that fast and easy-to-follow instructions.

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Domain-controller
« Reply #5 on: August 30, 2009, 03:02:49 AM »
Windows 7 is no longer beta and I have installed it on an old machine and it's working "ok I guess." 

I am able to browse the network including samba shares on the SME server.  But I am unable to get it to join the domain at this time.  Any suggestions?

Just found this:

http://forums.contribs.org/index.php/topic,43266.msg213533.html#msg213533

I made the changes listed.  Results pending.

No reboot of Windows 7 needed.  Made changes and then joined domain!

Uh oh... After rebooting and attempting to log in using an account from the SME server and it tells me there is an error with the trust relationship.  Suggestions?
« Last Edit: August 30, 2009, 03:37:16 AM by erroneus »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Domain-controller
« Reply #6 on: August 30, 2009, 11:46:35 AM »
Windows 7 is no longer beta and I have installed it on an old machine and it's working
I think you are informed incorrectly as after the beta no new releases have been released and AFAIK the official release is scheduled for October 22nd, see also: http://www.microsoft.com/presspass/features/2009/Jun09/06-02SteveGuggenheimer.mspx
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Domain-controller
« Reply #7 on: August 30, 2009, 12:10:35 PM »
Windows 7 is "RTM" (release to manufacturing) now and is being distributed to Microsoft partners.  I have a relative who is a partner and shared his license key with me.  The only changes anyone will see in Windows 7 from this point forward is in online updates.  No updates to distribution media are expected.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Domain-controller
« Reply #8 on: August 31, 2009, 04:35:33 PM »
If I'm not mistaken, Windows 7 *requires* Active Directory and cannot join an old-style domain; Active Directory is not supported in SME 7.  You didn't write which version you're using so I *assume* it's not SME 8 Beta.
...

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Domain-controller
« Reply #9 on: August 31, 2009, 04:50:56 PM »
The problem would be resolved with Samba 3.3.x and some registry hacks I have learned.  So it's hack in my own Samba upgrade... not something I want to do at all.  Actually, SME8 uses Samba 3.0.33 which is the same version as in SME7.4 with latest updates so that question is nearly irrelevant.

It is my understanding that Samba package updates are coming down from CentOS which in turn comes down from RedHat.  RedHat hasn't done this yet and so we don't have it yet.  That said, I have found this:

http://enterprisesamba.org/index.php?id=64

It seems these packages might work but may also break all sorts of other things in SME7.4 or even SME8bx.  (My god!  How long has SME8 been in beta?!)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Domain-controller
« Reply #10 on: August 31, 2009, 05:25:52 PM »

Uh oh... After rebooting and attempting to log in using an account from the SME server and it tells me there is an error with the trust relationship.  Suggestions?


from: http://ggts.net/2009/05/17/joining-a-windows-7-system-to-a-samba-domain/

Quote
# The following key needs to be changed or you will receive an error when trying to login using a domain accout of “The trust relationship between this workstation and the primary domain failed.”

HKLM\SYSTEM\CurrentControlSet\services\Netlogon\Parameters
RequireStrongKey = 0


did you try?

Stefano

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Domain-controller
« Reply #11 on: August 31, 2009, 05:28:31 PM »
Yes indeedy!  The other requisite is that Samba 3.3.x be used.  SME uses 3.0.33 in both SME8beta and SME7.4.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Domain-controller
« Reply #12 on: August 31, 2009, 05:32:36 PM »
Yes indeedy!  The other requisite is that Samba 3.3.x be used.  SME uses 3.0.33 in both SME8beta and SME7.4.

ok.. another reason to stay with windows XP or move to other O.S. ;-)

Stefano

Offline erroneus

  • ***
  • 62
  • +0/-0
Re: Domain-controller
« Reply #13 on: September 02, 2009, 06:02:29 AM »
After some consideration, I sincerely hope that a 3.3.x version of Samba finds its way into yum repositories.  The ability to keep up with the latest Windows workstations is an important feature of Samba and especially of SME server.  It is forgiveable that registry entries are required to make it work to a certain point.  But not being able to work at all?  Well, that would shake the faith of a lot of people who don't understand the reasons why.  End users and quite often "higher ups" will only see stuff that doesn't work or isn't compatible.

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
Re: Domain-controller
« Reply #14 on: September 02, 2009, 09:23:23 AM »
Quote
or move to other O.S.

Is there another OS that connects up to SME in the way that Windows XP does?  What I'd like to see is a SME Desktop (a linux distro especially designed to hook up to an SME Server).  Until then advice to "move to another OS" is counter-productive.

Steve

Edit ... and seeing as though Windows XP is 2002 technology, it would be great if SME Server supported a more modern version of Windows.  Since XP there's already been two more versions of Windows. 
« Last Edit: September 02, 2009, 09:25:42 AM by steever »
Saving the world ... one server at a time.