The function makedev() is defined in <sys/sysmacros.h>. However we do not include that file on Linux when we check for the function and the detection fails. This means that smb_unix_mknod() and cli_posix_stat_done() are not working correctly. This mean SMB1 unix extensions are broken. Discovered with samba3.smbtorture_s3.plain.CLEANUP3 test on Fedora and openSUSE.
https://gitlab.com/samba-team/samba/merge_requests/319
Created attachment 14979 [details] patch for 4.10
Created attachment 14980 [details] patch for 4.9
Created attachment 14981 [details] patch for 4.8
Reassigning to Karolin for inclusion in 4.9 and 4.10. Can we also push this to 4.8? Iirc 4.8 is security only now...
(In reply to Ralph Böhme from comment #5) Pushed to autobuild-v4-{10,9,8}-test. (there will be a last 4.8 bugfix release)
Karolin, I don't see this in v4-10-test yet. Just want to make sure that this will get it :-)
(In reply to Andreas Schneider from comment #7) Pushed to v4-9-test and v4-8-test, pushed again to autobuild-v4-10-test.
(In reply to Karolin Seeger from comment #8) Pushed to v4-10-test. Closing out bug report. Thanks!