[samba4]: error message when saving back roaming profile

Manu manu.b2007 at gmail.com
Wed May 14 18:28:47 GMT 2008



I have set a Samba 4 server under VMWare. The server runs under Ubuntu
Server 8.04.

I checked out and built sources today.

I have also two XP Pro virtual machines. I can join the domain without


I created a new user with the following :


root at chaos:~# useradd -g users -md /home/jkirk -s /bin/bash jkirk


root at chaos:~# cd /usr/local/src/samba4/samba_4_0_test/source/


root at chaos:/usr/local/src/samba4/samba_4_0_test/source# ./bin/smbpython
setup/newuser --unixname=jkirk jkirk passuser2K

New event context requested. Parent: [struct cli_credentials:0x8885d10]

New event context requested. Parent: [NULL:(nil)]


Then I have set a roaming profile using < dsa.msc >. My new user can log
without errors but when closing the session, I receive the following message


Windows cannot copy file " C:\Documents and Settings\jkirk\Network
Neighbourhood " to "\\chaos\profiles\jkirk\ Network Neighbourhood ".
Possible causes of this error include network problems or insufficient
security rights. If this problem persists, contact your network
administrator. DETAIL - The process cannot access the file because it is
being used by another process.



Here's my smb.conf :



            netbios name    = chaos

            workgroup         = ACME

            realm                = ACME.LOCAL

            server role     = domain controller





            path = /usr/local/samba/var/locks/sysvol/acme.local/scripts

            read only = no



            path = /usr/local/samba/var/locks/sysvol

            read only = no



            path = /home

            read only = no



Rights on the profile directory :


root at chaos:~# ls -l /home

total 12

drwxr-xr-x 2 jkirk users 4096 2008-05-14 19:34 jkirk

drwxr-xr-x 3 root  root  4096 2008-05-14 17:00 samba

drwxr-xr-x 2 user  user  4096 2008-05-14 11:55 user


The following files are saved on the shared folder :


root at chaos:~# ls -l /home/jkirk

total 536

-rw-r--r-- 1 jkirk users 524288 2008-05-14 19:34 NTUSER.DAT

-rw-r--r-- 1 jkirk users   1024 2008-05-14 19:34 NTUSER.DAT.LOG

-rw-r--r-- 1 jkirk users     20 2008-05-14 18:36 ntuser.ini


Is there any other rights to set to the shared directory ? ACLs or security
settings ?






More information about the samba-technical mailing list