[Samba] Re: Re: Network Path was not found

Chris chrisdp at armscor.co.za
Thu Jan 17 10:29:32 GMT 2008

Michael Heydon wrote:

> What do the logs show? If you are getting the same message in the logs,
> does the directory exist and is it accessible by the user who is
> connecting?
This in the log file

[2008/01/17 11:59:37, 0] smbd/service.c:make_connection_snum(1003)
  '/home/chr' does not exist or permission denied when connecting to [chr]
Error was Permission denied

The user chr has rwx permissions on /home/chr
drwxr-xr-x 132 chr   users       8192 Jan 17 12:07 chr

This is what my smb.conf file looks like now

        workgroup = FLAMENGRO
        server string = Samba Server BBB
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 50
        server signing = auto
        printcap name = /etc/printcap
        preferred master = No
        domain master = No
        dns proxy = No
        ldap ssl = no
        cups options = raw

        comment = Home Directories
        read only = No
        browseable = No

        comment = All Printers
        path = /var/spool/samba/
        printable = Yes
        browseable = No

When I issue the following command
 smbclient -L //bbb -U chr

I get the following

Domain=[BBB] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba Server BBB)
        hp5550          Printer   HP Color Laserjet 5550
        chr             Disk      Home Directories
Domain=[BBB] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        FLAMENGRO            FLAHOIS01

When I try to lock in with  smbclient //bbb/homes -U chr

I get the following and the log file's entry is as above

Domain=[BBB] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

More information about the samba mailing list