Search code examples
ubuntusamba

How to secure samba file server to access from windows 7?


I tried setting up the samba server with multiple configurations but i could not success on setting up a secure samba server.I want to setup a common share folder for our project and obviously it need to be access controlled for 20 users.I tried setting this up by integrating access with ubuntu user accounts but whenever i try to access the folder by default the default company domain is coming up in windows 7 and i'm not able to remove the domain when the credentials are prompted.

If not unique credentials for 20 users at east i should be able to authenticate the access with one username and password. Given that the nature of project artifacts this cannot be disclosed to anyone who just type in my server IP.

I would really appreciate any help you can provide in this situation


Solution

  • Try this, in your policy editor:

    Local Computer Policy->Computer Configuration->Windows Settings->Security 
    Settings->Local Policies->Security Options
    

    Find the policy:

    Microsoft network client: Digitally sign communications (always)
    

    If this is enabled, change it to Disabled. Be sure and restart your machine for the change to take effect! (Pressing the "Apply" button in the Policy Editor after the change is made is not sufficient...)

    Once I did this, I was able to access my Samba share. Hope it helps.