[Samba] More profile woes

Anders Östling anders.ostling at gmail.com
Sun Mar 14 16:29:47 UTC 2021


Hi all

I have another funny profile issue. In my home lab, I have created a couple of test accounts towards an 4.11.6 Samba server.
Roaming profiles worked fine, but suddenly one of the accounts get the 1521 “profile is in use by another process” while logging in.

With smbstatus, I can see the following (the test account “eva” is currently logged out)

Locked files:
Pid          User(ID)   DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
...
14470        10004      DENY_NONE  0x12019f    RDWR       LEASE(RWH)       /share2/profiles   eva.V6/ntuser.ini   Sun Mar 14 17:08:08 2021
14470        10004      DENY_NONE  0x120089    RDONLY     LEASE(RWH)       /share2/profiles   eva.V6/ntuser.ini   Sun Mar 14 17:08:08 2021
14470        10004      DENY_WRITE 0x12019f    RDWR       LEASE()          /share2/profiles   eva.V6/NTUSER.DAT   Sun Mar 14 17:08:08 2021
...

Can someone please explain what these lines tells me, and if this can be the cause of the failed profile access.

EDIT: After waiting 10 minutes, the locks (?) were gone: Doing a new login and now the profile loads correctly. There are now these locks (?), but no profile lock.

root at hp-srv03:/home/administrator# smbstatus|grep eva
14694   eva          domain users 10.0.2.100 (ipv4:10.0.2.100:53653)        SMB3_11           -                    partial(AES-128-CMAC)
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/AppData/Roaming/Microsoft/Internet Explorer/Quick Launch/User Pinned   Sun Mar 14 17:25:50 2021
825          0                 DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Documents   Sun Mar 14 17:19:49 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Documents   Sun Mar 14 17:25:46 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/AppData/Roaming/Microsoft/Windows/Network Shortcuts   Sun Mar 14 17:25:41 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Start Menu/Programs   Sun Mar 14 17:25:50 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/AppData/Roaming/Microsoft/Windows/Printer Shortcuts   Sun Mar 14 17:25:41 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Start Menu   Sun Mar 14 17:25:50 2021
825          0                DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Documents/New doc folder   Sun Mar 14 17:19:51 2021
14694        10004      DENY_NONE  0x100081    RDONLY     NONE             /share2/Users   eva/Downloads   Sun Mar 14 17:25:46 2021

Is there any documentation (besides the sources) that describes the output of smbstatus?

Best regards

Anders Östling

Dämmegatan 11
SE-25442 Helsingborg
Sweden
Phone: +46 768 716 165
Skype: anders.ostling at outlook.com



More information about the samba mailing list