Primary Domain Controller Support

Samba can function as an NT Primary Domain Controller, although this is unsupported. The following shares will need to be created, in addition to the options in the global section.

# The network login share

[NETLOGON]

   comment = netlogon
   
   # The path to this share. It doesn't really have to exist, but if
   # you want to use login scripts or default profiles, you'll need it.

   path = /home/netlogon

   # Guests are okay to log

   guest ok = yes

   # Can't write to this

   writeable = no

   # Disables windows style file locks

   share modes = no

# share for NT Profiles

[Profiles]
   comment = Windows-User-Profiles

   # Store them in the users home directory

   path = /home/%U/profiles
   browseable = no
   guest ok = yes
   writeable = yes