Koozali.org: home of the SME Server

Domain server for Win2k computers

Offline twijtzes

  • ***
  • 47
  • +0/-0
    • http://www.foodconsult.nl
Domain server for Win2k computers
« on: November 28, 2008, 10:11:26 AM »
Hello all,

Finally we have decided to move from SME server as a workgroup controller to SME server as a domain controller. In the past years the SME server worked flawlessly. Therefore I think I must be doing something wrong. Having struggled through more than a few posts here, I give up and play the dumb blond.

In short, the windows machine (Win2k sp4) claims that my admin account is disabled/switched off when I try to log on to the domain for the first time after switchting from workgroup (dutch: werkgroep) to domain. After entering the admin/password combination, I get an error message

The exact message that I get from the windows machine is:

Code: [Select]
De volgende fout is opgetreden tijdens het lid worden van domein FOODSAFE:

Aanmeldingsfout: account is momenteel uitgeschakeld

I think that translates to
Code: [Select]
The folowing error has occured while trying to joint the domain FOODSAFE:

Login error: account is currently disabled (or switched off)


However:
I can log in on the server manager using my admin account, see emails etc etc. It all seems to works properly.

As I said, probably I am missing something, forgetting something. Please help.


Thanks for helping
Taco

The samba log says
Code: [Select]
[2008/11/28 10:27:40, 1] auth/auth_sam.c:sam_account_ok(142)
 sam_account_ok: Account for user 'admin' was disabled.




 
« Last Edit: November 28, 2008, 10:37:28 AM by twijtzes »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Domain server for Win2k computers
« Reply #1 on: November 28, 2008, 12:21:13 PM »
Have you installed the registry patch from http://yourserver/server-resources/ ?

Offline twijtzes

  • ***
  • 47
  • +0/-0
    • http://www.foodconsult.nl
Re: Domain server for Win2k computers
« Reply #2 on: November 28, 2008, 12:31:59 PM »
Great....
That seemed to do the trick TXS

BUT
Now it is complaining that the group policies are different.. any ideas ?

Thanks
Taco
« Last Edit: November 28, 2008, 12:45:55 PM by twijtzes »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Domain server for Win2k computers
« Reply #3 on: November 28, 2008, 11:52:52 PM »
Not really, but check out your server's NETLOGON share to see whether there are any ntconfig.pol or ntconfig.man files present.

SME uses NT4 style policies.

Offline twijtzes

  • ***
  • 47
  • +0/-0
    • http://www.foodconsult.nl
Re: Domain server for Win2k computers
« Reply #4 on: November 29, 2008, 10:49:19 AM »
Hi David,

I guess the netlogon is not a regular share, as it does not show up when I try to connect to it using my network places

Using PUTTY and MC i went to /home/e-smith/files/samba and found three directories

/netlogon
/printers
/profiles

The /netlogon directory only contains a file netlogon.bat which is obviously intended to set drive mappings and so forth. For the rest it is empty.

/printers has several directories for differenet printer types. (useful for later.....)

/profiles has user directories such as my own. All directories are empty.

I cannot find the files that you mention (ntconfig.pol or ntconfig.man). Furthermore I did a search across the server (find file in MC) and found no such files.

What to do ?

thanks in advance,
Taco
« Last Edit: November 29, 2008, 10:51:18 AM by twijtzes »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Domain server for Win2k computers
« Reply #5 on: November 30, 2008, 01:14:53 AM »
Well if there are no policies being set at the server level, you have come across a Win2K workstation issue, which, unfortunately, this forum is not really designed to address.

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Domain server for Win2k computers
« Reply #6 on: December 01, 2008, 09:50:11 AM »
In short, the windows machine (Win2k sp4) claims that my admin account is disabled/switched off when I try to log on to the domain for the first time after switchting from workgroup (dutch: werkgroep) to domain. After entering the admin/password combination, I get an error message

It's a little unclear if you are having problems with your windows client administrator accounts or the SME admin account.

Speaking in general terms, when you switched from a peer-to-peer (workgroup) network to domain network, you introduced another authentication layer to your setup.  With a windows domain network, you have machine (or local) authentication and domain (or network) authentication.  Whereas, with a peer-to-peer (workgroup) network, you are only dealing with the machine (local) authentication.

When you log into a windows domain you are granted certain network privileges and certain machine (local) privileges, based on the domain group(s) which you are a member of.   The standard domain group Domain Admins is the group that is granted both domain administrator privileges and local machine administrator privileges.

Out-of-the-box, SME is configured so that the only SME user who is a member of the Domain Admins group is the SME "admin" user.  You can change this by accessing the SME Groups server-manager panel and defining a group called something like "da" with the description "Domain Admins"    This will map the SME group "da" to the domain group Domain Admins.  Any SME users you add to the group "da" will be granted Domain Admin privileges when they log into the domain.

My guess is that you need to re-tool your thinking.  With a domain network, you don't need local machine accounts.  All authentication is done by SME.  In fact, having local machine accounts can result in authentication conflicts if the same username is both a local username and a domain username (perhaps this is part of the issue you are having).   Try removing all of the local machine accounts you had defined in your previous setup, create the user accounts in SME, then try logging in. 
« Last Edit: December 01, 2008, 10:01:51 AM by gzartman »
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline twijtzes

  • ***
  • 47
  • +0/-0
    • http://www.foodconsult.nl
Re: Domain server for Win2k computers
« Reply #7 on: December 01, 2008, 12:44:47 PM »
Hi Guys,

Thank you for your help so far. I will try a complete fresh install of win2k and see if that works. It should as there are hundreds of people using the SME as domain contoller. When it works; i know what to do ...... Only 35 machines to go.

Thank you very much for now, i'll be back......

Taco

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Domain server for Win2k computers
« Reply #8 on: December 01, 2008, 06:28:11 PM »
Hi Guys,

Thank you for your help so far. I will try a complete fresh install of win2k and see if that works. It should as there are hundreds of people using the SME as domain contoller. When it works; i know what to do ...... Only 35 machines to go.
Taco

That is an incredible waste of time.  It is very rarely necessary to reinstall windows due to network login issues.
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline Boris

  • *
  • 783
  • +0/-0
Re: Domain server for Win2k computers
« Reply #9 on: December 01, 2008, 11:27:38 PM »
Before changing your windows workstation from workgroup "FOODSAFE" to domain "FOODSAFE", change them to temporary workgroup "TEMP", then restart windows. After restart join domain "FOODSAFE" using user admin and your-sme-admin-password.

...

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Domain server for Win2k computers
« Reply #10 on: December 01, 2008, 11:30:54 PM »
Before changing your windows workstation from workgroup "FOODSAFE" to domain "FOODSAFE", change them to temporary workgroup "TEMP", then restart windows. After restart join domain "FOODSAFE" using user admin and your-sme-admin-password.

Very good point Boris.

Windows is funny that way.  Typically you are forced to drop to a temp work group any time you change the machine name or going from a domain->workgroup or visa-versa, as you've pointed out.
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline Boris

  • *
  • 783
  • +0/-0
Re: Domain server for Win2k computers
« Reply #11 on: December 02, 2008, 03:56:43 AM »
Windows is funny that way.
In this case its not the Windows, but samba's behavior. It doesn't  like multiple connections with different credentials to the server. Changing to temporary workgroup name assures that no cached connections are automatically established upon restart.
...

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Domain server for Win2k computers
« Reply #12 on: December 02, 2008, 04:05:24 AM »
In this case its not the Windows, but samba's behavior. It doesn't  like multiple connections with different credentials to the server. Changing to temporary workgroup name assures that no cached connections are automatically established upon restart.

No, the problem is with Windows.  I can change any configuration parameter in samba and make it active by restarting the nmbd, smbd, and possible winbindd daemons.  No reboot required.

This has nothing to do with cached information. 
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline Boris

  • *
  • 783
  • +0/-0
Re: Domain server for Win2k computers
« Reply #13 on: December 03, 2008, 04:48:18 AM »
Greg,
I am not sure if Linux vs Windows discussion is really needed. As a professional I happily use whatever is appropriate for the job, just considering the strength and limitations of different systems.
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Domain server for Win2k computers
« Reply #14 on: December 05, 2008, 08:06:31 AM »
I am not sure if Linux vs Windows discussion is really needed.

I don't see any such discussion.