Results 1 to 6 of 6

Thread: Samba Server Gui 13.1

  1. #1

    Default Samba Server Gui 13.1

    Is there a way to set up simple shares in the Samba Server Gui in the 13.1 distro. It never seems easy but I did get it set up in 12.2 after about an hour and a half but 13.1 it doesn't seem to work. I looked online and couldn't find any documentation. Ubuntu and Debian take 5 minutes to set up and work perfectly. I tried just modifying the smb.conf but no joy. I checked smb and nmb services and also allowed Samba Server, Samba client and netbios through firewall and get nothing. Is this a bug? TIA.

  2. #2

    Default Re: Samba Server Gui 13.1

    Quote Originally Posted by jaws222 View Post
    Is there a way to set up simple shares in the Samba Server Gui in the 13.1 distro. It never seems easy but I did get it set up in 12.2 after about an hour and a half but 13.1 it doesn't seem to work. I looked online and couldn't find any documentation. Ubuntu and Debian take 5 minutes to set up and work perfectly. I tried just modifying the smb.conf but no joy. I checked smb and nmb services and also allowed Samba Server, Samba client and netbios through firewall and get nothing. Is this a bug? TIA.
    Well I finally figured this out after about 6 hours of trial and error and lots of Google. There were a few things I needed to do:

    1. For some reason the install automatically selects ipv6 in the network settings. To me this is ridiculous, but easily fixed:

    Yast>Network Devices>Network Settings

    Under IPv6 Protocol Settings uncheck Enable IPv6.

    2. in your smb.conf file add the following line under workgroup name:

    workgroup = WORKGROUP
    name resolve order = bcast host lmhosts wins

    3. Samba Server config

    Under "Shares"

    Make sure "Allow Users to Share Their Directories" and "Allow Guest Access" are checked

    Under "Identity"

    Domain Controller - Not a DC

    WINS = WINS Server Support
    Check "Retrieve WINS server via DHCP"

    4. Firewall Settings

    Under "Allowed Services"
    Allowed Services for Selected Zone - External Zone
    "Service to Allow" - DHCPv4 Server

    then allow the following:
    Netbios Server
    Samba Client
    Samba Server

    finish with the following"

    systemctl enable smb.service

    systemctl enable nmb.service

    now shares are accessible

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Samba Server Gui 13.1

    Could you please post the contents of the [global] stanza of smb.conf, for interest?
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4

    Default Re: Samba Server Gui 13.1

    Quote Originally Posted by swerdna View Post
    Could you please post the contents of the [global] stanza of smb.conf, for interest?
    Here it is:

    # samba-doc package is installed.
    [global]
    workgroup = WORKGROUP
    name resolve order = bcast host lmhosts wins
    passdb backend = tdbsam
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = Yes
    add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
    usershare max shares = 100
    wins support = Yes
    idmap gid = 10000-20000
    idmap uid = 10000-20000
    security = user
    local master = Yes
    os level = 65
    preferred master = Yes
    include = /etc/samba/dhcp.conf

  5. #5

    Default Re: Samba Server configuration 42.1

    Did anyone succeed in configuring Samba with openSUSE 42.1 in a simple folder sharing scenario with password protection?

    I placed this into /etc/samba/smb.conf for a public folder without password protection:

    [public]
    comment = Public files
    path = /home/user1/public
    read only = yes
    public = yes

    which is working fine.

    But I also would like to share a readonly folder and protect it with username and password

    [data1]
    #inherit acls = Yes # does it help?
    valid users = user1
    path = /home/user1/data1
    read only = Yes
    guest ok = No

    I did not forget to run $ smbpasswd -Le user1.

    Any idea how to configure or debug it? Currently I enter "smb://user1@localhost/data1" into dolphin to test the connection and I am repeatedly prompted for username and password which are apparently not accepted. Is there a better way to debug the configuration?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,349
    Blog Entries
    15

    Default Re: Samba Server configuration 42.1

    Quote Originally Posted by codeminister View Post
    Did anyone succeed in configuring Samba with openSUSE 42.1 in a simple folder sharing scenario with password protection?

    I placed this into /etc/samba/smb.conf for a public folder without password protection:

    [public]
    comment = Public files
    path = /home/user1/public
    read only = yes
    public = yes

    which is working fine.

    But I also would like to share a readonly folder and protect it with username and password

    [data1]
    #inherit acls = Yes # does it help?
    valid users = user1
    path = /home/user1/data1
    read only = Yes
    guest ok = No

    I did not forget to run $ smbpasswd -Le user1.

    Any idea how to configure or debug it? Currently I enter "smb://user1@localhost/data1" into dolphin to test the connection and I am repeatedly prompted for username and password which are apparently not accepted. Is there a better way to debug the configuration?
    Hi
    Please start a new thread with your issue (Not just change the subject and tack onto a two year old thread!) and link to the thread as a reference if required.

    Thread closed.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

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