# DietPi v8.9.2 updated with Samba issues?

**URL:** <https://dietpi.com/forum/t/dietpi-v8-9-2-updated-with-samba-issues/14605>\
**Category:** General Discussion\
**Created:** [14 October 2022 05:44 UTC](https://dietpi.com/forum/t/dietpi-v8-9-2-updated-with-samba-issues/14605 "2022-10-14T05:44:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![qlander](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/q/ba8739/32.png) [@qlander](https://dietpi.com/forum/u/qlander)\
**Post date:** [14 October 2022 05:44 UTC](https://dietpi.com/forum/t/dietpi-v8-9-2-updated-with-samba-issues/14605/1 "2022-10-14T05:44:40Z")

</div>

Just updated to DietPi v8.9.2, however it seemed to wipe out access to Samba shares.

Local SD and usb drives not remotely accessible - local access works fine (fstab/drivemanager all ok)

/etc/samba/smb.conf as follows:

```auto
[global]

        workgroup = WORKGROUP
        server string = %h server
        dns proxy = no
        log file = /var/log/samba/log.%m
        max log size = 1000
        syslog only = no
        syslog = 0

        panic action = /usr/share/samba/panic-action %d

        security = user
        encrypt passwords = true
        passdb backend = tdbsam
        obey pam restrictions = yes
        unix password sync = yes

        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        pam password change = yes
        map to guest = bad user

        load printers = no
        printcap name = /dev/null
        disable spoolss = yes

[dietpi_data]
        comment = DietPi Share
        path = /mnt/dietpi_userdata
        browseable = yes
        create mask = 0664
        directory mask = 0775
        valid users = dietpi
        writeable = yes
        max connections = 8
        case sensitive = auto

[dietpi]
        comment = DietPi Share
        path = /home/dietpi
        browseable = yes
        create mask = 0664
        directory mask = 0775
        #valid users = dietpi
        writeable = yes
        max connections = 8
        case sensitive = auto

[usb1]
        comment=Local HD (SSD)
        path=/mnt/usb1
        browseable=yes
        writeable=yes
        create mask=0777
        directory mask=0777
        only guest=no
        guest ok=no
        public=no
        #valid users = "diepi"
        max connections = 8
        case sensitive = auto

```

Not accessible from Windows (10) and \*nix os’s. Was working fine before the upgrade and before rebooting clients - on client reboot, samba share to the dietpi is deined…using \ip\ prompts for u/p and then fails, even with root.

Even chaging to below doesn’t work:

```auto
valid users = diepi
force users = dietpi

```

```auto
: sudo pdbedit -w -L | awk -F: '{print $1}'
dietpi

```

```auto
: samba-tool user list
ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file var/lib/samba/private/sam.ldb: No such file or directory

Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
Failed to connect to 'tdb:///var/lib/samba/private/sam.ldb' with backend 'tdb': Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory

```

---

_[View the full topic](https://dietpi.com/forum/t/dietpi-v8-9-2-updated-with-samba-issues/14605)._
