?I cannot access the Samba shares on my Ubuntu server from my Macbook. ?
?I do not know if I am interpreting the logs correctly, but I think the
username is not being passed to the server?
? ("[]\[]@[]"), resulting in a log in as guest.
?
?I am entering my user credentials while attempting to mount the share, and
have also tried mounting from the terminal passing my username:password.
?
?The user name does exist both in the system and in Samba. ?
?
On the other hand, I just noticed that smbstatus shows 2 processes for my
user name from my Macbook's ip address. So I am at a loss as to what the
problem is.
I am running Samba v4.1.11.?
?Below is a snipped of the logs which I was referring to. The log entries
are the same?
? each time I try to mount one of the shares:?
---
? ?
check_ntlm_password: Checking password for unmapped user []\[]@[] with the
new password interface
[2014/10/08 22:48:20.831374, 3]
../source3/auth/auth.c:180(auth_check_ntlm_password)
check_ntlm_password: mapped user is: [
?MYSERVERNAME?
]\[]@[]
[2014/10/08 22:48:20.831474, 3]
../source3/auth/auth.c:226(auth_check_ntlm_password)
check_ntlm_password: guest authentication for user [] succeeded
---
This is my smb.conf:
--
[global]
workgroup = MYWORKGROUPNAME
server string = %h server (Samba, Ubuntu)
netbios name = MYSERVERNAME
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
log level = 0 auth:3
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare max shares = 100
usershare allow guests = yes
allow insecure wide links = yes
unix extensions = yes
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0775
directory mask = 0775
[sysvol]
path = /var/lib/samba/sysvol
read only = no
[netlogon]
path = /var/lib/samba/sysvol/localdomain/scripts
read only = no
[Storage 06]
path = /media/Storage 06
available = yes
valid users = myname
read only = no
browseable = yes
public = yes
writable = yes
follow symlinks = yes
wide links = yes
[Storage 08]
path = /media/Storage 08
available = yes
valid users = myname
read only = no
browseable = yes
public = yes
writable = yes
follow symlinks = yes
wide links = yes
--
Thanks,
Max