Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: CKConsulting on September 22, 2004, 06:25:38 PM

Title: SMBMount to Win 2003 share
Post by: CKConsulting on September 22, 2004, 06:25:38 PM
SME 6.0.1-01
I use old PC's with large hard drives running SME as backups servers using a tar script by Daniel O'Callaghan.
It usually works great but I've run into an issue with Win 2003.

When I try an SMBMount it fails with 'access denied'
Any thoughts

smbmount //server2/pf$ //mnt/data-b -o username=user,password=pass

Thanks,
Rick
Title: SMBMount to Win 2003 share
Post by: Wooderson on September 23, 2004, 04:39:02 PM
Is the 2003 machine a domain controller?

You could create a credentials file and try it again.

Create a file somewhere on sme... /root for this example

cd /root
vi .smbmount-root

The contents of the .smbmount-root file will be:

username=yourdomain/username
password=yourpassword


Then mount with:
mount -t smbfs -o credentials=/root/.smbmount-root //sambashare /mountpoint
Title: SMBMount to Win 2003 share
Post by: wingman on September 24, 2004, 05:17:23 PM
Creating a credentials file will not work for Server 2003, since by default all authentication attempts need to be "secure".

Here's what you need to do:

Open up the registry editor and navigate to:
HKLM\System\CurrentControlSet\Services\Lanmanserver\Parameters

Find the RequireSecuritySignature key. It will have a value of "1". You need to change this value to "0" in order to disable the secure authentication feature and allow Samba to connect.

Reboot the server and you should be set to go. Unless, that is, you are actually running a Small Business Server 2003 in which case there are Group Policies set that will undo your changes. If this is your situation, let me know and I can help you change those also.
Title: SMBMount to Win 2003 share
Post by: CKConsulting on September 27, 2004, 05:27:48 PM
Thanks it worked changing the registry setting.
Now I need to figure out what else this affects.

Rick