despirate help needed - Samba and security = share

Dave Ihnat dihnat at dminet.com
Fri Jan 23 14:29:46 UTC 2015


On Fri, Jan 23, 2015 at 11:24:07AM +0000, Gary Stainburn wrote:
> I don't really understand this. How would making startup scripts per PC work?
> My issue is that I can only connect each client to one samba share. Once I
> try to connect the same client to a second share is throws be out with 
> credentials errors.

This is behavior is annoying, but what he's suggesting is to change the
Samba config to use passworded security.  Then you'd use the Windows
gpedit.msc to create a login script under "User Configuration", "Windows
Settings", "Scripts (Logon/Logoff)".  Do something like

  net use Z: \\server\share <password> /USER:domainname\lusername

But a better solution would be to use the approach suggested here:

  http://ubuntuforums.org/showthread.php?t=1962617

I'd also suggest you consider using Webmin to manage Samba--if not
indefinitely, at least to help you configure it then examine the resultant
config files to see how it does things.

I might also suggest just doing a google before checking here.  This was
the first hit I got when I searched for "Samba security=share deprecated".

> I realise that going back to Fedora 16 will only give me problems down the 
> line, ...

No, you don't want to do that.

Cheers,
--
	Dave Ihnat
	dihnat at dminet.com


More information about the users mailing list