[Solved] Is samba installed by default?

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” [Solved] Is samba installed by default?

Tagged: 

  • This topic has 4 replies, 3 voices, and was last updated Feb 21-1:21 pm by dirkd.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18794
    Member
    dirkd

      I was a little confused for some time, while trying to share my printer over the network. It seemed my edits of smb.conf had no effect whatsoever. Then I checked in Synaptic and found out that samba wasn’t even installed on my system (Antix 17.2). After installing, everything worked out well after a while. Two questions however.

      1. Why is smb.conf present if samba itself is not installed?
      2. What’s the purpose of these numerous copies of smb.conf? I found one in ~/.smb.conf, another one in /etc/samba/smb.conf and a third one in /usr/share/samba/smb.conf.
      • This topic was modified 4 years, 2 months ago by dirkd. Reason: Question answered
      #18796
      Anonymous
        Helpful
        Up
        0
        ::

        Because one needs it to be able to connect to shares, which works without a server installed (but which you need if you want to share printer).

        One is ‚personal‘, in /etc is ‚global‘ and in /usr/share is sample configuration.

        #18797
        Member
        dirkd
          Helpful
          Up
          0
          ::

          Thanks for the enlightenment. But just to be sure that I understand you well: are you saying that the information in smb.conf is actually used to connect to shares on other computers? I never suspected this. I always thought the sole purpose of smb.conf was to make resources on the local computer available to other systems on the network.

          #18799
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Full samba is not installed, but samba-common is (which provides the /usr/share/samba/smb.conf file)

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #18800
            Member
            dirkd
              Helpful
              Up
              0
              ::

              OK, that makes sense. And of course smbclient is needed by connectshares I guess. I think I see the whole picture now.

              Thanks.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.