*BSD News Article 50673


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!sunsite.doc.ic.ac.uk!sunews!news
From: Mark Blackman <markb@met.reading.ac.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PCNFSD anomalies
Date: 11 Sep 1995 15:14:32 GMT
Organization: met. dept, univ. of reading
Lines: 41
Message-ID: <431joo$p0q@susscsc1.rdg.ac.uk>
NNTP-Posting-Host: swpc30.reading.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; Linux 1.2.13 i586)
X-URL: news:comp.unix.bsd.freebsd.misc

How-dee all,

Any theories on why pcnfsd.93.02.16 doesn't work completely with FreeBSD 2.0.5?

correction..

run as
"/usr/local/libexec/rpc.pcnfsd /var/spool/lpd"

A) "nobody (UID=-2/65534)" (on a PC running PCNFS-5.1a) **CANNOT** mount a
disk,
   despite "mountd -n" and "uidrange 0-65535"(in /etc/pcnfsd.conf)?

   a theory.. nobody == -2 on the PC, but UID's can't be negative???
   (although I would have expected a standard signed to unsigned conversion to
    65534, as happens under Solaris and Linux)

B) The same PC give me an error
   "no such printer on server" when I use the wrong printer name BUT
   "printer not exported, not local, or doesn't exist" when I use the
    correct printer name. (/var/spool IS in /etc/exports, have also
    included PC in hosts.lpd, do I need to include it in hosts.equiv?)
    ("showmount -e " from another machine confirms these directories are
      being exported.)

   theory.. is there a more explict exporting procedure?

Both of these things worked from a linux server running 1.2.8 and
the latest linux port of pcnfsd. Also I copied the /etc/printcap from the
working linux version.  (changing names of printer devices, of course.)

Print and file services work from another Unix machine (as clients), so
I must presume the problem is in "pcnfsd" rather than "mountd"/"nfsd"/"lpd".

I can see that others have had the first problem, but I don't see any solutions 
in the archives.   (maybe a problem with reserved ports??)

Thanks for listening.

Mark