Andrea Cerfoglia Posted October 12 Posted October 12 Armbianmonitor: https://paste.armbian.com/ijadoziqis for the past few days i have been trying to set up a samba server but without any luck. my main problem is that after installing and setting up everything i try to connect to the ip of the server (just by typing \\server-ip\ in the explorer path) using a win 10 machine and it doesnt even prompt me to log in using credentials, it just says that is impossible to connect to the server, even tough im connecting trough ssh. I just wiped the machine and installed everything new again but still no luck, im not prompted to log in. (i assume that even without editing the smb.conf file i should be getting a prompt to log in right?) what should i do? i dont think i have any firewall that blocks the service (i dont remember exacly how but i checked with some command the other day) and in my network im able to connect from my phone to a shared folder on my win 10 pc, so im not really sure what to look for, if its a network problem or a config problem. 0 Quote
SteeMan Posted October 12 Posted October 12 32 minutes ago, Andrea Cerfoglia said: i assume that even without editing the smb.conf file i should be getting a prompt to log in right?) That is a false assumption. You have to configure smb if you want any smb/samba service to be started. smb is a completely different protocol to ssh. So being able to log in via ssh has nothing to do with smb. 0 Quote
c0rnelius Posted October 12 Posted October 12 Normally out of the gate Samba doesn't just work. You need to setup up the /etc/samba/smb.conf file and add a user to it. sudo smbpasswd -a yourusername Here is an example conf file smb.conf EDIT: That smb.conf file I pulled off a NAS I have running on a bullseye install, on my newer ones I set both client and server to NT1. client min protocol = NT1 server min protocol = NT1 I can't recall the reasons why now, but pretty sure it had something to do with functionality. You can google the client and server options and set it to whatever best suits ur needs. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.