Michael Adam
2009-Dec-29 07:10 UTC
[Samba] FW: tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Hi Dominic, I wanted to wait for the original mail to pop up on the list. But somehow it did not appear yet. So while the problem seems to be solved meanwhile, I wanted to comment on the relevant log portion below (see inline): Dominic Gamble wrote:> Hi Michael, > > As I mentioned, here is the full log file. > > Thanks for your time. > > Cheers, > Dominic. > > -----Original Message----- > From: Dominic Gamble [mailto:dominic.gamble at webdynamic.com.au] > Sent: Monday, 28 December 2009 10:55 PM > To: 'samba at lists.samba.org' > Subject: RE: [Samba] tree connect failed: NT_STATUS_BAD_NETWORK_NAME > > Hi Michael, > > Thanks for your reply. Here are the log entries around the > NT_STATUS_BAD_NETWORK_NAME entry which may be of interest: > > [2009/12/28 22:22:08, 5] smbd/uid.c:change_to_user(273) > change_to_user uid=(0,0) gid=(0,500) > [2009/12/28 22:22:08, 0] smbd/service.c:make_connection_snum(1012) > '/test' does not exist or permission denied when connecting to [test] > Error was Permission deniedThis really means that you got a permission denied on the unix level. -- Despite the unix perms that you listed in your last mail. I don't know what made it accessible after a reboot, but I guess this is about all there is to see from the samba side. Cheers - Michael> [2009/12/28 22:22:08, 3] smbd/sec_ctx.c:set_sec_ctx(241) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2009/12/28 22:22:08, 5] auth/auth_util.c:debug_nt_user_token(448) > NT user token: (NULL) > [2009/12/28 22:22:08, 5] auth/auth_util.c:debug_unix_user_token(474) > UNIX token of user 0 > Primary group is 0 and contains 0 supplementary groups > [2009/12/28 22:22:08, 5] smbd/uid.c:change_to_root_user(288) > change_to_root_user: now uid=(0,0) gid=(0,0) > [2009/12/28 22:22:08, 3] smbd/connection.c:yield_connection(69) > Yielding connection to test > [2009/12/28 22:22:08, 3] smbd/error.c:error_packet_set(106) > error packet at smbd/reply.c(514) cmd=117 (SMBtconX) > NT_STATUS_BAD_NETWORK_NAME > > I can't send the full log file to the samba list as it exceeds the size > limits but here is a large part of the last of it. I'll send the full log > file to your direct email address. >-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 206 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20091229/ff12460d/attachment.pgp>
Volker Lendecke
2009-Dec-29 19:48 UTC
[Samba] FW: tree connect failed: NT_STATUS_BAD_NETWORK_NAME
On Tue, Dec 29, 2009 at 08:10:27AM +0100, Michael Adam wrote:> > [2009/12/28 22:22:08, 5] smbd/uid.c:change_to_user(273) > > change_to_user uid=(0,0) gid=(0,500) > > [2009/12/28 22:22:08, 0] smbd/service.c:make_connection_snum(1012) > > '/test' does not exist or permission denied when connecting to [test] > > Error was Permission denied > > This really means that you got a permission denied on the unix > level. -- Despite the unix perms that you listed in your last > mail. I don't know what made it accessible after a reboot, but > I guess this is about all there is to see from the samba side.Probably selinux. The reboot might finally have deactivated it. Volker