[Samba] segfault in smbclient 4.13.2?

Rowland penny rpenny at samba.org
Wed Mar 3 17:21:54 UTC 2021


On 03/03/2021 16:57, Joachim Lindenberg via samba wrote:
> Hello,
>
>   
>
> As part of my replication script for sysvol, I am using the following excerpt:
>
>   
>
> mkdir /tmp/samba/sysvolcopy
>
> cd /tmp/samba/sysvolcopy
>
> peer='cobra.samba.lindenberg.one'
>
> smbclient \\\\$peer\\sysvol 'password' -UJoachim -e --max-protocol SMB3  -c "prompt; recurse; mget *"
>
>   
>
> with 4.13.2-Debian running on Ubuntu 20.04 I get
>
>   
>
> getting file \samba.lindenberg.one\Policies\{06C651B1-01BC-4B53-8497-40CFD30F94C2}\GPT.INI of size 59 as GPT.INI (0.6 KiloBytes/sec) (average 0.6 KiloBytes/sec)
>
> getting file \samba.lindenberg.one\Policies\{06C651B1-01BC-4B53-8497-40CFD30F94C2}\Machine\comment.cmtx of size 1396 as comment.cmtx (13.0 KiloBytes/sec) (average 6.9 KiloBytes/sec)
>
> getting file \samba.lindenberg.one\Policies\{06C651B1-01BC-4B53-8497-40CFD30F94C2}\Machine\Registry.pol of size 2294 as Registry.pol (20.7 KiloBytes/sec) (average 11.6 KiloBytes/sec)
>
> ./bug.sh: line 4:  3620 Segmentation fault      (core dumped) smbclient \\\\$peer\\sysvol 'password' -UJoachim -e --max-protocol SMB3 -c "prompt; recurse; mget *"
>
>   
>
> Whereas with 4.12.11 the script runs through all my sysvol successfully.
>
> Is this a know bug in 4.13? An ACL issue? Anything else to check?


 From a Samba 4.13.4 client to a 4.13.2 DC, it works for myself. Could 
something else have changed ?

Rowland





More information about the samba mailing list