Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: troykd on February 24, 2006, 06:15:26 PM

Title: NETLOGON.BAT question
Post by: troykd on February 24, 2006, 06:15:26 PM
Ok, I have everything running but the PDC.  I've read the bit in the documentation about netlogon.bat but frankly don't understand.  Can someone point me in the right direction.  I can log on and get to my netlogon.bat file on my server \\server\netlogon\ and see the file.  All the lines in the file are remarked out.  Couldn't find any other examples of the capabilities for this file.

Do I copy this file onto the windows machines?  Where do I copy it too?  HELP
Title: NETLOGON.BAT question
Post by: dsemuk on February 24, 2006, 07:44:54 PM
A quick search would have revealed quite a few threads covering this topic, here is one to get you started.

http://forums.contribs.org/index.php?topic=29028.0

Dave
Title: NETLOGON.BAT question
Post by: dsemuk on February 24, 2006, 07:49:56 PM
I should have also said that the batch file remains on the server... the client machines read the file as they logon.

Dave
Title: NETLOGON.BAT question
Post by: troykd on February 24, 2006, 08:21:14 PM
I had already read that post.  I found it less than clear (not idiot proof) for me.  It's also pertinent to v6.  Is SME v7 the same?
Title: NETLOGON.BAT question
Post by: dsemuk on February 24, 2006, 08:58:28 PM
OK what are you trying to achive by using the logon script perhaps it would be best to work backwards.

Is it simple "mapped" drives you are looking at?

Everything in that threat I pointed you towards should work in v7

Dave
Title: NETLOGON.BAT question
Post by: woyzeck on February 24, 2006, 09:46:08 PM
Okay, while we are on this subject of Domains.....

I have never seen the advantage of setting up each workstation to join a domain using samba unless you are going to use roaming profiles.  With a Window sDomain Controller there are obvious advantages from the adminstrators standpoint, but with Samba?   Is there some other advantage?

Since I ususally set up small office or home networks, I usually just use workgroups, which seem to give all the same functionality as a domain minus the roaming profiles.  Am I wrong?

Thanks in advance,

Woyzeck
Title: NETLOGON.BAT question
Post by: JonB on February 24, 2006, 10:34:32 PM
troykd,

Remember that XP Home cannot log onto a domain. I usually set up small networks as workgroup, particularly where users are not PC hopping or sharing.

Still set up the SME as a Domain and Workgroup Controller but do not set up the PC's to log into the domain.

Jon
Title: NETLOGON.BAT question
Post by: troykd on February 24, 2006, 10:37:44 PM
Hi,
I am trying to set it up with roaming profiles.  In a real estate office we have about 5 desktops for the use of agents.  They will use whatever computer is available.  I'd like the users to have their own directories for file storage and the workstation log on and map the file server drive automatically.

The staff have their own dedicated desktops.  

I had everyone in two different work groups (staff and agents).  From what I've read, everyone needs to be on the same work group.  Made that change today.  

Put the users into two different groups with the server-manager (agents and staff).  

All desktops are XP Pro.

When I read the posts previous to this for the answer, I just didn't follow it as I probably do not have the level of linux or samba knowledge required to make sense of it.  I was looking more for the 'monkey see, monkey do' walk through on what I need to do to the XP clients and to the server.

Everything else about SME has been great, I'm just stuck on this bit.

Thanks!
Troy
Title: NETLOGON.BAT question
Post by: p-jones on February 24, 2006, 10:57:28 PM
For each user to have there own data drives, you will need to give each user a seperate account.

You can setup seperate ibays for common data - like the listing program or whatever and make a group for that and assign user to that group.
eg ibay = listings, group = list_group members of list_group=w, x,y,z

Then re-work the netlogon.bat to map those ibays.

You will end up with machine that are identical in terms of drive mapping for each user with the exception of the users home drive.

Beware of roaming profiles though - I both love them and hate them. I love them for what you are trying to achieve here. I hate them because more problems arise from damaged profiles than from anything else. Sometimes those problems exhibit themselves in ways which are very misleading and will send you down a very different path to where you should be going. Also, it helps if all workstations are identical. oftware & Hardware. Build one and "ghost"  the rest.

You will find a thread in this forum with some fancy logon scripting software. I tried it and it works quite well.

HTH
P
Title: NETLOGON.BAT question
Post by: azche24 on February 27, 2006, 07:39:42 PM
Quote from: "troykd"
Hi,
Icomputer is available.  I'd like the users to have their own directories for file storage and the workstation log on and map the file server drive automatically.


net use H: \\SERVERNAME\%USERNAME%

for individual file storage. And tell your users NOT to use "own-data" or "Documents and Settings" as offered by MS.

You can also map extra ibays (in our case for apps and shared data with read/write access) by creating ibay with proper rights and mapping them

net use G: \\SERVERNAME\data
net use I: \\SERVERNAME\apps


Desktop profiles come with the user-logon. So you have to create them once and then add the users to the needed WS with appropriate rights.

You have to install the same apps on every WS.[/quote]