View previous topic :: View next topic |
Author |
Message |
DaveHope Tux's lil' helper
Joined: 16 Sep 2004 Posts: 117 Location: Dorset, United Kingdom
|
Posted: Tue Nov 16, 2004 8:51 pm Post subject: Samba PDC |
|
|
Hello all,
Been playing around with sama acting as a PDC and for the most part, it works well However I have a few queries:
1: Windows 9x (and NT4 Workstation?) only required a user account to be present on the PDC, Windows 2k and above need an account for the system and an account for each user. Creating accounts for systems is somewhat tedious, I've read that it can be automated so that whenever a system requests to join a domain an account is created for it (no shell or home dir etc..), does anyone know about this and how it might be achieved ?
2: How can I map a network device to a drive letter ? - net use <path> <drive> at a guess, but how does one automate this? - I know there's a script (in netlogon which can be called at login by the client, but what format are they in (Batch file?) and how do I set one up for every user?
Thanks all! |
|
Back to top |
|
|
Falador n00b
Joined: 18 Jan 2004 Posts: 60
|
Posted: Tue Nov 16, 2004 11:55 pm Post subject: |
|
|
I use samba with LDAP so it my be a little different. To add a machine automatically add the 'add machine script' line to your smb.conf. It will go something like this:
Code: | add machine script = /usr/sbin/useradd -d /dev/null -c 'Machine Account' -s /bin/false %m\$ |
I'm not sure how to auto mount shares in windows off the top off my head. Using the netlogon scripts is simple like you described but it's also possible through the smb.conf I think (May only be possible for home directory's). My users home directory's are automatically mounted to drive letter Z:
Hope that helps a little |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Wed Nov 17, 2004 12:17 am Post subject: |
|
|
For auto mount just use either a batch file or vbs file, either will do the job quite nicely. Not sure what you mean by "net use <path> <drive> at a guess", you will know the name of the shares and the name of the PDC and that is all you need. _________________ Come and play in my land |
|
Back to top |
|
|
eikketk Apprentice
Joined: 03 Jun 2003 Posts: 270 Location: Belgium
|
|
Back to top |
|
|
DaveHope Tux's lil' helper
Joined: 16 Sep 2004 Posts: 117 Location: Dorset, United Kingdom
|
Posted: Wed Nov 17, 2004 10:15 am Post subject: |
|
|
Falador, thanks. Added it - Will add a test machine when I return home to see if it's working alright
maletek - hrm, Will do that then
Finally, does anyone happen to have USRMGR & Poledit at hand? If so, would you mind putting them in an archive and sending my way ?
Thanks ! |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Sat Nov 27, 2004 8:14 pm Post subject: |
|
|
Hi,
For poledit, just download a win2k servicepack from M$ and extract it on a windoze pc:
Code: |
<servicepackname> /x
|
Within, there is poledit.exe _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
|