Results 1 to 6 of 6

Thread: Samba continues to fight me at every turn

  1. #1
    Join Date
    Oct 2020
    Beans
    3

    Samba continues to fight me at every turn

    I JUST had this working the day prior on an Odroid HC2 using Ubuntu Minimal. The print$ directory shows up, and nothing else no matter what I do to the Samba file. Preferably, I'd like the NAS folder, which is actually the NAS drive itself, to be listed as the only share, before I had to work around this by having the homes folder shared and using that because Samba suddenly stopped sharing when using a path, now nothing is working.

    Edit: Why are there two smb.conf locations? Edit /etc/samba/smb.conf not /user/share/samba/smb.conf. OP is retarded.
    Last edited by inotamira2; October 19th, 2020 at 07:55 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Samba continues to fight me at every turn

    Code:
    # NOTE: Whenever you modify this file you should run the command
    # "testparm" to check that you have not made any basic syntactic  
    # errors.
    Did you do that?

    Did you set the samba password using smbpasswd?

    Firewall?

    Anything in the logs?

  3. #3
    Join Date
    Mar 2007
    Beans
    1,325

    Re: Samba continues to fight me at every turn

    Did you restart smbd and nmbd?

  4. #4
    Join Date
    Oct 2020
    Beans
    3

    Re: Samba continues to fight me at every turn

    Yes, and it claims everything is fine, but during the dump, it only shows global, printers, and print$. Yes I've set the password. No firewall. Samba logs say everything is fine. It seems like the changes I make, it doesn't pick up, and I don't know why, and to the other person who respondeds question, I restart nmdb and smdb every time I make a change, and yes, I've also tried rebooting the device.

    Edit: So, I've been editing the smb.conf at /usr/share/samba/smb.conf which apparently isn't where Samba reads from, but is where I've been told to edit the conf multiple times. I've been needing to edit the one at /etc/samba/smb.conf . Either I'm an idiot and somehow missed the fact this is where everyone else is editing it (probably) or this should really be noted better in the documentation. To make it more clear, it's working now.
    Last edited by inotamira2; October 19th, 2020 at 07:55 PM.

  5. #5
    Join Date
    Mar 2007
    Beans
    1,325

    Re: Samba continues to fight me at every turn

    Try editing
    Code:
    /etc/samba/smb.conf
    That's where mine is, but they may have moved it. I don't even have an /etc/share on my system.
    Last edited by rsteinmetz70112; October 19th, 2020 at 07:31 PM.

  6. #6
    Join Date
    Oct 2020
    Beans
    3

    Re: Samba continues to fight me at every turn

    Quote Originally Posted by rsteinmetz70112 View Post
    Try editing
    Code:
    /etc/samba/smb.conf
    That's where mine is, but they may have moved it. I don't even have an /etc/share on my system.
    Your timing is beautiful my guy, I just figured this out AS you posted this.

    Edit: I'm doubly stupid, because I added share to the directory out of habit...
    Last edited by inotamira2; October 19th, 2020 at 07:56 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •