At this point, you can compile Samba to use SSL. Recall that in Chapter 2,
Installing Samba on a Unix System, we said you have to first run the configure script, which initializes the makefile, before you compile Samba. In order to use SSL with Samba, you will need to reconfigure the makefile:
./configure --with-ssl
After that, you can compile Samba with the following commands:
#
make clean
#
make all
If you encounter an error that says the
smbd executable is missing the file
ssl.h, you probably didn't install SSLeay in the default directory. Use the configure option
--with-sslinc
to point to the base directory of the SSL distribution - in this case, the directory that contains
include/ssl.h.
On the other hand, if you have a clean compile, you're ready to move on to the next step: creating certificates.