samba error: “session setup failed: NT_STATUS_LOGON_FAILURE” when adding new user

it really strange when i use samba for the first time this error not happened.

but when i add new user to share samba it didn’t work, it continue to produce “session setup failed: NT_STATUS_LOGON_FAILURE”

i tried both using straight connection smb://server/sharename or by smbclient connection.

this error because of failed connection LAN/hosts problem, wrong user name or password, or because of not adding domain name/workgroup (if you tried to connect to windows share).

it turn out my problem is that the password from linux password is not synced with samba password, so you need to add it using the command:

Continue reading

Jperf point to point network connection diagnostic

This tool here iperf or jperf, is the one I find very useful in measuring the speed and reliability of a connection either in LAN or through internet/WAN.
and it is cross platform since it is made using java, you just need to install it in each points you want to test, and one or some of them act as server while the rest as client. Continue reading