Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am unable to mount the samba share. I installed the server through the dietpi-software tool. I have to believe there is a problem in my configuration. Perhaps the firewall on the pi side is causing me these issues? I am very sure of the IP address, user name and password. I am not very sure about everything else.

My smb.conf is as follows:

[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] comment = DietPi Share path = /mnt/dietpi_userdata browseable = yes create mask = 0664 directory mask = 0775 valid users = dietpi writeable = yes
max connections = 8

Output of ls -la /mnt/dietpi_userdata is

total 28
drwxrwxr-x 7 dietpi dietpi 4096 Jul 27 21:45 .
drwxr-xr-x 7 root root 4096 Jul 29 03:45 ..
drwxrwxr-x 2 dietpi dietpi 4096 Jul 27 21:55 Music
drwxrwxr-x 2 dietpi dietpi 4096 Oct 30 2020 Pictures
drwxrwxr-x 2 dietpi dietpi 4096 Oct 30 2020 Video
drwxrwxr-x 2 dietpi dietpi 4096 Oct 30 2020 downloads
drwxr-xr-x 4 octoprint octoprint 4096 Feb 27 22:31 octoprint

When I try to connect from the finder on the Mac I get: There was a problem connecting to the server "dietpi" There server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and try again.

When I try to connect with the "go to server" function in the finder with smb://192.168.1.179/dietpi it will not let me authenticate with the user dietpi and associated password.

I am able to login through ssh on the device no problem even with user dietpi. I did try restarting smb service and restarting the pi.

If anybody can point me in the right direction it would be appreciated. Cheers

Forgot: /etc/fstab

# You can use "dietpi-drive_manager" to setup mounts.
# NB: It overwrites and re-creates physical drive mount entries on use.
#----------------------------------------------------------------
# NETWORK
#----------------------------------------------------------------
//192.168.1.180/Music /mnt/samba cifs cred=/var/lib/dietpi/dietpi-drive_manager/mnt-samba.cred,ioch$
#----------------------------------------------------------------
# TMPFS
#----------------------------------------------------------------
tmpfs /tmp tmpfs size=1024M,noatime,lazytime,nodev,nosuid,mode=1777
tmpfs /var/log tmpfs size=50M,noatime,lazytime,nodev,nosuid,mode=1777
#----------------------------------------------------------------
# MISC: ecryptfs, vboxsf (VirtualBox shared folder), gluster, bind mounts
#----------------------------------------------------------------
#----------------------------------------------------------------
# SWAP SPACE
#----------------------------------------------------------------
/var/swap none swap sw
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
PARTUUID=907af7d0-02 / ext4 noatime,lazytime,rw 0 1
PARTUUID=907af7d0-01 /boot vfat noatime,lazytime,rw 0 2
1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy