[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    Re: [Samba] hp-ux samba windows client fails to delete directory
From:       Ralph Boehme via samba <samba () lists ! samba ! org>
Date:       2019-11-28 13:19:16
Message-ID: e989f4ec-cd6c-1de4-e007-2aa2315a6102 () samba ! org
[Download RAW message or body]

On 11/28/19 11:13 AM, Kumar, Arjit (SSTO) via samba wrote:
> I am able to re-produce the same behavior with samba 4.10.0 on Ubuntu 1904 as it \
> was on hp-ux with samba 4.9.0. 
> Scenario:-
> 1.      Configure samba as PDC and start smbd and nmbd daemons.
> 2.      Map samba share on 2 Windows PC#1 and PC#2 with same credentials created by \
> pdbedit -a  command 3.      Windows PC#1 creates two directories, \
> \FOLDER_A\FOLDER_B in the Samba share 4.      Change directory to \
> 5.      Windows PC#2 changes from a current directory to \FOLDER_A\FOLDER_B (i.e., \
> user on PC#2 is accessing FOLDER_B under FOLDER_A and session is active) 6.      \
> Windows PC#1 tries to delete \FOLDER_A Sometimes, \FOLDER_A\FOLDER_B gets deleted \
> but not \FOLDER_A, while sometime both  \FOLDER_A and , \FOLDER_A\FOLDER_B got \
> deleted. 7.      Same behavior is seen when doing those operations using smbclient \
> on HP-UX 
> NOTE: If no user is accessing FOLDER_B, removal of FOLDER_A is successful.
> 
> Please help me understand what should be the expected behavior in such scenario.

yes, probably works as designed. Cf the option "strict rename", it
applies to deleting directories as well. It's disabled by default which
explains why you can delete modulo strange errors.

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic