[Samba] segfault in smbclient 4.13.2?

Joachim Lindenberg samba at lindenberg.one
Wed Mar 3 16:57:57 UTC 2021



As part of my replication script for sysvol, I am using the following excerpt:


mkdir /tmp/samba/sysvolcopy

cd /tmp/samba/sysvolcopy


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?


Thanks, Joachim



More information about the samba mailing list