{"id":59442,"date":"2015-03-16T14:48:59","date_gmt":"2015-03-16T22:48:59","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=59442"},"modified":"2015-03-17T07:09:13","modified_gmt":"2015-03-17T15:09:13","slug":"is-there-a-samba-doctor-in-the-house","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2015\/03\/16\/is-there-a-samba-doctor-in-the-house\/","title":{"rendered":"Is There A Samba Doctor In The House?"},"content":{"rendered":"<p>As is often the case, Samba has me pulling hair, of which I have little to spare.<\/p>\n<p>First of all, yes, I&#8217;ve read <a href=\"http:\/\/xmodulo.com\/samba-file-server-windows-clients.html\" target=\"_blank\">this<\/a>.<\/p>\n<p><!--more--><\/p>\n<p>As a user on the server itself:<\/p>\n<blockquote><p>[pat@Pat_Linux ~]$ smbclient \/\/192.168.1.11\/home\/pat\/Windows_Drive<br \/>\nEnter pat&#8217;s password:<br \/>\nDomain=[INTERGLOBAL] OS=[Unix] Server=[Samba 4.1.17]<br \/>\ntree connect failed: NT_STATUS_BAD_NETWORK_NAME<br \/>\n[pat@Pat_Linux ~]$<\/p><\/blockquote>\n<p>Here&#8217;s a tail of the log:<\/p>\n<blockquote><p>\n[2015\/03\/16 11:45:55.783210, 3] ..\/auth\/ntlmssp\/ntlmssp_util.c:34(debug_ntlmssp_flags)<br \/>\nGot NTLMSSP neg_flags=0x60088215<br \/>\n[2015\/03\/16 11:45:55.783449, 3] ..\/source3\/auth\/token_util.c:540(finalize_local_nt_token)<br \/>\nFailed to fetch domain sid for INTERGLOBAL<br \/>\n[2015\/03\/16 11:45:55.783501, 3] ..\/source3\/auth\/token_util.c:571(finalize_local_nt_token)<br \/>\nFailed to fetch domain sid for INTERGLOBAL<br \/>\n[2015\/03\/16 11:45:55.783804, 3] ..\/source3\/smbd\/password.c:144(register_homes_share)<br \/>\nAdding homes service for user &#8216;pat&#8217; using home directory: &#8216;\/home\/pat&#8217;<br \/>\n[2015\/03\/16 11:45:55.783867, 3] ..\/source3\/param\/loadparm.c:1726(lp_add_home)<br \/>\nadding home&#8217;s share [pat] for user &#8216;pat&#8217; at &#8216;\/home\/pat&#8217;<\/p><\/blockquote>\n<p>From &#8220;Global&#8221; portion of smb.conf:<\/p>\n<blockquote><p>workgroup = interglobal<br \/>\nserver string = Samba Server Version %v<\/p>\n<p>; netbios name = pat_linux<\/p>\n<p>; interfaces = lo eth0 192.168.12.2\/24 192.168.13.2\/24<br \/>\n; hosts allow = 127. 192.168.12. 192.168.13.<\/p>\n<p>; max protocol = SMB2<\/p><\/blockquote>\n<p>Standalone:<\/p>\n<blockquote><p>\nsecurity = user<br \/>\n; passdb backend = tdbsam<\/p><\/blockquote>\n<p>Domain Controller section is the default. Pretty much everything is default. Here&#8217;s Shares<\/p>\n<blockquote><p>[homes]<br \/>\ncomment = Home Directories<br \/>\nbrowseable = no<br \/>\nwritable = yes<br \/>\n; valid users = %S<br \/>\n; valid users = MYDOMAIN\\%S<\/p>\n<p>[printers]<br \/>\ncomment = All Printers<br \/>\npath = \/var\/spool\/samba<br \/>\nbrowseable = no<br \/>\n; guest ok = no<br \/>\n; writable = No<br \/>\nprintable = yes<\/p>\n<p># Un-comment the following and create the netlogon directory for Domain Logons:<br \/>\n; [netlogon]<br \/>\n; comment = Network Logon Service<br \/>\n; path = \/var\/lib\/samba\/netlogon<br \/>\n; guest ok = yes<br \/>\n; writable = no<br \/>\n; share modes = no<\/p>\n<p># Un-comment the following to provide a specific roving profile share.<br \/>\n# The default is to use the user&#8217;s home directory:<br \/>\n; [Profiles]<br \/>\n; path = \/var\/lib\/samba\/profiles<br \/>\n; browseable = no<br \/>\n; guest ok = yes<\/p>\n<p># A publicly accessible directory that is read only, except for users in the<br \/>\n# &#8220;staff&#8221; group (which have write permissions):<br \/>\n; [public]<br \/>\n; comment = Public Stuff<br \/>\n; path = \/home\/samba<br \/>\n; public = yes<br \/>\n; writable = yes<br \/>\n; printable = no<br \/>\n; write list = +staff<\/p>\n<p>[Windows_Drive]<br \/>\npath = \/home\/pat\/Windows_Drive<br \/>\n; available = yes<br \/>\nvalid users = pat<br \/>\nread only = no<br \/>\n; browseable = yes<\/p><\/blockquote>\n<p>I&#8217;ve set up a samba password for user &#8220;pat.&#8221; Why is it trying to fetch a domain sid, and why is it failing (if that&#8217;s what&#8217;s causing the problem)?<\/p>\n<p>[Late-evening update]<\/p>\n<p>I had posted this question to the Fedora fora earlier today.<\/p>\n<p>The response? <a href=\"http:\/\/forums.fedoraforum.org\/showthread.php?t=303602\" target=\"_blank\">Crickets<\/a>.<\/p>\n<p>This isn&#8217;t even a desktop issue; it&#8217;s a server issue. And no one over at Fedora can figure it out, or even try?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As is often the case, Samba has me pulling hair, of which I have little to spare. First of all, yes, I&#8217;ve read this.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,25,27,3],"tags":[],"class_list":["post-59442","post","type-post","status-publish","format-standard","hentry","category-administrative","category-business","category-mathematics","category-technology-and-society"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/59442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=59442"}],"version-history":[{"count":4,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/59442\/revisions"}],"predecessor-version":[{"id":59449,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/59442\/revisions\/59449"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=59442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=59442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=59442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}