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@amsdev-dv09 ~]# smbd -V Version 3.0.28-1.el5_2.1
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@amsdev-dv09 ~]# smbd -V > Version 3.0.28-1.el5_2.1 >
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@amsdev-dv09 ~]# smbd -V > > Version 3.0.28-1.el5_2.1 > > >-- Rubin Bennett RB Technologies http://thatitguy.com rbennett@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
As i was receiving those errors : [2008/07/24 10:37:35, 0] auth/auth_util.c:create_builtin_users(758) create_builtin_users: Failed to create Users [2008/07/24 10:38:56, 0] lib/util_sock.c:get_peer_addr(1224) getpeername failed. Error was Transport endpoint is not connected [2008/07/24 10:38:56, 0] auth/auth_util.c:create_builtin_administrators(792) create_builtin_administrators: Failed to create Administrators [2008/07/24 10:38:56, 0] auth/auth_util.c:create_builtin_users(758) create_builtin_users: Failed to create Users i tried this: [root@amsdev-dv09 acn]# net sam createbuiltingroup administrators Creating administrators failed with NT_STATUS_ACCESS_DENIED 2008/7/23 Charles Marcus <CMarcus@media-brokers.com>:> On 7/23/2008, Thomas Vito (shoktai@gmail.com) wrote: > >> I promise i have changed anything ;) >> > > Obviously *something* changed between when you first *started* Samba and > when you rebooted... > > That is where I would be looking... > > -- > > Best regards, > > Charles >