Results 1 to 4 of 4

Thread: SAMBA config missing

  1. #1
    Join Date
    Feb 2008
    Beans
    44

    SAMBA config missing

    Ok I installed samba with
    Code:
    sudo apt-get install samba
    I then played with the settings for about an hour trying to make security enabled shares work.

    After no luck with that I decided I would go back to non-secured sharing, which isn't what I want but at least it worked.

    So I then used
    Code:
    sudo apt-get purge samba
    and I deleted my /etc/samba directory to remove the configuration files.

    When I went to reinstall samba I noticed it would not recreate the samba directory.

    What do I do now? Is there a special command to make 'install' rebuild the config directory?

    Thanks.

  2. #2
    Join Date
    Dec 2009
    Beans
    6,776

    Re: SAMBA config missing

    smb.conf doesn't come from the "samba" package it comes from the "samba-common" package.

  3. #3
    Join Date
    Feb 2011
    Location
    Maryland
    Beans
    2,259
    Distro
    Ubuntu

    Re: SAMBA config missing

    Read this

    https://help.ubuntu.com/11.04/server...etworking.html

    You have to add a samba user to use them in security enabled shares.

    Must be an existing user.

    Open terminal

    sudo smbpasswd -a username

  4. #4
    Join Date
    Feb 2008
    Beans
    44

    Re: SAMBA config missing

    thank you, that solved it.

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
  •