[Samba] Impossible to access folders

Thomas Vito shoktai at gmail.com
Tue Jul 22 10:25:29 GMT 2008


I changed the share name. I was able to access the share finally. I am now
getting those errors after a sytem reboot:
[2008/07/22 12:21:49, 0] lib/util_sock.c:get_peer_addr(1224)
  getpeername failed. Error was Transport endpoint is not connected
[2008/07/22 12:22:13, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.130.101.85. Error
Connection reset by peer
[2008/07/22 12:22:13, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)


On the XP side i get the network path was not found.

XP is online they can ping with the samba server. The samba server has the
firewall disabled and Selinux disabled too. I have read on some other ports
that it could be a port issue. Any ideas?

Thank you

2008/7/22 Rubin Bennett <rbennett at thatitguy.com>:

> I've actually seen this a number of times.
>
> Change your share name in smb.conf from [Share] to [share] and I'll bet
> it works fine.
>
> I haven't picked it apart as to why this happens, but it seems like
> there's something about the case sensitivity/ insensitivity between *nix
> and *doze that disagree when the share is defined with mixed case.
>
> Has anyone else seen this besides me?  It seems fairly consistent
> between versions and flavors of Linux and Samba in my experience.
>
> HTH,
> Rubin
>
> On Mon, 2008-07-21 at 22:30 -0500, Adam Williams wrote:
> > are you trying to connect to \\server\acn or \\server\share?
> >
> > Thomas Vito wrote:
> > > Hello,
> > >
> > > On a RHEL 5 U2 server i am trying again to setup samba this time in
> user
> > > mode, see smb.conf below:
> > >
> > > [global]
> > >         workgroup = ACME
> > >         realm = EU.ACME.COM
> > >         server string = %h
> > >         password server = amsterdam-dc01.eu.acme.com
> > >         passdb backend = tdbsam
> > >         local master = No
> > >         dns proxy = No
> > >         wins server = 10.130.12.120
> > >         ldap ssl = no
> > >         idmap uid = 16777216-33554431
> > >         idmap gid = 16777216-33554431
> > >         cups options = raw
> > >
> > > [printers]
> > >         comment = All Printers
> > >         path = /var/spool/samba
> > >         printable = Yes
> > >         browseable = No
> > >
> > > [Share]
> > >         path = /home/acn
> > >         write list = acn, tci
> > >         read only = No
> > >         guest ok = Yes
> > >
> > > I have created two users acn and tci then used smbpasswd to create
> their
> > > password.
> > > I have created the share folder on the samba folder /home/acn and even
> tried
> > > a chmod 777 on it.
> > > Each time i try to connect to the share i get either an error from
> windows
> > > client : No network provider accepted the given network path. Sometimes
> i
> > > get a login prompt, enter my cred tci and password, then after a few
> minutes
> > > i get The specified network name is no longer available
> > >
> > > Here is the smbd.log:
> > >
> > > [2008/07/21 17:17:31, 0] lib/util_sock.c:get_peer_addr(1224)
> > >   getpeername failed. Error was Transport endpoint is not connected
> > > [2008/07/21 17:17:31, 0] lib/util_sock.c:get_peer_addr(1224)
> > >   getpeername failed. Error was Transport endpoint is not connected
> > > [2008/07/21 17:17:31, 0] lib/util_sock.c:read_data(534)
> > >   read_data: read failure for 4 bytes to client 0.0.0.0. Error =
> Connection
> > > reset by peer
> > >
> > > [root at amsdev-dv09 ~]# smbd -V
> > > Version 3.0.28-1.el5_2.1
> > >
> >
> --
> Rubin Bennett
> RB Technologies
> http://thatitguy.com
> rbennett at thatitguy.com
> (802)223-4448
>
> "They that can give up essential liberty to obtain a little
> temporary security deserve neither liberty nor safety"
>  --Benjamin Franklin, Historical Review of Pennsylvania, 1759
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list