Showing posts with label Samba. Show all posts
Showing posts with label Samba. Show all posts

Friday, November 01, 2013

Mounting Samba share in Windows 7 yields System error 58 has occured

Got a Windows 7 SP1 32-bit Pro machine that have seen various large applications already. So I am not sure if the security policy of the machine is the default. When trying to mount a Samba share got the error message below.
System error 58 has occurred.

The specified server cannot perform the requested operation.

This was done via net use \\<ip>\share. Mounting the share via Windows Explorer yields nothing, just a long wait for nothing.

The fix for my case was to change Security Settings | Local Policies | Security Options | Microsoft network client: Digitally sign communications (always) to disabled. You have to reboot the machine for the changes to take effect.

References:
http://social.technet.microsoft.com/Forums/windows/en-US/5dd9991b-78e7-4fa3-b17c-366e4ae0092f/cant-connect-to-samba-from-windows-7-vista-xp-ok-many-popular-solutions-tried-without-success?forum=w7itpronetworking


Saturday, June 29, 2013

Samba share not working after reboot on Ubuntu 12.10

So I just installed Samba server on Ubuntu 12.10, configured it, restarted the daemon and everything is happy.

But when I reboot the machine, Samba share always stops working. Restarting the daemon will make it work. I am not sure what's going but adding the following in sbmd.conf seems to fix it.

start on (local-filesystems and net-device-up IFACE=eth0)

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...