Help Topics

horizontal rule

Home   |   Portfolio   |   Contact   |   Help Topics

SAMBA 3 in OS X Server 10.3

Tips for setting up a Windows Primary Domain Controller
Requires SAMBA 3.x, included with Mac OS X Server 10.3. Older versions of SAMBA won't work as a PDC.
 

On Mar 14, 2005, at 8:10 AM, Jason Kuo wrote:
Hey Kevin,
We moved. We're in the new campus, and we got a whole lot of new equipment.
I've made a PowerMac the PDC, but I can't get the windows logon script to
work. I put it into /etc/logon, like the manual said, and then put it in
the field for logon script (logon.bat, for /etc/logon/logon.bat), but it
doesn't run. I've set the permissions as 777. I'm assuming you've gotten
this to work for you. Can you help? Windows users are all messed up till I
get this.

Thanks man!
Jason

From: Kevin Pedersen
Date: March 14, 2005 10:05:22 AM PST
To: Jason Kuo
Subject: Re: Help with logon scripts with Mac PDC
Hey Jason,
I do have a PowerMac G5 running great as both a fileserver and a PDC.
The path to the logon script is /etc/netlogon/logon.bat
However, you only enter the name of the script, not the entire path in Workgroup Manager, e.g. logon.bat (see image)
I also have roaming profiles set up. I put mine in the user home directories in the Library folder because i wanted to keep all user data in one place, but the default is to have all user profiles stored in a separate directory, e.g. \\Server\Users\profiles\%username%
I think the default method will be easier, since you can highlight all users at once, enter the path (e.g. \\Server\Users\profiles), and Workgroup Manager will add the username for each user automatically. After that, you have to login as Administrator on each dedicated PC that is used by a teacher move/copy all local profile data from each machine into, for example, \\Server\Users\profiles\chrisb, etc. Do this by changing the profile type under system properties... I think you know the drill.
The Windows home directory, H: (e.g. \\Server\Users\chrisb), will be mapped dynamically at each login without any further settings changes, so long as "Virtual Share Points" is checked under the advanced tab of the Windows settings in Server Admin (I think this is checked by default).
I hope this helps!
Take Care,
Kevin
On Mar 14, 2005, at 12:23 PM, Jason Kuo wrote:
Hey Kevin,
Thanks for the help. I'll probably end up running roaming profiles, but it
could be more troublesome with all the labs and all the kids.
I had it entered like you said, just logon.bat, but it doesn't seem to do
anything. Do I need some special permissions or something on it?
Thanks,
Jason

oops...
any bat file must be made executable.
chmod ugo+x logon.bat
via Terminal as root

-Kevin

If the manual says to put the file into /etc/logon, then it's wrong. The logon script (logon.bat) must be in /etc/netlogon.

-Kevin



Last updated on the twenty-eighth of March, 2005.
Please use this contact form to get in touch with me.


made  
   with 
HTML