Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba PDC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DaveHope
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2004
Posts: 117
Location: Dorset, United Kingdom

PostPosted: Tue Nov 16, 2004 8:51 pm    Post subject: Samba PDC Reply with quote

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
View user's profile Send private message
Falador
n00b
n00b


Joined: 18 Jan 2004
Posts: 60

PostPosted: Tue Nov 16, 2004 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Wed Nov 17, 2004 12:17 am    Post subject: Reply with quote

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
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Wed Nov 17, 2004 9:16 am    Post subject: Reply with quote

Check http://www.idealx.org/prj/samba/smbldap-howto.en.html
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
DaveHope
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2004
Posts: 117
Location: Dorset, United Kingdom

PostPosted: Wed Nov 17, 2004 10:15 am    Post subject: Reply with quote

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 ? :P

Thanks !
Back to top
View user's profile Send private message
JeroenV
Guru
Guru


Joined: 16 Jul 2002
Posts: 447
Location: Amsterdam / Hamburg

PostPosted: Sat Nov 27, 2004 8:14 pm    Post subject: Reply with quote

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 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum