Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 1780 From hartmans@MIT.EDU Fri Nov 22 18:40:13 1996 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id SAA13829 for ; Fri, 22 Nov 1996 18:40:13 -0500 Received: from STARKILLER.MIT.EDU by MIT.EDU with SMTP id AA17847; Fri, 22 Nov 96 18:40:12 EST Received: by starkiller.MIT.EDU (5.x/4.7) id AA29895; Fri, 22 Nov 1996 18:40:12 -0500 Message-Id: <9611222340.AA29895@starkiller.MIT.EDU> Date: Fri, 22 Nov 1996 18:40:12 -0500 From: hartmans@MIT.EDU Reply-To: hartmans@MIT.EDU To: krb5-bugs@MIT.EDU Subject: kpasswd casts getuid() to int X-Send-Pr-Version: 3.99 >Number: 228 >Category: krb5-admin >Synopsis: kpasswd casts getuid() to int >Confidential: no >Severity: non-critical >Priority: medium >Responsible: bjaspan >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Fri Nov 22 18:41:00 EST 1996 >Last-Modified: Fri Nov 22 19:11:31 EST 1996 >Originator: Sam Hartman >Organization: mit >Release: 1.0-development >Environment: System: SunOS starkiller 5.4 Generic_101945-37 sun4m sparc >Description: When trying to find the user in the passwd file, kpasswd casts the return of getuid() to int in a call to getpwuid(); this is wrong. >How-To-Repeat: >Fix: Let the prototypes deal. You don't need a cast on most operating systems, and if you find one that gives an error, we can special case. >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: hartmans State-Changed-When: Fri Nov 22 19:10:34 1996 State-Changed-Why: It turns out it is the linking against libdb that was causing the problem; since we no longer build passwd.local, linking libdb.a is not needed in this dir. >Unformatted: