[Samba] Samba PDC Questions

Robert Brugman rbrugman at chartermi.net
Wed Jan 21 03:50:31 GMT 2004

I am setting up Samba as my primary domain controller for my network to
connect all my windows machines.  I can get the machines to join the
network, but I have a couple problems.  Maybe someone here can help:

1.) When switching from a workgroup (single client machines) to the 
is there a way to transfer the profiles, so everyone's 
are the same as they were?

2.) On the local machine, I use MultiRes to change the resolution of my
screen on Windows 2000.  When I log in, it goes to 1600x1200 and when I 
out, it goes back to 1024.  When I join the domain, it doesn't load on
startup anymore, and when I log off, it says "can't write Multires.exe,
etc".  How do I fix this problem?

3.) My last question is how come only my user has their home directory
mapped to H when they log in?  I thought I set it up correctly.  Below I
have pasted in my config.  Maybe I'm just stupid and have something 


P.S. This may be quite long.


# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
    ;basic server settings
    workgroup = freenet
    netbios name = Orion
    server string= Samba PDC running %v
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 

    ;PDC and master browser settings
    os level = 64
    preferred master = yes
    local master = yes
    domain master = yes

    ;security and logging settings
    security = user
    encrypt passwords = yes
    domain logons = yes
    log file = /var/log/samba/log.%m
    log level = 2
    max log size = 50
    hosts allow =

    ;user profiles and home directory
    logon name = \\%L\%U\.profile
    logon drive = H:
    logon path = \\%L\profiles\%U

    comment = Home Directories
    browseable = no
    writeable = yes

    path = /home/samba/profiles
    writeable = yes
    browseable = no
    create mask = 0600
    directory mask = 0700

    path = /usr/local/samba/lib/netlogon
    read only = yes
    write list = ntadmin

    ;add user script
    add user script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u

    ;sync UNIX passwords
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* 
*Enter* *new*UNIX*password* %n\n *Retype*new*UN$

    comment = Robert's Stuff
    path = /home/rbrugman/
    valid users = rbrugman
    public = no
    writable = yes
    printable = no
;   create mask = 0765

    comment = Music Server
    path = /home/music/
    public = yes
    valid users = rbrugman
    writable = yes
    printable = no


~Robert Brugman~
This e-mail is X.509 happy ;-)
GPG Fingerprint: D710 B8D9 C72A AB56 174F  71AC 3619 9F32 8250 6034

More information about the samba mailing list