https://download.samba.org/pub/samba/samba-3.6.25.tar.gz
打补丁:
https://download.samba.org/pub/samba/patches/security/samba-v3-6-security-2016-04-12.tar.xz
解压
tar -Jxf samba-v3-6-security-2016-04-12.tar.xz
cd samba-3.6.25
patch -p1 < CVE-preparation-v3-6.patch //先打这个补丁
patch -p1 < ........
编译
cd source3
./configure
make的时候遇到问题了
make: *** No rule to make target `../lib/util/bitmap.o', needed by `bin/libnetapi.so.0'. Stop.
这个可以吧lib/bit

在尝试编译samba 3.6.25并应用安全补丁后,遇到了编译错误。通过复制lib/bitmap.c到../lib/util/以及执行make clean,make idl_full,然后再make,最终成功完成了编译。

5780

被折叠的 条评论
为什么被折叠?



