[OpenIndiana-discuss] OI, NFSv4 and idmapd
nkunkee42@hotmail.com
nkunkee42 at hotmail.com
Thu Apr 18 00:09:35 UTC 2013
Check your nfsmapid/domain value, the one suffixed to all the NFS ID values. OI tries to default to local domain name, check sharectl. Linux variants seem to default 'localdomain', which won't match. Don't recall where CentOS puts theirs. I have to set it explicitly for all my boxes in a mixed environment.
Hope that helps,
Nathan
----- Reply message -----
From: "Peter Wood" <peterwood.sd at gmail.com>
To: "OpenIndiana Discuss" <openindiana-discuss at openindiana.org>
Subject: [OpenIndiana-discuss] OI, NFSv4 and idmapd
Date: Wed, Apr 17, 2013 1:13 pm
I'm using OI 151.a.7 to export a dataset via NFS and mount it on CentOS5.9
clients using NFSv4.
On the clients I have apache running as user daemon and it needs access to
the exported directory.
Then problem is that user daemon on CentOS5 has UID=2 and on OI has UID=1.
On the clients when I write a file as user daemon it shows with ownership
user bin. That wouldn't bother me but I also have some perl scripts running
as user daemon that access files in this directory. Perl modules are doing
tests before they write to a directory and when the OS reports user bin
ownership then perl scripts error out with permissions denied.
I tried to configure idmapd user mapping so it will show user damon
ownership on the clients but with no success.
Anyone has experience with idmapd? Is this doable?
Do I need idmapd running on the OI server?
All I can find on the Internet is how to get idmapd work where users have
the same ID on the NFS server and the client.
Thanks,
-- Peter
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list