> Hi, > another thing popes to my mind, > check if a nscd process is running on your box. > if yes stop it and remove it from the startup-scripts. > It is not compatible with with samba and windbindd and > may create strange effects. > Christoph
Yes, nscd was running, but I have stopped it now. What is nscd? Also, further to our discussion before, the userid actually get's changed Look at this: [EMAIL PROTECTED] root]# ls -l /home/RHENGHS/canhal total 12 drwx------ 7 monsla Domain Users 4096 Aug 17 13:48 Maildir/ drwx------ 2 monsla Domain Users 4096 Feb 23 2002 tmp/ drwxr-xr-x 2 monsla Domain Users 4096 Jun 20 2002 webpage/ [EMAIL PROTECTED] root]# ls -ln /home/RHENGHS/canhal total 12 drwx------ 7 10585 10000 4096 Aug 17 13:48 Maildir/ drwx------ 2 10585 10000 4096 Feb 23 2002 tmp/ drwxr-xr-x 2 10585 10000 4096 Jun 20 2002 webpage/ [EMAIL PROTECTED] root]# getent passwd canhal canhal:x:10167:10000::/home/RHENGHS/canhal:/bin/bash So you can see that the correct user should be 10167, not 10585 Also SMB hangs after a few hours. When I left last night, everything had been running fine for about 2 hours. When I got to work this morning, no-one was authenticated. When I tried to ls a user dir, I got not response. On issuing the reboot command I saw on the console that there was no process SMB. Here are the SMB messages in syslog. Sep 22 07:49:05 inet nmbd[3724]: [2004/09/22 07:49:05, 0] libsmb/nmblib.c:send_udp(758) Sep 22 07:54:07 inet nmbd[3724]: [2004/09/22 07:54:07, 0] libsmb/nmblib.c:send_udp(758) Sep 22 07:55:28 inet smbd[9813]: [2004/09/22 07:55:28, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:55:28 inet smbd[9813]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:55:28 inet smbd[9813]: [2004/09/22 07:55:28, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:55:28 inet smbd[9813]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:55:28 inet smbd[9813]: [2004/09/22 07:55:28, 0] lib/util_sock.c:write_socket_data(388) Sep 22 07:55:28 inet smbd[9813]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 07:55:28 inet smbd[9813]: [2004/09/22 07:55:28, 0] lib/util_sock.c:write_socket(413) Sep 22 07:55:28 inet smbd[9813]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 07:55:28 inet smbd[9813]: [2004/09/22 07:55:28, 0] lib/util_sock.c:send_smb(605) Sep 22 07:55:28 inet smbd[9813]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 07:55:29 inet smbd[9815]: [2004/09/22 07:55:29, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:55:29 inet smbd[9815]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:55:29 inet smbd[9815]: [2004/09/22 07:55:29, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:55:29 inet smbd[9815]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:55:29 inet smbd[9815]: [2004/09/22 07:55:29, 0] lib/util_sock.c:write_socket_data(388) Sep 22 07:55:29 inet smbd[9815]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 07:55:29 inet smbd[9815]: [2004/09/22 07:55:29, 0] lib/util_sock.c:write_socket(413) Sep 22 07:55:29 inet smbd[9815]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 07:55:29 inet smbd[9815]: [2004/09/22 07:55:29, 0] lib/util_sock.c:send_smb(605) Sep 22 07:55:29 inet smbd[9815]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 07:56:02 inet nmbd[3724]: [2004/09/22 07:56:02, 0] libsmb/nmblib.c:send_udp(758) Sep 22 07:56:30 inet smbd[9832]: [2004/09/22 07:56:30, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:56:30 inet smbd[9832]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:56:30 inet smbd[9832]: [2004/09/22 07:56:30, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:56:30 inet smbd[9832]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:56:30 inet smbd[9832]: [2004/09/22 07:56:30, 0] lib/util_sock.c:write_socket_data(388) Sep 22 07:56:30 inet smbd[9832]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 07:56:30 inet smbd[9832]: [2004/09/22 07:56:30, 0] lib/util_sock.c:write_socket(413) Sep 22 07:56:30 inet smbd[9832]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 07:56:30 inet smbd[9832]: [2004/09/22 07:56:30, 0] lib/util_sock.c:send_smb(605) Sep 22 07:56:30 inet smbd[9832]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 07:56:53 inet smbd[9845]: [2004/09/22 07:56:53, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:56:53 inet smbd[9845]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:56:53 inet smbd[9845]: [2004/09/22 07:56:53, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:56:53 inet smbd[9845]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:56:53 inet smbd[9845]: [2004/09/22 07:56:53, 0] lib/util_sock.c:write_socket_data(388) Sep 22 07:56:53 inet smbd[9845]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 07:56:53 inet smbd[9845]: [2004/09/22 07:56:53, 0] lib/util_sock.c:write_socket(413) Sep 22 07:56:53 inet smbd[9845]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 07:56:53 inet smbd[9845]: [2004/09/22 07:56:53, 0] lib/util_sock.c:send_smb(605) Sep 22 07:56:53 inet smbd[9845]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 07:58:35 inet smbd[9887]: [2004/09/22 07:58:35, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:58:35 inet smbd[9887]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:58:35 inet smbd[9887]: [2004/09/22 07:58:35, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 07:58:35 inet smbd[9887]: getpeername failed. Error was Transport endpoint is not connected Sep 22 07:58:35 inet smbd[9887]: [2004/09/22 07:58:35, 0] lib/util_sock.c:write_socket_data(388) Sep 22 07:58:35 inet smbd[9887]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 07:58:35 inet smbd[9887]: [2004/09/22 07:58:35, 0] lib/util_sock.c:write_socket(413) Sep 22 07:58:35 inet smbd[9887]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer Sep 22 07:58:35 inet smbd[9887]: [2004/09/22 07:58:35, 0] lib/util_sock.c:send_smb(605) Sep 22 07:58:35 inet smbd[9887]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 07:59:12 inet nmbd[3724]: [2004/09/22 07:59:12, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:00:19 inet smbd[9918]: [2004/09/22 08:00:19, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:00:19 inet smbd[9918]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:00:19 inet smbd[9918]: [2004/09/22 08:00:19, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:00:19 inet smbd[9918]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:00:19 inet smbd[9918]: [2004/09/22 08:00:19, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:00:19 inet smbd[9918]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:00:19 inet smbd[9918]: [2004/09/22 08:00:19, 0] lib/util_sock.c:write_socket(413) Sep 22 08:00:19 inet smbd[9918]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer Sep 22 08:00:19 inet smbd[9918]: [2004/09/22 08:00:19, 0] lib/util_sock.c:send_smb(605) Sep 22 08:00:19 inet smbd[9918]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:00:26 inet smbd[9922]: [2004/09/22 08:00:26, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:00:26 inet smbd[9922]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:00:26 inet smbd[9922]: [2004/09/22 08:00:26, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:00:26 inet smbd[9922]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:00:26 inet smbd[9922]: [2004/09/22 08:00:26, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:00:26 inet smbd[9922]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:00:26 inet smbd[9922]: [2004/09/22 08:00:26, 0] lib/util_sock.c:write_socket(413) Sep 22 08:00:26 inet smbd[9922]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer Sep 22 08:00:26 inet smbd[9922]: [2004/09/22 08:00:26, 0] lib/util_sock.c:send_smb(605) Sep 22 08:00:26 inet smbd[9922]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:01:02 inet smbd[9932]: [2004/09/22 08:01:02, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:01:02 inet smbd[9932]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:01:02 inet smbd[9932]: [2004/09/22 08:01:02, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:01:02 inet smbd[9932]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:01:02 inet smbd[9932]: [2004/09/22 08:01:02, 0] lib/util_sock.c:write_socket(413) Sep 22 08:01:02 inet smbd[9932]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 08:01:02 inet smbd[9932]: [2004/09/22 08:01:02, 0] lib/util_sock.c:send_smb(605) Sep 22 08:01:02 inet smbd[9932]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:03:30 inet smbd[10006]: [2004/09/22 08:03:30, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:03:30 inet smbd[10006]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:03:30 inet smbd[10006]: [2004/09/22 08:03:30, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:03:30 inet smbd[10006]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:03:30 inet smbd[10006]: [2004/09/22 08:03:30, 0] lib/util_sock.c:write_socket(413) Sep 22 08:03:30 inet smbd[10006]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 08:03:30 inet smbd[10006]: [2004/09/22 08:03:30, 0] lib/util_sock.c:send_smb(605) Sep 22 08:03:30 inet smbd[10006]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:03:35 inet smbd[10010]: [2004/09/22 08:03:35, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:03:35 inet smbd[10010]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:03:35 inet smbd[10010]: [2004/09/22 08:03:35, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:03:35 inet smbd[10010]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:03:35 inet smbd[10010]: [2004/09/22 08:03:35, 0] lib/util_sock.c:write_socket(413) Sep 22 08:03:35 inet smbd[10010]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 08:03:35 inet smbd[10010]: [2004/09/22 08:03:35, 0] lib/util_sock.c:send_smb(605) Sep 22 08:03:35 inet smbd[10010]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:04:17 inet nmbd[3724]: [2004/09/22 08:04:17, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:05:30 inet smb: smbd shutdown succeeded Sep 22 08:05:30 inet nmbd[3724]: [2004/09/22 08:05:30, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:05:31 inet smb: nmbd shutdown succeeded Sep 22 08:08:34 inet smb: smbd startup succeeded Sep 22 08:08:36 inet smb: nmbd startup succeeded Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:08:36 inet nmbd[3692]: [2004/09/22 08:08:36, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:09:32 inet smb: smbd shutdown failed Sep 22 08:09:52 inet nmbd[3692]: [2004/09/22 08:09:52, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:11:52 inet nmbd[3692]: [2004/09/22 08:11:52, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:13:52 inet nmbd[3692]: [2004/09/22 08:13:52, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:14:57 inet nmbd[3692]: [2004/09/22 08:14:57, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:18:17 inet smbd[4438]: [2004/09/22 08:18:17, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:18:17 inet smbd[4438]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:18:17 inet smbd[4438]: [2004/09/22 08:18:17, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:18:17 inet smbd[4438]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:18:17 inet smbd[4438]: [2004/09/22 08:18:17, 0] lib/util_sock.c:write_socket(413) Sep 22 08:18:17 inet smbd[4438]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 08:18:17 inet smbd[4438]: [2004/09/22 08:18:17, 0] lib/util_sock.c:send_smb(605) Sep 22 08:18:17 inet smbd[4438]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:18:56 inet nmbd[3692]: [2004/09/22 08:18:56, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:18:58 inet nmbd[3692]: [2004/09/22 08:18:58, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:24:02 inet nmbd[3692]: [2004/09/22 08:24:02, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:24:03 inet nmbd[3692]: [2004/09/22 08:24:03, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:25:12 inet smbd[4702]: [2004/09/22 08:25:12, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:25:12 inet smbd[4702]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:25:12 inet smbd[4702]: [2004/09/22 08:25:12, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:25:12 inet smbd[4702]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:25:12 inet smbd[4702]: [2004/09/22 08:25:12, 0] lib/util_sock.c:write_socket(413) Sep 22 08:25:12 inet smbd[4702]: write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by peer Sep 22 08:25:12 inet smbd[4702]: [2004/09/22 08:25:12, 0] lib/util_sock.c:send_smb(605) Sep 22 08:25:12 inet smbd[4702]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:29:07 inet nmbd[3692]: [2004/09/22 08:29:07, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:30:19 inet nmbd[3692]: [2004/09/22 08:30:19, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:34:08 inet nmbd[3692]: [2004/09/22 08:34:08, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:37:23 inet nmbd[3692]: [2004/09/22 08:37:23, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:39:14 inet nmbd[3692]: [2004/09/22 08:39:14, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:42:40 inet smbd[5357]: [2004/09/22 08:42:40, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:42:40 inet smbd[5357]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:42:41 inet smbd[5357]: [2004/09/22 08:42:41, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:42:41 inet smbd[5357]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:42:41 inet smbd[5357]: [2004/09/22 08:42:41, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:42:41 inet smbd[5357]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:42:41 inet smbd[5357]: [2004/09/22 08:42:41, 0] lib/util_sock.c:write_socket(413) Sep 22 08:42:41 inet smbd[5357]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer Sep 22 08:42:41 inet smbd[5357]: [2004/09/22 08:42:41, 0] lib/util_sock.c:send_smb(605) Sep 22 08:42:41 inet smbd[5357]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:43:50 inet smbd[5395]: [2004/09/22 08:43:50, 0] lib/util_sock.c:get_peer_addr(952) Sep 22 08:43:50 inet smbd[5395]: getpeername failed. Error was Transport endpoint is not connected Sep 22 08:43:50 inet smbd[5395]: [2004/09/22 08:43:50, 0] lib/util_sock.c:write_socket_data(388) Sep 22 08:43:50 inet smbd[5395]: write_socket_data: write failure. Error = Connection reset by peer Sep 22 08:43:50 inet smbd[5395]: [2004/09/22 08:43:50, 0] lib/util_sock.c:write_socket(413) Sep 22 08:43:50 inet smbd[5395]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer Sep 22 08:43:50 inet smbd[5395]: [2004/09/22 08:43:50, 0] lib/util_sock.c:send_smb(605) Sep 22 08:43:51 inet smbd[5395]: Error writing 4 bytes to client. -1. (Connection reset by peer) Sep 22 08:44:19 inet nmbd[3692]: [2004/09/22 08:44:19, 0] libsmb/nmblib.c:send_udp(758) Sep 22 08:45:24 inet nmbd[3692]: [2004/09/22 08:45:24, 0] libsmb/nmblib.c:send_udp(758) Roland -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
