We call ‘H.startswith()’ without first checking whether H is None. Reported on the samba mailing list: https://lists.samba.org/archive/samba/2023-August/246365.html
This bug was referenced in samba master: 776597bce922d291257e34f1e3304227265a1dbc
Created attachment 18072 [details] patch in master backported to Samba 4.19
Assigning to Jule for inclusion in the next Samba 4.19 release.
Pushed to autobuild-v4-19-test.
This bug was referenced in samba v4-19-test: 645fc88b65cfa27bf5be88b7b485c273ae0d832b
Closing out bug report. Thanks!
This bug was referenced in samba v4-19-stable (Release samba-4.19.0rc4): 645fc88b65cfa27bf5be88b7b485c273ae0d832b