Linux as a PDC

Roy Thomas royt at
Thu May 10 10:55:34 GMT 2001

[Roy Thomas]

hi ajay

here's some hints on how i went about setting up...... if this could help........
The above 3 site will give you a brief of samba PDC
You can get the source/binaries from
you can install samba-alpha 2.2 or the cvs version on the RD 7.0
steps are
download->configure->make->make install
Now samba needs to be configured. Some highlights of what needs to be done
Groups have to be created to which different classes of users will belong.
Add Users/workstations(manually or thru scripts) on linux/samba 
The '/etc/smb.conf' contains all of the samba configuration
Define the home share
Define the profile share
Define the netlogon share
you can start off with minimum setup and then try to configure scripts to logon
and to add workstations,printer conf etc 

Its working fine for me..
try out ...........this is not everything but something to start offf......


workgroup = "your domainname"
server string = samba PDC
hosts allow = 10.10. 10.20. 127.
log file = /var/log/samba/log.%m
log level = 3
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
domain admin group = @admins
domain admin users = root 
local master = yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon script = login.bat
logon home = \\%G\%U\.profile
name resolve order = wins lmhosts bcast
wins support = yes
wins proxy = yes
dns proxy = yes
preserve case = yes
short preserve case = yes
status = yes
share modes = no

Share Definitions
   comment = Home Directories
   browseable = no
   writable = yes
   hide dot files = yes
   comment = Network Logon Service
   path = /home/netlogon
   guest ok = no
   writable = no
    path = /%G/%U/.profile
    browseable = no
    guest ok = yes
   comment = User Applications
   path = /apps
   public = no
   writable = no
   printable = no
   create mask = 0666
   directory mask = 0775
   comment = User Data
   path = /data
   public = no
   writable = yes
   printable = no
   create mask = 0666
   directory mask = 0775
   force group = users

-----Original Message-----
From:	Raghuraj, Ajay [SMTP:ajay.raghuraj at]
Sent:	Thursday, May 10, 2001 10:27 AM
To:	samba-ntdom at
Subject:	Linux as a PDC

Hi all,

I have a seperate LAN in my netwrok for a project purpose.However the number
of hosts in the LAN is around 40. I have Linux ( RedHat7.0) on a Dell 2400.I
want to configure this as a Domain Controller for NT/2000 machines.Please
guide me step by step.

Thanks & Regards,
WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee.  Access to this message
by anyone else is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.----------------- HCL Perot Systems


More information about the samba-ntdom mailing list