I'm not quite sure about this but I miss the IPC section in your smb.conf.
It should be similar to this:

[IPC$]
path = /tmp
guest ok = yes
valid users =
hosts allow = 127.0.0.1, your.IP.subnet


MfG
Jörg Nissen
----- Original Message -----
From: ""Administrator""
Newsgroups: mailing.unix.samba
Sent: Monday, March 06, 2006 1:09 AM
Subject: [Samba] Problem Accessing Samba Server from Windows


> Hi,
>
> =20
>
> I'm having a problem accessing my samba server from Windows. The problem
> occurs every time I try to browse to it on either XP or 2003 Server. The
> error message I get is: "\\Zeus is not accessible. You might not have
> permission to use this network resource. Contact the administrator of
> this server to find out if you have access permissions. The account is
> not authorized to log in from this station."
>
> =20
>
> There are no errors in the event logs on the Windows 2003 SP1 Enterprise
> server, which is the PDC. The samba server is running Mandriva 2006
> PowerPack. It's running Samba 3.020 with krb 1.4.2.
>
> =20
>
> For setting up the Samba server I followed the steps on the Samba
> website to join the domain. The join went flawlessly and I can list the
> users properly using wbinfo and getent.
>
> =20
>
> The PDC is named "Paradise", the XP client is "Tama", and the samba
> server is "Zeus".
>
> =20
>
> Here's my config files:
>
> =20
>
> # Samba config file
>
> =20
>
> [global]
>
> log file =3D /var/log/samba/%m.log
>
> ldap ssl =3D no
>
> idmap gid =3D 10000-20000
>
> wins server =3D 192.168.0.5
>
> null passwords =3D yes
>
> domain master =3D no
>
> username map =3D /etc/samba/smbusers
>
> encrypt passwords =3D yes
>
> winbind trusted domains only =3D no
>
> realm =3D CHU.PARADISENT.COM
>
> public =3D yes
>
> template shell =3D /bin/tcsh
>
> dns proxy =3D no
>
> netbios name =3D zeus
>
> netbios aliases =3D ZEUS Zeus
>
> server string =3D Samba Server
>
> printing =3D cups
>
> password server =3D 192.168.0.5
>
> idmap uid =3D 10000-20000
>
> local master =3D no
>
> workgroup =3D CHU
>
> os level =3D 20
>
> printcap name =3D CUPS
>
> security =3D ads
>
> preferred master =3D no
>
> winbind separator =3D |
>
> max log size =3D 50
>
> =20
>
> [shared]
>
> comment =3D Shared Folder
>
> path =3D /shared
>
> ;valid users =3D CHU|administrator, CHU|annie, CHU|jacob,
> @CHU|Household
>
> read only =3D No
>
> =20
>
> [jacob]
>
> comment =3D Jacob's Home Dir
>
> path =3D /home/jacob
>
> ;valid users =3D CHU|jacob
>
> read only =3D No
>
> =20
>
> [root]
>
> comment =3D Root's Home Dir
>
> path =3D /root
>
> ;valid users =3D CHU|administrator, CHU|annie, CHU|jacob,
> @BUILTIN|Administrators, "@CHU|Domain Admins", "@CHU|Enterprise Admins"
>
> read only =3D No
>
> =20
>
> [annie]
>
> comment =3D Annie's Home Dir
>
> path =3D /home/annie
>
> ;valid users =3D CHU|annie
>
> read only =3D No
>
> =20
>
> [website]
>
> comment =3D Main Website
>
> path =3D /var/www/html
>
> ;valid users =3D CHU|administrator, CHU|annie, CHU|jacob,
> @CHU|Household
>
> read only =3D No
>
> =20
>
> =20
>
> #
>
> # /etc/nsswitch.conf
>
> =20
>
> passwd: files winbind
>
> shadow: files winbind
>
> group: files winbind
>
> =20
>
> #hosts: db files nisplus nis dns
>
> hosts: files dns winbind
>
> =20
>
> bootparams: nisplus [NOTFOUND=3Dreturn] files
>
> =20
>
> ethers: files
>
> netmasks: files
>
> networks: files dns
>
> protocols: files winbind
>
> rpc: files
>
> services: files winbind
>
> =20
>
> netgroup: files winbind
>
> =20
>
> publickey: nisplus
>
> =20
>
> automount: files winbind
>
> aliases: files nisplus
>
> =20
>
> =20
>
> krb5.conf
>
> =20
>
> [logging]
>
> default =3D FILE:/var/log/krb5libs.log
>
> kdc =3D FILE:/var/log/krb5kdc.log
>
> admin_server =3D FILE:/var/log/kadmind.log
>
> =20
>
> [libdefaults]
>
> ticket_lifetime =3D 24000
>
> default_realm =3D CHU.PARADISENT.COM
>
> =20
>
> [realms]
>
> CHU.PARADISENT.COM =3D {
>
> kdc =3D paradise.paradisent.com
>
> admin_server =3D paradise.paradisent.com
>
> default_domain =3D chu.paradisent.com
>
> }
>
> =20
>
> [domain_realm]
>
> .kerberos.server =3D CHU.PARADISENT.COM
>
> .chu.paradisent.com =3D CHU.PARADISENT.COM
>
> chu.paradisent.com =3D CHU.PARADISENT.COM
>
> =20
>
> [appdefaults]
>
> pam =3D {
>
> debug =3D false
>
> ticket_lifetime =3D 36000
>
> renew_lifetime =3D 36000
>
> forwardable =3D true
>
> krb4_convert =3D false
>
> }
>
> =20
>
> =20
>
> Here is what I found in my samba server logs:
>
> =20
>
> /var/log/messages
>
> =20
>
> Mar 5 10:24:57 zeus smbd[5099]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:24:57 zeus smbd[5099]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:24:57 zeus smbd[19273]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:24:57 zeus smbd[19273]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:24:57 zeus smbd[19273]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:write_data(554)=20
>
> Mar 5 10:24:57 zeus smbd[19273]: write_data: write failure in writing
> to client 0.0.0.0. Error Connection reset by peer=20
>
> Mar 5 10:24:57 zeus smbd[19273]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:send_smb(762)=20
>
> Mar 5 10:24:57 zeus smbd[19273]: Error writing 4 bytes to client. -1.
> (Connection reset by peer)=20
>
> Mar 5 10:24:57 zeus smbd[5099]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:24:57 zeus smbd[5099]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:24:57 zeus smbd[19276]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:24:57 zeus smbd[19276]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:24:57 zeus smbd[19276]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:write_data(554)=20
>
> Mar 5 10:24:57 zeus smbd[19276]: write_data: write failure in writing
> to client 0.0.0.0. Error Connection reset by peer=20
>
> Mar 5 10:24:57 zeus smbd[19276]: [2006/03/05 10:24:57, 0]
> lib/util_sock.c:send_smb(762)=20
>
> Mar 5 10:24:57 zeus smbd[19276]: Error writing 4 bytes to client. -1.
> (Connection reset by peer)=20
>
> Mar 5 10:59:52 zeus smbd[5099]: [2006/03/05 10:59:52, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:59:52 zeus smbd[5099]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:59:52 zeus smbd[19280]: [2006/03/05 10:59:52, 0]
> lib/util_sock.c:get_peer_addr(1222)=20
>
> Mar 5 10:59:52 zeus smbd[19280]: getpeername failed. Error was
> Transport endpoint is not connected=20
>
> Mar 5 10:59:52 zeus smbd[19280]: [2006/03/05 10:59:52, 0]
> lib/util_sock.c:write_data(554)=20
>
> Mar 5 10:59:52 zeus smbd[19280]: write_data: write failure in writing
> to client 0.0.0.0. Error Connection reset by peer=20
>
> Mar 5 10:59:52 zeus smbd[19280]: [2006/03/05 10:59:52, 0]
> lib/util_sock.c:send_smb(762)=20
>
> Mar 5 10:59:52 zeus smbd[19280]: Error writing 4 bytes to client. -1.
> (Connection reset by peer)=20
>
> =20
>
> =20
>
> log.nmbd
>
> =20
>
> [2006/03/05 04:02:04, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(284)
>
> dump_workgroups()
>
> dump workgroup on subnet 192.168.0.20: netmask=3D 255.255.255.0:
>
> CHU(1) current master browser =3D PARADISE
>
> ZEUS 40009b03 (Samba Server)
>
> PARADISE 4084122b ()
>
> [2006/03/05 04:02:04, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(284)
>
> dump_workgroups()
>
> dump workgroup on subnet UNICAST_SUBNET: netmask=3D 0.0.0.0:
>
> CHU(1) current master browser =3D UNKNOWN
>
> ZEUS 40009b03 (Samba Server)
>
> =20
>
> Log.wb-CHU
>
> =20
>
> [2006/03/05 00:32:30, 0] lib/util_sock.c:write_data(556)
>
> write_data: write failure. Error =3D Connection reset by peer
>
> [2006/03/05 00:32:30, 0] libsmb/clientgen.c:write_socket(138)
>
> write_socket: Error writing 190 bytes to socket 3: ERRNO =3D =
> Connection
> reset by peer
>
> [2006/03/05 00:32:30, 0] libsmb/clientgen.c:cli_send_smb(168)
>
> Error writing 190 bytes to client. -1 (Connection reset by peer)
>
> [2006/03/05 00:32:30, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438)
>
> cli_pipe: return critical error. Error was Write error: Connection
> reset by peer
>
> [2006/03/05 00:37:30, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
>
> cli_rpc_open failed on pipe \NETLOGON to machine PARADISE. Error was
> Write error: Connection reset by peer
>
> [2006/03/05 00:37:30, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
>
> cli_rpc_open failed on pipe \NETLOGON to machine PARADISE. Error was
> Write error: Connection reset by peer
>
> [2006/03/05 01:08:00, 0] lib/util_sock.c:write_data(556)
>
> write_data: write failure. Error =3D Connection reset by peer
>
> [2006/03/05 01:08:00, 0] libsmb/clientgen.c:write_socket(138)
>
> write_socket: Error writing 190 bytes to socket 3: ERRNO =3D =
> Connection
> reset by peer
>
> [2006/03/05 01:08:00, 0] libsmb/clientgen.c:cli_send_smb(168)
>
> Error writing 190 bytes to client. -1 (Connection reset by peer)
>
> [2006/03/05 01:08:00, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438)
>
> cli_pipe: return critical error. Error was Write error: Connection
> reset by peer
>
> [2006/03/05 01:10:34, 0] rpc_client/cli_pipe.c:cli_rpc_open_noauth(1700)
>
> rpc_pipe_bind failed
>
> =20
>
> =20
>
> paradise.log
>
> =20
>
> [2006/03/04 23:54:45, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 192.168.0.5. Error
> Connection reset by peer
>
> [2006/03/04 23:54:45, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> [2006/03/05 10:59:52, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 0.0.0.0. Error
> Connection reset by peer
>
> [2006/03/05 10:59:52, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> =20
>
> =20
>
> Smbd.log
>
> =20
>
> [2006/03/05 04:02:04, 1] smbd/server.cpen_sockets_smbd(354)
>
> Reloading services after SIGHUP
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> [2006/03/05 10:59:52, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> [2006/03/05 10:59:52, 0] lib/util_sock.c:get_peer_addr(1222)
>
> getpeername failed. Error was Transport endpoint is not connected
>
> =20
>
> =20
>
> tama.log
>
> =20
>
> [2006/03/04 22:22:39, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 0.0.0.0. Error
> Connection reset by peer
>
> [2006/03/04 22:22:39, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> [2006/03/05 01:19:57, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 192.168.0.15. Error
> Connection reset by peer
>
> [2006/03/05 01:19:57, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 0.0.0.0. Error
> Connection reset by peer
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:write_data(554)
>
> write_data: write failure in writing to client 0.0.0.0. Error
> Connection reset by peer
>
> [2006/03/05 10:24:57, 0] lib/util_sock.c:send_smb(762)
>
> Error writing 4 bytes to client. -1. (Connection reset by peer)
>
> =20
>
> =20
>
> Any help would be greatly appreciated!
>
> =20
>
> Thanks,
>
> =20
>
> Jacob.
>
> =20
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba