Prev: tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Next: [Samba] Problem using smbldap-groupadd / net group add
From: Michael Adam on 29 Dec 2009 02:20 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(a)webdynamic.com.au] > Sent: Monday, 28 December 2009 10:55 PM > To: 'samba(a)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 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. 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. >
From: Volker Lendecke on 29 Dec 2009 14:50 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Adam on 29 Dec 2009 16:40 Volker Lendecke wrote: > 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. Ok, I suspected "something along these lines", but my knowledge about selinux and friends is so embrassing that I did not even want to mention the word actively myself, hoping that someone would explain this... ;-) Cheers - Michael
From: Dominic Gamble on 29 Dec 2009 22:10
I did change selinux from restrictive to permissive at some point during the process, by editing the file /etc/selinux/config. I didn't know a reboot was required for this to take effect, but that could be it. Best regards, Dominic -----Original Message----- From: samba-bounces(a)lists.samba.org [mailto:samba-bounces(a)lists.samba.org] On Behalf Of Michael Adam Sent: Wednesday, 30 December 2009 8:30 AM To: Volker Lendecke Cc: samba(a)lists.samba.org Subject: Re: [Samba] FW: tree connect failed: NT_STATUS_BAD_NETWORK_NAME Volker Lendecke wrote: > 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. Ok, I suspected "something along these lines", but my knowledge about selinux and friends is so embrassing that I did not even want to mention the word actively myself, hoping that someone would explain this... ;-) Cheers - Michael -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |