<div dir="ltr"><div>Thanks for the verbose log setting idea Dan.<br><br></div>After sifting through the logs, the suspicious parts would appear to be (highlighted):<br><br><div style="margin-left:40px"><font size="4"><span style="font-family:monospace">[2014/11/24 14:41:01.234436,  3] smbd/process.c:1414(switch_message)</span><br><span style="font-family:monospace">  switch message SMBnttrans (pid 21356) conn 0x7f0100decf10</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234463,  4] smbd/uid.c:351(change_to_user)</span><br><span style="font-family:monospace">  Skipping user change - already user</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234493, 10] smbd/nttrans.c:3162(reply_nttrans)</span><br><span style="font-family:monospace">  num_setup=0, param_total=72, this_param=72, max_param=101, data_total=24, this_data=24, max_data=0, param_offset=76, data_offset=148</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234524,  5] smbd/nttrans.c:1050(call_nt_transact_create)</span><br><span style="font-family:monospace">  call_nt_transact_create</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234551, 10] smbd/nttrans.c:1126(call_nt_transact_create)</span><br><span style="font-family:monospace">  call_nt_transact_create - ea_len = 24 but <span style="background-color:rgb(249,203,156)">EA&#39;s not supported</span>.</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234579,  3] smbd/error.c:81(error_packet_set)</span><br><span style="font-family:monospace">  error packet at smbd/nttrans.c(1127) cmd=160 (SMBnttrans) <span style="background-color:rgb(249,203,156)">NT_STATUS_EAS_NOT_SUPPORTED</span></span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234607,  5] lib/util.c:332(show_msg)</span><br><span style="font-family:monospace">[2014/11/24 14:41:01.234621,  5] lib/util.c:342(show_msg)</span></font><br><br><br><br><br><br><br><br><br><span style="font-family:monospace"><font size="4"><br>  unix_convert called on file &quot;date.txt&quot;<br>[2014/11/24 14:41:01.236704, 10] smbd/statcache.c:283(stat_cache_lookup)<br>  stat_cache_lookup: lookup succeeded for name [DATE.TXT] -&gt; [date.txt]<br>[2014/11/24 14:41:01.236813,  5] smbd/filename.c:416(unix_convert)<br>  unix_convert begin: name = date.txt, dirpath = , start = date.txt<br>[2014/11/24 14:41:01.236877, 10] smbd/mangle_hash2.c:418(<span style="background-color:rgb(249,203,156)">is_mangled</span>)<br>  is_mangled date.txt ?<br>[2014/11/24 14:41:01.236907, 10] smbd/mangle_hash2.c:357(<span style="background-color:rgb(249,203,156)">is_mangled_component</span>)<br>  is_mangled_component date.txt (len 8) ?<br>[2014/11/24 14:41:01.236949, 10] smbd/mangle_hash2.c:418(is_mangled)<br>  is_mangled date.txt ?<br>[2014/11/24 14:41:01.236976, 10] smbd/mangle_hash2.c:357(is_mangled_component)<br>  is_mangled_component date.txt (len 8) ?<br>[2014/11/24 14:41:01.237059,  5] smbd/statcache.c:143(stat_cache_add)<br>  stat_cache_add: Added entry (7f0100def050:size 8) DATE.TXT -&gt; date.txt<br>[2014/11/24 14:41:01.237093,  5] smbd/statcache.c:143(stat_cache_add)<br>  stat_cache_add: Added entry (7f0100deeff0:size 8) DATE.TXT -&gt; date.txt<br>[2014/11/24 14:41:01.237119,  5] smbd/filename.c:965(unix_convert)<br>  conversion finished date.txt -&gt; date.txt<br>[2014/11/24 14:41:01.237146,  3] smbd/vfs.c:905(check_reduced_name)<br>  check_reduced_name [date.txt] [/home]<br>[2014/11/24 14:41:01.237205,  3] smbd/vfs.c:963(check_reduced_name)<br>  check_reduced_name: couldn&#39;t get realpath for date.txt<br>[2014/11/24 14:41:01.237233,  5] smbd/filename.c:1039(check_name)<br>  check_name: name date.txt failed with <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.237259,  3] smbd/filename.c:1365(filename_convert)<br>  filename_convert: check_name failed for name date.txt with <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.237285,  3] smbd/error.c:81(error_packet_set)<br>  error packet at smbd/nttrans.c(552) cmd=162 (SMBntcreateX) <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.237311,  5] lib/util.c:332(show_msg)<br>[2014/11/24 14:41:01.237325,  5] lib/util.c:342(show_msg)asdfaf<br><br><br><br><br><br><br>[2014/11/24 14:41:01.250516, 10] ../lib/util/util.c:415(dump_data)<br>  [0000] 00 5C 00 64 00 61 00 74   00 65 00 2E 00 74 00 78   .\.d.a.t .e...t.x<br>  [0010] 00 74 00 00 00                                    .t... <br>[2014/11/24 14:41:01.250565,  3] smbd/process.c:1414(switch_message)<br>  switch message SMBntcreateX (pid 21356) conn 0x7f0100decf10<br>[2014/11/24 14:41:01.250591,  4] smbd/uid.c:351(change_to_user)<br>  Skipping user change - already user<br>[2014/11/24 14:41:01.250618, 10] smbd/nttrans.c:500(reply_ntcreate_and_X)<br>  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = date.txt<br>[2014/11/24 14:41:01.250646,  5] smbd/filename.c:257(unix_convert)<br>  unix_convert called on file &quot;date.txt&quot;<br>[2014/11/24 14:41:01.250672, 10] smbd/statcache.c:283(stat_cache_lookup)<br>  stat_cache_lookup: lookup succeeded for name [DATE.TXT] -&gt; [date.txt]<br>[2014/11/24 14:41:01.250723,  5] smbd/filename.c:416(unix_convert)<br>  unix_convert begin: name = date.txt, dirpath = , start = date.txt<br>[2014/11/24 14:41:01.250789, 10] smbd/mangle_hash2.c:418(is_mangled)<br>  is_mangled date.txt ?<br>[2014/11/24 14:41:01.250818, 10] smbd/mangle_hash2.c:357(is_mangled_component)<br>  is_mangled_component date.txt (len 8) ?<br>[2014/11/24 14:41:01.250859, 10] smbd/mangle_hash2.c:418(is_mangled)<br>  is_mangled date.txt ?<br>[2014/11/24 14:41:01.250887, 10] smbd/mangle_hash2.c:357(is_mangled_component)<br>  is_mangled_component date.txt (len 8) ?<br>[2014/11/24 14:41:01.250946,  5] smbd/statcache.c:143(stat_cache_add)<br>  stat_cache_add: Added entry (7f0100def050:size 8) DATE.TXT -&gt; date.txt<br>[2014/11/24 14:41:01.250980,  5] smbd/statcache.c:143(stat_cache_add)<br>  stat_cache_add: Added entry (7f0100deeff0:size 8) DATE.TXT -&gt; date.txt<br>[2014/11/24 14:41:01.251006,  5] smbd/filename.c:965(unix_convert)<br>  conversion finished date.txt -&gt; date.txt<br>[2014/11/24 14:41:01.251032,  3] smbd/vfs.c:905(check_reduced_name)<br>  check_reduced_name [date.txt] [/home]<br>[2014/11/24 14:41:01.251074,  3] smbd/vfs.c:963(check_reduced_name)<br>  check_reduced_name: couldn&#39;t get realpath for date.txt<br>[2014/11/24 14:41:01.251102,  5] smbd/filename.c:1039(check_name)<br>  check_name: name date.txt failed with <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.251128,  3] smbd/filename.c:1365(filename_convert)<br>  filename_convert: check_name failed for name date.txt with <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.251153,  3] smbd/error.c:81(error_packet_set)<br>  error packet at smbd/nttrans.c(552) cmd=162 (SMBntcreateX) <span style="background-color:rgb(249,203,156)">NT_STATUS_ACCESS_DENIED</span><br>[2014/11/24 14:41:01.251179,  5] lib/util.c:332(show_msg)<br>[2014/11/24 14:41:01.251194,  5] lib/util.c:342(show_msg)<br><br></font></span><br></div><div style="margin-left:40px"><span style="font-family:monospace"></span></div><br><div><div><div><br><br><br><br><br><br><br><br><br><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Thanks,<br><br>- Jim<br><br>Jim Irrer     <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>       (734) 647-4409<br>University of Michigan Hospital Radiation Oncology<br>519 W. William St.             Ann Arbor, MI 48103-4943</div></div></div>
<br><div class="gmail_quote">On Mon, Nov 24, 2014 at 2:08 PM, Dan Pritts <span dir="ltr">&lt;<a href="mailto:danno@dogcheese.net" target="_blank">danno@dogcheese.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I thought an individual smbd got spawned for each connection, and then setuid to the user who was connecting.  Perhaps I’m wrong, or out of date.<div><br></div><div>My next suggestion would be to dig in and figure out how to increase logging verbosity.  make sure that /var/log/samba is mode 1777 so if i’m right about the suid bit, each individual smbd will still be able to write there.<div><div class="h5"><br><div><br><div><blockquote type="cite"><div>On Nov 24, 2014, at 2:01 PM, Jim Irrer &lt;<a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>&gt; wrote:</div><br><div><div dir="ltr"><div><div>Dan -<br><br>I&#39;ve checked file permissions on the server side and chmod&#39;ed them to 777.<br></div><div><br>The smbd is running as root.  There will be several different users accessing this,<br>so I don&#39;t see how it could be run as a regular user.<br><br></div>Not much info, but here&#39;s the contents of /var/log/samba/log.smbd .  There wasn&#39;t anything<br></div>else in the /var/log directory.<br><div><br><br><div style="margin-left:40px"><span style="font-family:monospace"><font size="4">[2014/11/24 09:51:38,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:28:11,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:30:53,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:44:56,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:44:56.448058,  0] param/loadparm.c:8004(lp_do_parameter)<br>  Global parameter wins support found in service section!<br>[2014/11/24 10:45:55,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:45:55.245308,  0] param/loadparm.c:8004(lp_do_parameter)<br>  Global parameter wins support found in service section!<br>[2014/11/24 10:49:27,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 10:57:29,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 11:36:13,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 11:55:12,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 11:57:53,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:05:01,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:08:31,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:12:36,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:28:23,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:31:41,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 12:34:25,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 13:01:30,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 13:02:16,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 13:43:54,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br>[2014/11/24 13:44:08,  0] smbd/server.c:1072(main)<br>  smbd version 3.6.23-12.el6 started.<br>  Copyright Andrew Tridgell and the Samba Team 1992-2011<br></font></span></div><br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Thanks,<br><br>- Jim<br><br>Jim Irrer     <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>       <a href="tel:%28734%29%20647-4409" value="+17346474409" target="_blank">(734) 647-4409</a><br>University of Michigan Hospital Radiation Oncology<br>519 W. William St.             Ann Arbor, MI 48103-4943</div></div></div>
<br><div class="gmail_quote">On Mon, Nov 24, 2014 at 1:48 PM, Dan Pritts <span dir="ltr">&lt;<a href="mailto:danno@dogcheese.net" target="_blank">danno@dogcheese.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I presume you have double checked the permissions on the server side.  </div><div><br></div><div>Is the smbd running as “irrer”?  (which is I think how it should be but I”m not sure)</div><div><br></div><div>What does the log file say?</div><br><div><blockquote type="cite"><div><div><div>On Nov 24, 2014, at 1:40 PM, Jim Irrer &lt;<a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>&gt; wrote:</div><br></div></div><div><div><div><div dir="ltr"><div>Howdy -<br><br></div>I&#39;m trying to get a Samba version 3.6.23 server working, and it&#39;s about 2% functional.  From Windows 7, I mount the <br><div>directory with the following command:<br><br><div style="margin-left:40px"><span style="font-family:monospace"><font size="4">net use m: &#39;<a>\\141.214.124.93\home&#39;</a> [password] /USER:irrer</font><br></span></div><br></div><div><br></div><div>On Windows I can do a directory list of the /home directory, but nothing else.  I can not cat/type a file on<br></div><div>Windows, or do a directory listing on any subdirs under /home.<br></div><div><br></div><div>Just to eliminate one more source of problems, I have shut off iptables.  I don&#39;t care about printers, just want<br>to access some Linux directories from Windows.  The password was set up on Linux with the smbpasswd<br></div><div>command, and if I use the wrong one then the mount/&#39;net use&#39; command fails, which confirms proper password<br>setup (right?).<br></div><div><br>I also have another Samba server 3.0.33 that I set up long ago that works great from the same Windows desktop.<br></div><div><br><br><br></div><div>The /etc/samba/smb.config file with comments removed is:<br></div><br><div style="margin-left:40px"><span style="font-family:monospace"><font size="4">[global]<br>        workgroup = umhs<br>        server string = Samba Server Version %v<br>        client signing = Yes<br>        log file = /var/log/samba/log.%m<br>        max log size = 50<br>        security = user<br>        passdb backend = tdbsam<br>        load printers = yes<br>        cups options = raw<br>[homes] <br>    browsable = no<br>    map archive = yes<br>[home]<br>        browseable = yes<br>        read only = no<br>        path = /home</font><br></span></div><br><div><div><div dir="ltr">Thanks,<br><br>- Jim<br><br>Jim Irrer     <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>       <a href="tel:%28734%29%20647-4409" value="+17346474409" target="_blank">(734) 647-4409</a><br>University of Michigan Hospital Radiation Oncology<br>519 W. William St.             Ann Arbor, MI 48103-4943</div></div></div>
</div></div></div>
_______________________________________________<br>washlug mailing list<br><a href="mailto:washlug@washlug.org" target="_blank">washlug@washlug.org</a><br><a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br></div></blockquote></div><br></div></blockquote></div><br></div></div>
</div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>