[Samba] Roaming profiles, W2K and Samba PDC.

Ken D'Ambrosio kend at employees.org
Wed May 29 18:48:02 GMT 2002


<expletive deleted>  My roaming profiles keep "forgetting" they exist on
my W2K boxen.  It doesn't occur server-side, as other W2K clients log in
fine.  But, once one of the clients has forgotten about roaming profiles,
it usually takes a re-install to make it remember them... and then, only
temporarily.  (Except on one machine that's worked fine from the get-go.)
I even entirely re-did my smb.conf, and upgraded to 2.2.4, in case I was
missing something.  I readily admit I may have done something wrong; the
PDC docs leave some "holes" in the configuration matrix that makes me
guess on interpretation.  Anyway, below, please find my smb.conf (PDC),
and feel -free- to call my attention to anything I've fsck'd up.

Thanks muchly, all...

-Ken


---------------------------- cut here ----------------------------
[root at polaris etc]# less /usr/local/samba/lib/smb.conf

[global]
        ; Basic server settings
        netbios name = polaris
        workgroup = FOOCO

; we should act as the domain and local master browser
        os level = 64
        preferred master = yes
        domain master = yes
        local master = yes

    ; security settings (must user security = user)
        security = user

    ; encrypted passwords are a requirement for a PDC
        encrypt passwords = yes

    ; support domain logons
        domain logons = yes

#############################################
    ; where to store user profiles?
#    logon path = \\%N\profiles\%u
#       logon path = \\polaris\profiles
#       logon path = \\polaris\%U\profiles
# Yes, I'm guessing that there's something wrong, here...
logon path = \\polaris\profiles
#######################################################

    ; where is a user's home directory and where should it
    ; be mounted at?
    logon drive = H:
#    logon home = \\homeserver\%u

    ; specify a generic logon script for all users
    ; this is a relative **DOS** path to the [netlogon] share
    logon script = logon.cmd

   # The below stuff is the only stuff stolen from old smb.conf files
        domain admin group = @adm
        add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
        smb passwd file = /usr/local/samba/private/smbpasswd

; necessary share for domain controller
[netlogon]
    path = /var/samba/netlogon
    writeable = no
    write list = ntadmin
; share for storing user profiles

[profiles]
    path = /profiles/%u/profiles
    writeable = yes
    create mask = 0600
    directory mask = 0700

[homes]
        comment = Home Directories
        read only = No
        browseable = Yes

[shared]
        comment = Shared Drive
        read only = No
        browseable = Yes
        path = /mnt/raid0/servers/sol/shared






More information about the samba mailing list