[Samba] roaming profiles not working

Антон Ванюков av3nger at list.ru
Fri Mar 2 10:26:36 GMT 2007

Hello. I've configured roaming profiles on my server. But they are working very strange. When I log in from a Windows XP machine with the user 'test' I get an error message saying that the machine can't find a server copy of my roaming profile and is logging on using the default local profile. In details it says that the network name cannot be found. But after logging in and after creating a file (for example on the desktop) and after logging out the file can still be found on the server in /home/test/Desktop/. If I log in again I get the same error message. But the file is still there. So it's loading from the server. What's wrong?
I've configured the Default User profile and copied it to the /usr/local/etc/netlogon/ directory. Also all the local profiles are deleted on logout.
Here's a copy of my smb.conf file (i've cut some parts out):
   workgroup = CTMTEST
   netbios name = ANTONV
   server string = Test Samba Server
   interfaces = xl0
   security = user
   hosts allow = 10.0.0. 127.
 ... some log configs ...
 ... some ldap configs ...

   socket options = TCP_NODELAY

   local master = yes
   os level = 64
   domain master = yes
   preferred master = yes
   domain logons = yes

   logon script = logon.bat
   logon path = \\%L\Profiles\%U
   logon home = \\%L\Profiles\%U
   logon drive = P:

   wins support = yes
   dns proxy = no
   time server = yes

   display charset = koi8-r
   unix charset = koi8-r
   dos charset = cp866

   comment = Home Directories
   browseable = no
   writable = yes

   comment = Network Logon Service
   path = /usr/local/etc/samba/netlogon
   guest ok = yes
   read only = yes
   share modes = no
   browseable = no

    comment = Profile Share
    path = /usr/local/etc/samba/profiles
    writable = yes
    create mask = 0600
    directory mask = 0700
    browseable = yes

More information about the samba mailing list