for convienence i'll post my complete smb.conf as a sample for you.
=======================================================================
;# This file is automatically generated any manual changes WILL BE OVERWRITTEN
;# Amahi configuration, generated on Sun Jul 05 18:15:27 +0200 2009
[global]
workgroup = {YOUR_DOMAIN}
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
;# below options are added to make amahi a pdc #
os level = 65
preferred master = yes
domain logons = yes
logon path = \\hda\profiles
;automatically maps the home directory of the user, can be any drive letter you want. \\hda is the Samba server netbios name logon drive = q:
logon home = \\hda\%u
;# end pdc options #
time server = yes
printer admin = root, @ntadmin, administrator
;# The homes share #
[homes]
read only = no
browseable = no
;# end [homes] #
;# The netlogon share required for domain logons #
[netlogon]
comment = Network Logon Service
writable = no
share modes = no
;# end [netlogon] #
;# The profiles share needed to store your roaming profiles #
[Profiles]
comment = Roaming Profile Share
read only = No
profile acls = Yes
;# [end profiles share] #
[print$]
Now you need to setup your Windows pc for domain logins.
***(Note the first time that you join a Samba domain from Windows, you will need to join the domain by using root as the name, and your root password for the password. After rebooting, any valid user will be able to access the domain.)