Samba Credentials Windows 10

  • Hello,

    I would like to access my OMV Samba from Windows 10. After setting all things up, the result is that I have to supply the linux user and password to access the Samba Server at all.

    What I have done:


    • Created a linux user account usersmb with the same password the windows account has.
    • Samba Config: Workgroup the same as windows client is in. Added extended global configuration username map = /etc/samba/username.map
    • Created a share with the necessary Privileges and ACL

    The username.map includes following mappings:


    • usersmb = user@domain.com
    • usersmb = MicrosoftAccount\user
    • usersmb = MicrosoftAccount\User
    • usersmb = user
    • usersmb = User
    • usersmb = MicrosoftAccount\user@domain.com

    As you can see my windows user is a Live account created with a unique email adress.


    Any suggestions where I can look for further inspection? Things I am missing?

    Which user does Windows pass to my samba?


    Thanks!


    Greetings,


    GrafZ

    • Offizieller Beitrag

    username map = /etc/samba/username.map

    This should be .txt not .map and it should be sufficient to use just the first line usersmb = user@domain.com you will also need to restart smb or reboot the server for the changes to take effect.

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 6x amd64 running on an HP N54L Microserver

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!