As is often the case, Samba has me pulling hair, of which I have little to space.
First of all, yes, I've read this.
As a user on the server itself:
Here's a tail of the log:[pat@Pat_Linux ~]$ smbclient //192.168.1.11/home/pat/Windows_Drive
Enter pat's password:
Domain=[INTERGLOBAL] OS=[Unix] Server=[Samba 4.1.17]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[pat@Pat_Linux ~]$
From "Global" portion of smb.conf:[2015/03/16 11:45:55.783210, 3] ../auth/ntlmssp/ntlmssp_util.c:34(debug_ntlmssp_flags)
Got NTLMSSP neg_flags=0x60088215
[2015/03/16 11:45:55.783449, 3] ../source3/auth/token_util.c:540(finalize_local_nt_token)
Failed to fetch domain sid for INTERGLOBAL
[2015/03/16 11:45:55.783501, 3] ../source3/auth/token_util.c:571(finalize_local_nt_token)
Failed to fetch domain sid for INTERGLOBAL
[2015/03/16 11:45:55.783804, 3] ../source3/smbd/password.c:144(register_homes_share)
Adding homes service for user 'pat' using home directory: '/home/pat'
[2015/03/16 11:45:55.783867, 3] ../source3/param/loadparm.c:1726(lp_add_home)
adding home's share [pat] for user 'pat' at '/home/pat'
Standalone:workgroup = interglobal
server string = Samba Server Version %v
; netbios name = pat_linux
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
; max protocol = SMB2
Domain Controller section is the default. Pretty much everything is default. Here's Sharessecurity = user
; passdb backend = tdbsam
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons:
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share.
# The default is to use the user's home directory:
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory that is read only, except for users in the
# "staff" group (which have write permissions):
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[Windows_Drive]
path = /home/pat/Windows_Drive
; available = yes
valid users = pat
read only = no
; browseable = yes
I've set up a samba password for Pat. Why is it trying to fetch a domain sid, and why is it failing (if that's what's causing the problem)?![]()


Reply With Quote
