Hello,
I posted the following message
>
>
> Hello Managers,
>
> I am trying to mount a pcnfs drive and an AlphaServer 2100 running DU
3.2a.
> I get a rpc authentication error. I am running nis on another machine. I
> have tried to place the user name in the local password file but still get
> the rpc error.
>
> Any help will be appreciated,
>
> Jeff Bivins
> Sr. Programmer Anaylst
> Otis Elevator
> Phone (812) 331-5911
> email bivins_at_nebeng.otis.utc.com
>
Here are the postings I recieved,
-------
Hi Jeff,
You've prob. already got this but here goes anyway. The age old prob. of
non-root mounting is my guess. Due to the lack of authentication from
non-Unix system to establish privileged accts, as from a PC, you have to
start your mount daemon (mountd) with the '-n' option to allow access.
This is most cleanly done by editing the /etc/rc.config file to
reflect the following :
NONROOTMOUNTS="1"
export NONROOTMOUNTS
PCNFSD="1"
export PCNFSD
Another possibility is that the user on the PC is not authenticated. This
has the effect of not allowing printing dirs. to mount and other weirdness.
PC-NFS gives the most useless errors messages which often fall into a
couple
of broad categories which aren't much indication of the real cause of the
error. Anyway hopefully it's the first alternative (non-root mounts) that's
correct.
Good luck,
-Will
Computer Science Department | mail: W.Flett_at_dcs.rhbnc.ac.uk
Royal Holloway, University of London | talk: +44 1784 443428 (direct)
Egham, Surrey TW20 0EX, England | fax: +44 1784 443420
------------------------------------------------------------
First, let me say sorry for my earlier half_baked recipe(i.e answer
to your query).
I will try to say something(which worked for us).
>
>
> Hello Managers,
>
> I am trying to mount a pcnfs drive and an AlphaServer 2100 running DU
3.2a.
> I get a rpc authentication error. I am running nis on another machine. I
I assume that you are NOT able to mount.
The NFS on DEC seems to be more secure nfs.
It alllows mounting by those clients which are explicitely listed
in hosts file or NIS( YP in our case). A client which is not
there in NIS or hosts gets mounting problem.
You try to include client host entry in NIS and mount.
> have tried to place the user name in the local password file but still get
> the rpc error.
>
> Any help will be appreciated,
>
Brahmaji
------------------------------------
Hi Jeff,
You've prob. already got this but here goes anyway. The age old prob. of
non-root mounting is my guess. Due to the lack of authentication from
non-Unix system to establish privileged accts, as from a PC, you have to
start your mount daemon (mountd) with the '-n' option to allow access.
This is most cleanly done by editing the /etc/rc.config file to
reflect the following :
NONROOTMOUNTS="1"
export NONROOTMOUNTS
PCNFSD="1"
export PCNFSD
Another possibility is that the user on the PC is not authenticated. This
has the effect of not allowing printing dirs. to mount and other weirdness.
PC-NFS gives the most useless errors messages which often fall into a
couple
of broad categories which aren't much indication of the real cause of the
error. Anyway hopefully it's the first alternative (non-root mounts) that's
correct.
Good luck,
-Will
Computer Science Department | mail: W.Flett_at_dcs.rhbnc.ac.uk
Royal Holloway, University of London | talk: +44 1784 443428 (direct)
Egham, Surrey TW20 0EX, England | fax: +44 1784 443420
------------
I added the pc IP address in the yp host table and my problem is solved.
Thanks,
Jeff
--MailNet.MIME.7029c9
Content-type: application/octet-stream; name="header.txt"
Content-transfer-encoding: base64
UmVjZWl2ZWQ6IGZyb20gbmltYnVzLmVzY2EuY29tIChuaW1idXMuZXNjYS5jb20gWzE5Mi45Mi45
Mi4yN10pIGJ5IGJ1Z2F0dGkuZXNjYS5jb20gKDguNi45LzguNi45KSB3aXRoIFNNVFAgaWQgUEFB
MDAyNTggZm9yIDxqZWZmLnN0ZWx6bmVyQGJ1Z2F0dGkuZXNjYS5jb20+OyBUaHUsIDE2IE5vdiAx
OTk1IDE1OjE3OjIzIC0wODAwDQpSZWNlaXZlZDogZnJvbSBzd3MxLmN0ZC5vcm5sLmdvdiBieSBu
aW1idXMuZXNjYS5jb207ICg1LjY1LzEuMS44LjIvMThTZXA5NS0wOTEyQU0pDQoJaWQgQUEwODQ0
MDsgVGh1LCAxNiBOb3YgMTk5NSAxNToxNTo1OSAtMDgwMA0KUmVjZWl2ZWQ6IChmcm9tIGRhZW1v
bkBsb2NhbGhvc3QpIGJ5IHN3czEuQ1RELk9STkwuR09WICg4LjcuMS84LjcuMSkgaWQgU0FBMDE2
MDAgZm9yIGFvbWFmOyBUaHUsIDE2IE5vdiAxOTk1IDE4OjEzOjAxIC0wNTAwDQpTZW5kZXI6IGFs
cGhhLW9zZi1tYW5hZ2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