LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Need help with Samba (cannot login from other computer) (https://www.linuxquestions.org/questions/debian-26/need-help-with-samba-cannot-login-from-other-computer-4175692014/)

EasyComp Zeeland 03-14-2021 08:07 AM

Need help with Samba (cannot login from other computer)
 
Hi there, (first topic here)

I've crated a share using samba on Debian 10. I see the share listed on my Mac and can list the folder which is leading to a drive.

However if I smash in my Debian login details it's says NOOO. I did a chmod 777 on the folder so it should be accessible, can anybody help me out here?

This is my config;

Code:

GNU nano 3.2                                                                                                                  /etc/samba/smb.conf                                                                                                                           

[global]
 workgroup = ecz
 security = user
 share modes = yes
 map to guest = Bad User

 [homes]
 comment =  Directories
 browsable = no
 read only = no
 create mode = 0750

 [ECZ-SRV-01]
 path = /mnt/fs-01/
 comment = ECZ FS 01
 browseable = yes
 read only = no
 guest ok = no
 valid users = root

Thanks for your effort!

shruggy 03-14-2021 08:22 AM

smbpasswd(8)

EasyComp Zeeland 03-14-2021 09:30 AM

Quote:

Originally Posted by shruggy (Post 6230264)

That worked.

EasyComp Zeeland 03-14-2021 10:10 AM

WHY DO I GET A Mac OS Finder FACE :D ?!

shruggy 03-14-2021 10:12 AM

Are you runnig Safari browser perhaps?

EasyComp Zeeland 03-14-2021 10:14 AM

Quote:

Originally Posted by shruggy (Post 6230297)
Are you runnig Safari browser perhaps?

Those trackers!!!

EasyComp Zeeland 03-18-2021 07:15 AM

Oh no.

i had to boot into windows, did a full shutdown but I get this.
Code:

root@ECZ-SRV-01:/home/ecz# mount /dev/sdb1 /mnt/fs-01
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

How can I force its to be writable or fixit?

shruggy 03-18-2021 10:17 AM

1) Boot into windows, open a terminal window as administrator, run powercfg -h off
2) Disable fast boot in UEFI BIOS if needed
3) Reboot to Linux


All times are GMT -5. The time now is 03:34 PM.