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
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:
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.
Post a Comment