Problem : A local share couldn’t not be connected to on the network. Username and password always gave authentication error. Disabling the firewall didnot help
Solution : The Local network should be a Home or Work Network. Windows configured it as a Public network which probably caused the problem.