Installing and Running Samba
-
Hello, I know I should not be running Samba within my firewall but I am just messing around and the machine isn't my actual firewall.
When I try to run Samba I get this error: Performing sanity check on Samba configuration: FAILED
And when checking my Samba Version I get this error: ld-elf.so.1: /usr/local/lib/samba4/private/libsamba-sockets-samba4.so: Undefined symbol "yp_get_default_domain@FBSD_1.0"
What is the best way to troubleshoot this?
-
If the machine is not your actual firewall, then simply install FreeBSD 13.0-RELEASE on it and everything should work. pfSense is a customized version of FreeBSD. At the moment it is based on FreeBSD 12.2-STABLE. Likely the Samba package you are trying to force install was compiled for another FreeBSD version and thus things are not quite right for pfSense.
As you mentioned in your first sentence, trying to put packages on your pfSense firewall that are not available from the standard pfSense packages repository is a recipe for failure. It can sometimes work, but most times not. And sometimes it will completely break the pfSense firewall if a critical system library gets replaced by a forced package install with a different, incompatible version.
If you want to continue, you will need to create a FreeBSD 12.2-STABLE machine (can be a VM), install all the tools required for building packages, then compile and build the Samba package yourself. Once built, you can try copying the package over to the pfSense machine and installing there.
-
Was going to say pretty much the same thing - but Bill did it way better ;)
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on