Samba - GradedJestRisk/linux-training GitHub Wiki
Samba
Samba URL is of the form
smb://$USER@$HOST/$SHARE_NAME
Access to a remote
CLI
smbclient --list=//$HOST_IP --user=$NAS_SAMBA_USERNAME --workgroup=$WORKGROUP --debuglevel=3
Errors
Kinit for $USER@$WORKGROUP to access $HOST failed: Cannot contact any KDC for requested realm
Check if host is available
Errors
protocol negotiation failed: NT_STATUS_NOT_SUPPORTED
Lower default level to SMB1 https://unix.stackexchange.com/questions/562550/smbclient-protocol-negotiation-failed
vi /etc/samba/smb.conf
client min protocol = CORE
client max protocol = SMB3