November 12, 2012

Samba Home Shares and Windows 7 Home Edition

Alright, I've been tracking to rack my brain on figuring out how to share my /home directory in Samba and have it work correctly with Windows 7 Home. If you know or know someone who knows how to get to this to work, please contact me.

I have a user on linux called sigrejas and my Windows 7 user is called Steve. Whenever I try to log into \\mediaserver\sigrejas I get login credentials. I pass my sigrejas username and password, and it doesn't let me log into it! Here's the relevant smb.conf file.


[global]
   workgroup = WORKGROUP
   server string = Media Server
   netbios name = mediaserver
   guest account = nobody
   security = user
# Log for each client
   log file = /var/log/samba/samba.%I.log
# Common Log
#   log file = /var/log/samba.log
   max log size = 1024
   username map = /etc/samba/private/usermap.txt
   invalid users = root
   encrypt passwords = false
#   smb ports = 139
   load printers = no

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
;   valid users = %S
   create mask = 0644
   directory mask = 0755

1 comment:

SuperFlyXXI said...

As a follow up, I've installed the newest version of Samba, used security = user, and added my user. It seems to work with Windows XP and 7 just fine now. Thanks for all those who responded.

Switching from JBOD to LVM RAID5

Before getting into the nitty-gritty, I want to make sure we have some understanding of the tools in place. For the sake of argument, we...