Koozali.org: home of the SME Server

Domain name not found for W2K

ben2church

Domain name not found for W2K
« on: August 12, 2005, 01:54:59 AM »
I am new to linux and SME.  I have an SME server running with a small network of 2 Windows 2000 stations.  (This is only a small test network.  I want to use SME for a school server).  

I am having trouble with the W2K computers being able to find the domain.  Workgroup is set up and ready, and I can go to server manager from the stations and file share.  But everytime I try to set up a domain, it doesn't find it.  

I tried to manually set the IP and DNS addresses in W2K, thinking that it may help, over the option to let the stations find them automatically.  It set me back - couldn't get into server manager after that, so I went back to the earlier settings.

Is there any documentation on how to configure the Windows side of things?  I would love to read through things.

Also, I should note - I am setup in private server gateway mode, without an internet connection.  I wanted to set up in my house and try out before taking it to school.  I have dial-up (why bother with a server on this?), but the school has high speed.  So whatever the defaults are for the SME server, are my settings too for IP and DNS addresses.  But this wouldn't affect trying to find an intranet domain, right?

I am running roaming profiles, or at least want to when the domain is recognized.

Again, Windows says it cannot find the domain.  Any suggestions?  

Thanks in advance,
Ben

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Domain name not found for W2K
« Reply #1 on: August 12, 2005, 09:13:34 AM »
ben2church

If you can browse the shares then you must be able to ping the server, check it though just in case
from W2K prompt
ping serverIP


> Workgroup is set up and ready...

Did you actually enable the server Workgroup and Domain controller setting = Yes

Are the workstations in the same workgroup/domain ame as the server ?
You then need to join the workstations to the domain in Control Panel/System/Network ID, are you doing that ?
When you join the domain you need to use the admin name & password.


>....I tried to manually set the IP and DNS addresses in W2K...

Did you enable DHCP in the server configuration, it will be much easier to manage & setup that way, you may need to release the settings in the workstations.

at W2K command prompt see
ipconfig /h
...

ben2church

Re: Domain name not found for W2K
« Reply #2 on: August 15, 2005, 07:12:44 PM »
Ray,

Thanks for your help.  I actually did have all my settings correct, but I didn't realize that W2K actually uses the workgroup name for the intial domain display.  Only after I used the workgroup name, I was able to log in as the SME admin and password with my primary domain site name.  Kind of confusing on the windows side.

Do you know of any optimizer documentation for Windows?  What I mean is my network has older type computers (workstatiions) with hard drives of 2 to 3 gigs. (Not by choice here).  I don't want the workstations being loaded down and slowing down by unneccessary roaming profile settings that don't have to be passed down to the workstations.  

If anyone has any ideas please let me know.  I have found contribs on what to do with My Documents, but not much else.  

Thanks for your help Ray.  I will be installing Dansguardian soon, and will definitely use your documentation.

Ben

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Domain name not found for W2K
« Reply #3 on: August 15, 2005, 09:45:55 PM »
The two main problems with roaming profiles and logging on are
(a) the My Documents folder (as you have noted): put it on a network drive. Any user data should go on a network drive.
(b) temporary internet files....the cache maintained by IE. Either store it on a network drive, or disable caching fo temporary files (I have forgotten how to do this, sorry). Disabling is best, especially if you have a firewall system which is maintaining a cache for the network (eg squid). If so, make the cache big ...say 200Mb. That should cover most things your students need. (The IE cache is a leftover from when we each had our own internet dialup connection and there was no central cache.)

Where-ever possible, use a network drive for data and extra programs. A useful system is to have extra programs that everyone gets (ie not system files or Office) on a network drive (eg K:) and Group data on G: (Group, hey!) while personal data could be on N: (Network...)

This way, very little has to be downloaded during the logon period. When I looked at this (several years ago in another life) some roaming profiles had grown to be over 100MB and logons were taking minutes, not seconds.

I know there are group and user policies available using Win2k or Win2003 Server to restrict what is copied over the network at logon, and where data is stored,  but I don't know how to help implementing them in a SAMBA setup. :-)
___________________
Sydney, NSW, Australia

ben2church

Domain name not found for W2K
« Reply #4 on: August 17, 2005, 02:11:59 AM »
Hello idp_qbn,

Thanks for your help on this.  I have a few questions about what you wrote.

>If so, make the cache big ...say 200Mb. That should cover most things your students need.<
You mean on the network folder for each user account that would store the IE cache, right?  Not 200Mb on the local machine for each user.

>Where-ever possible, use a network drive for data and extra programs. A useful system is to have extra programs that everyone gets (ie not system files or Office) on a network drive (eg K:) and Group data on G: (Group, hey!) while personal data could be on N: (Network...)<
Now would that be physical partitions on the server, seperate hard drives, or just folders on the server that have been mapped to those assignments on the user's profile?  I am pretty sure to mean that latter, but needed to check.

As far as mapping folders to certain network drives, is there any easy way to accomplish this for setting up multiple accounts at once?  I know I could set up a user on SME and then log on to a Windows machine as that user and redirect the location of all the folders, but isn't there a simplier way?  I have read some forums about using scripts for log ons.  How or where could I learn more about this?  

Also, the idea of have programs run off of SME server is new to me.  I haven't read anything on how to accomplish this in the forums or documentation.  I have done it in a Windows environment, but not on SME.  If you have any advice on this, please let me know.  To be honest, I haven't tried it yet, so it may be easier than I think.  Would be great for teaching and learning software to be shared easily.

Thanks idp_qbn for your help and sorry for the questions, but wanted to make sure I fully understand.  If anyone else can help also, please do.  

Ben

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Domain name not found for W2K
« Reply #5 on: August 17, 2005, 07:00:55 AM »
Ben,
1) By the cache=200Mb, i meant the cache on your firewall/gateway pc. You should have one; I use Smoothwall, which is free and excellent. A similar one is IPCops. There are commercial ones. All will offer interent caching,99.9% using squid. It acts just like the Temporary Internet Files in Windows. All PCs on your network will use this cache ... you force this on the firewall. So, 1 x 200Mb is all you need....it could be 500Mb, it is up to you.

2)The network drives I talk about are just places to store things. Nothing 'runs' there. SO, as long as you have a WIndows readable drive (eg Samba) you can use it.

If everyone uses, say, Copernic as a search engine, then install it on your user pcs base setup using a network drive as its default directory. eg install it on G:\copernic. Give evry user an icon on their desktop to use it. Make it read only on G:\. Generally, make G: a read only drive, so users can load and execute the programs but not delete or alter them.

You can run MS Office from there, but you need to make 2 changes to where Office stores files:
a) set the user's files to be on their home drive (H: or N: or whatever network drive you choose for them); Open Word, then Tools/Options/File Locations/Documents then highlight 'Documents' then click Modify.
b) Now Modify the location of USer Templates to be on the same Home drive.

3) You need to have a Home Directory for each user on your server. They have one created for them on SME server automatically. Use that. Have a login script for each user to run...it can be one common one. It should connect them to their network drives.
eg
net use g: /d {get rid of old drive mappinga}
net use h: /d
net use g: \\sme-server\group {set up new ones}
net use h: \\sme-server\%user%

{%user% is a windows variable containign the username for the current logged on user...check this, cos I am working off a dim memory}

This is a very basic mapping of two Windows drives to 2 folders on the SME server. You can get fancier login scripts which disconnect the g: and h: (or N: whatever) when they log off. Do a Google search on Windows login scripts. (logon scripts??) for extra help. Windows 9x PCs have a slightly different login script method than WIndows NT/200/XP. In other words, the PC automatiaclly will look for a login script, but where it looks depends on the OS of the PC.

If in doubt, get hold of a Samba Howto, or as a last resort, get hold of a WINdows NT text (cheap!!!) which can tell you about logon scripts. WIn2000/WinXP Servers handle it differently and are probably a bit too complex for what you want. Once again, do a Google for Smba and Windows Login Scripts.

Cheers
Ian
___________________
Sydney, NSW, Australia

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Domain name not found for W2K
« Reply #6 on: August 17, 2005, 08:14:50 AM »
More yet, Ben:

Here's one link to WinNT logon scripts (there are many, many more)
http://is-it-true.org/WindowsTips/WindowsNT/AdminTips/Logon/WindowsNTLoginScriptTricksandTips.html

AND
Here's a SAMBA link (once again, there are many others)
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/

There should be ways of doing this in SAMBA you can find out.

Finally, you may need to do something about security policies. Win9x and Win2k/NT/XP do it differently and have their own SECPOL utility for configuring security on the workstation ie what the users can and can't fiddle with. In an Windows server environment, security policies can be set centrally. With SAMBA, I'm not sure how to do it

As you should be realising by now, this is a large can of worms you are opening! Good luck.
___________________
Sydney, NSW, Australia

ben2church

Domain name not found for W2K
« Reply #7 on: August 18, 2005, 01:44:04 AM »
Ian,

Wow, lots of good stuff.  I will experiment and get back to you if I have more questions.  Right now, I am having trouble starting off.  I have read what you gave me and other sites on tips and hints, even W2K books, but can't find where I actually go to get to the scripts.  Is it in the regedit or a DOS command line?  How do I see the current setup and start editing it?

Thanks again for your advice.  If I get it setup right, it should do everything I want it to. Yeah, this is a big can of worms, but hopefully luck will be with me.

Thanks again,
Ben

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Domain name not found for W2K
« Reply #8 on: August 18, 2005, 06:27:20 PM »
Ben,
I have found a link to an online version of an excellent Samba book http://www.oreilly.com/catalog/samba2/

This is well worth looking at for the mechanics of setting up a Windows and Linux Samba system.

I also have a zipped version of an older NT/2000 help system which I found invaluable when I was doing this sort of stuff, but it is no longer available as a download. You can broswe it online at http://www.windowsitpro.com/windowsnt20002003faq/

I could send you the zipped version but is just over 5Mb...can you cope with that?
___________________
Sydney, NSW, Australia

ben2church

Domain name not found for W2K
« Reply #9 on: August 23, 2005, 01:32:03 AM »
Ian,

Sorry for the slow response.  Sure, the attachment size is no problem.  Do you want my email address?

I haven't had time to play more this week, but will soon.

Thanks,
Ben

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Domain name not found for W2K
« Reply #10 on: August 23, 2005, 06:47:20 AM »
Ben,
Yes, I will need your email address. Mine is
floyd.patterson@companionhouse.org.au
Cheers
Ian
___________________
Sydney, NSW, Australia