Fix make test warnings for ntvfs handler = cifs shares

Jeremy Allison jra at samba.org
Fri Aug 22 12:40:01 MDT 2014


On Fri, Aug 22, 2014 at 09:28:23AM +0200, Stefan (metze) Metzmacher wrote:
> Hi,
> 
> Please review and push...

Obvious goodness, thanks ! Pushed.


> From d4b567c6a6c56df52b5d82bc5c6ef413c13ec2f7 Mon Sep 17 00:00:00 2001
> From: Stefan Metzmacher <metze at samba.org>
> Date: Wed, 6 Aug 2014 16:54:43 +0200
> Subject: [PATCH] selftest/Samba4: avoid warnings about 'path' not specified on
>  'ntvfs handler = cifs' shares
> 
> Signed-off-by: Stefan Metzmacher <metze at samba.org>
> ---
>  selftest/target/Samba4.pm | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
> index ec0f439..ffaf2be 100755
> --- a/selftest/target/Samba4.pm
> +++ b/selftest/target/Samba4.pm
> @@ -853,6 +853,7 @@ sub provision($$$$$$$$$)
>  	posix:writetimeupdatedelay = 50000
>  
>  [cifs]
> +	path = $ctx->{share}/_ignore_cifs_
>  	read only = no
>  	ntvfs handler = cifs
>  	cifs:server = $ctx->{netbiosname}
> @@ -999,6 +1000,7 @@ sub provision_rpc_proxy($$$)
>  	dcerpc_remote:interfaces = rpcecho
>  
>  [cifs_to_dc]
> +	path = /tmp/_ignore_cifs_to_dc_/_none_
>  	read only = no
>  	ntvfs handler = cifs
>  	cifs:server = $dcvars->{SERVER}
> -- 
> 1.9.1
> 





More information about the samba-technical mailing list