I've run the script that I posted earlier, and everything seems fine. I'll monitor the situation over the next hour or more to see what happens. The only effective change I made is that I stopped the nscd service.
Roland > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Roland Giesler > Sent: 22 September 2004 09:55 > To: 'Christoph Scheeder' > Cc: [EMAIL PROTECTED] > Subject: RE: [Samba] Corrupted userid in mail folders - Crisis > > > > > > > [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 > > > > No, i bet the number reported from getent is changing. > > Ah, I understand what you mean. Let me check that. I need a > predetermined mailbox to get corrupted... One that I know the > userid number of. > > Ok, found one. You're right. The userid doesn't change, the > mapping does > > [EMAIL PROTECTED] samba]# ls -l /home/RHENGHS/elahyl > total 12 > drwx------ 7 zelbeu Domain Users 4096 Aug 14 21:36 Maildir/ > drwx------ 2 zelbeu Domain Users 4096 Feb 23 2002 tmp/ > drwxr-xr-x 2 zelbeu Domain Users 4096 Jun 20 2002 webpage/ > [EMAIL PROTECTED] samba]# getent passwd zelbeu > zelbeu:x:10865:10000::/home/RHENGHS/zelbeu:/bin/bash > [EMAIL PROTECTED] samba]# > > User elahyl is 10000 - that I know. > [EMAIL PROTECTED] samba]# getent passwd elahyl > elahyl:x:10000:10000::/home/RHENGHS/elahyl:/bin/bash > [EMAIL PROTECTED] samba]# > > I guess the userid on the folders is wrong now because I ran > my "fixing" script. I'm going to run it again, since I > change the slow hub to a switch and stopped the nscd service. > The I'll see what happens. > > Roland > > > > 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. > > > > > > > How was your samba installed? Was it compiled from source or are the > > package(s) from your distribution installed? > > > > Christoph > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
