home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!tyger.Eng.Sun.COM!geoff
- From: geoff@tyger.Eng.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top)
- Newsgroups: comp.protocols.nfs
- Subject: Re: wierd uid src code in pcnfsd v2
- Date: 11 Nov 1992 13:48:15 GMT
- Organization: SunSelect
- Lines: 23
- Message-ID: <1dr2v1INNh8h@seven-up.East.Sun.COM>
- References: <1992Nov10.160421.13438@awdprime.austin.ibm.com>
- NNTP-Posting-Host: tyger.east.sun.com
-
- Quoth curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) (in <1992Nov10.160421.13438@awdprime.austin.ibm.com>):
- #what is the deal w/ this routine?
- #y is it unreasonable to have a uid outside of the range 101-60002?
- #
- #on aix for example, uid's are LONG, so they can go up to 4gazillion
- #or whatever. what's the deal?
- #
-
- Thanks, Curt. To correct this, add
-
- #include <limits.h>
-
- at the top of the file, and replace 60002 with UID_MAX.
-
- Now, on Solaris 1 and Solaris 2, UID_MAX is explicitly
- defined as 60002. What is it on AIX? On Ultrix?
-
- Geoff
- --
- Geoff Arnold, PC-NFS architect, Sun Select. (geoff.arnold@East.Sun.COM)
- -----------
- News software that enforces a four-line .signature limit is responsible for
- the fact that these postings just go on and on and on and seem to end in mid-
-