Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Installing and Running Samba

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 755 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jgoonatilaka
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by bmeeks

        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.

        johnpozJ 1 Reply Last reply Reply Quote 2
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @bmeeks
          last edited by

          Was going to say pretty much the same thing - but Bill did it way better ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.