[Samba] FW: tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Dominic Gamble dominic.gamble at webdynamic.com.au
Tue Dec 29 20:01:09 MST 2009


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 at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Michael Adam
Sent: Wednesday, 30 December 2009 8:30 AM
To: Volker Lendecke
Cc: samba at 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




More information about the samba mailing list