Koozali.org: home of the SME Server

SMB share not working

Offline kittykat

  • 14
  • +0/-0
Re: SMB share not working
« Reply #15 on: November 29, 2020, 02:33:23 PM »


So show us what you get on your server with smbstatus


Code: [Select]
Samba version 4.6.2
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing             
----------------------------------------------------------------------------------------------------------------------------------------
2410    XXXXXX     XXXXXX       192.168.8.109 (ipv4:192.168.8.109:49697)  SMB2_10           -                    partial(HMAC-SHA256)

Service      pid     Machine       Connected at                     Encryption   Signing     
---------------------------------------------------------------------------------------------
customer     2410    192.168.8.109 Sun Nov 29 15:17:26 2020 SAST    -            -           

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
2410         5000       DENY_NONE  0x100081    RDONLY     NONE             /home/e-smith/files/ibays/customer/files   .   Sun Nov 29 15:17:26 2020
2410         5000       DENY_NONE  0x100081    RDONLY     NONE             /home/e-smith/files/ibays/customer/files   .   Sun Nov 29 15:17:43 2020
2410         5000       DENY_NONE  0x80        RDONLY     NONE             /home/e-smith/files/ibays/customer/files   .   Sun Nov 29 15:18:27 2020


Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SMB share not working
« Reply #16 on: November 29, 2020, 07:50:55 PM »
No idea why you can't connect with SMB3 - we have not had any one else with the issue as far as I am aware.

Note also that things are moving fast. There is an update to Samba so we are now using the upstream version 4.10.16

Code: [Select]
yum --enablerepo=smeupdates-testing update
or

Code: [Select]
yum --enablerepo=smeupdates-testing install e-smith-samba
That should install the new versions, but note you might still errors with some things - ntpd is not working correctly right now:

Code: [Select]
rpm -qa |grep samba
samba-client-libs-4.10.16-7.el7_9.x86_64
samba-common-4.10.16-7.el7_9.noarch
samba-winbind-modules-4.10.16-7.el7_9.x86_64
samba-client-4.10.16-7.el7_9.x86_64
e-smith-samba-2.6.0-12.el7.sme.noarch
samba-common-tools-4.10.16-7.el7_9.x86_64
samba-common-libs-4.10.16-7.el7_9.x86_64
samba-dc-libs-4.10.16-7.el7_9.x86_64
samba-python-4.10.16-7.el7_9.x86_64
samba-libs-4.10.16-7.el7_9.x86_64
samba-winbind-4.10.16-7.el7_9.x86_64
samba-dc-4.10.16-7.el7_9.x86_64
samba-4.10.16-7.el7_9.x86_64

Check these templates for the max/min settings and so you can see how it works.

/etc/e-smith/templates/etc/smb.conf/11maxProtocol
/etc/e-smith/templates/etc/smb.conf/11minProtocol

Unless you override, SME will use SMB3.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: SMB share not working
« Reply #17 on: November 29, 2020, 07:52:35 PM »
Also, please read the bugs as things are changing by the minute right now.

Search for samba or smb. Check on closed ones as well.

https://bugs.contribs.org
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation