Try in /etc/samba/smb.conf these options:
Code: Select all
client min protocol = NT1
client max protocol = NT1
Code: Select all
su
toor
# Note. Check on chmod +755 /etc/rc.d/rc.samba
/etc/rc.d/rc.samba restart
Code: Select all
# client min protocol = NT1
# client max protocol = NT1
After this run these commands:
Code: Select all
su
toor
# I prefer /media/my-folder location for this (it show my mounted things at the left side bar of file manager)
mkdir /mnt/pc
chown guest:users /mnt/pc
mount -t cifs -o user=cliff //192.168.0.1/pc /mnt/pc
Code: Select all
su
toor
chmod u+s /sbin/mount.cifs
echo -e "username=USERNAME\\npassword=PASSWORD" > /your/path/.smblocal1
chmod 400 /your/path/.smblocal1
mkdir -p /media/your-share
chown your-user:group-of-your-user /your/path/.smblocal1
chown your-user:group-of-your-user /media/your-share
echo -e "\\n# Local partitions:
//IP-address-of-PC/Windows-share /media/your-share cifs user,noauto,vers=1.0,credentials=/your/path/.smblocal1,dir_mode=0777,file_mode=0777 0 0" >> /etc/fstab
reboot
BTW, I wrote FAQ - Install and configure OpenVPN server in Porteus (Russian topic)