4

Where is samba by default?

I started samba with:

/etc/init.d/samba start

But I wanted to check the version with samba -v

So I noticed it wasn't in my path and I needed to create a symlink to it at /usr/bin or the like.

But I could not find the binary?

I tried: find -name "samba" and checked in all the locations and could not find the binary?

1
  • And if you do not find it, you will have to install it: sudo apt-get install samba. Feb 6, 2014 at 18:51

2 Answers 2

6

The Samba binary is called smbd.

Check for /usr/local/sbin/smbd, /usr/sbin/smbd or just use which smbd to find it.

1
  • 1
    And often /etc/init.d/samba is just a script, and hence a text file, which you can peek into to find more details.
    – Arjan
    Feb 8, 2014 at 12:39
0

You can find the version of samba using:

smbstatus

4
  • 1
    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post.
    – Jawa
    Feb 8, 2014 at 12:23
  • While this might have solved your problem, it's not the answer to your original question. Please see superuser.com/help/someone-answers if Oliver's post did answer that original question.
    – Arjan
    Feb 8, 2014 at 12:36
  • (@Jawa, this was the OP answering their own question. Well, typical XY problem I guess...)
    – Arjan
    Feb 8, 2014 at 12:37
  • correct, it is unrelated but I feel it is useful passes by none-the-less, any problems let me know.
    – tread
    Mar 1, 2014 at 8:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .