From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,596d7f9089d632f5,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!news.cambrium.nl!news.cambrium.nl!news2.euro.net!fi.sn.net!newsfeed2.fi.sn.net!feeder2.news.jippii.net!feeder1.news.jippii.net!news.cc.tut.fi!news.helsinki.fi!not-for-mail From: Erkki Aalto Newsgroups: comp.unix.tru64 Subject: very strange NIS problem Date: 13 Jul 2004 06:52:41 GMT Organization: University of Helsinki Message-ID: NNTP-Posting-Host: soul.it.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: oravannahka.helsinki.fi 1089701561 8795 128.214.189.108 (13 Jul 2004 06:52:41 GMT) X-Complaints-To: abuse@helsinki.fi NNTP-Posting-Date: 13 Jul 2004 06:52:41 GMT User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (OSF1/V5.1 (alpha)) Xref: g2news1.google.com comp.unix.tru64:173 We have a system with Tru64 5.1a, C2 and NIS. The NIS master server uses btree format (this seems to be necessary for performance reasons in 5.x even with modest user databases). Recently we changed the uid numbers to be equal to those of another unix system. Now the uids are not in increasing order in the passwd file and they are larger than 10000, but there should be no other differences. The problem: sometimes, when a user is modified with usermod (in practice, shell is changed), the user database is broken and part of users are lost. To be more precise, the passwd.byname map OK, but passwd.byuid is truncated. Touching the passwd file and doing make passwd corrects the maps. Does anyone have any idea about what is going on? -- Erkki '�rkki' Aalto "Life is divided up into Internet: Erkki.Aalto@Helsinki.FI the horrible and the miserable" Snail: P.O. Box 64 FI-00014 University of Helsinki, Finland