https://bugzilla.novell.com/show_bug.cgi?id=743976
https://bugzilla.novell.com/show_bug.cgi?id=743976#c5
--- Comment #5 from lynn wilson 2012-01-31 09:05:51 UTC ---
mount -t nfs4 hh3:/home /mnt
with Kerberos Authenticated user steve5 (uid 3000021 gid 100) cd's to the
mounted directory:
rpc.idmapd -fvvvvvv
rpc.idmapd: libnfsidmap: using domain: CACTUS
rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for
method nsswitch
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: New client: b
rpc.idmapd: Opened /var/lib/nfs/rpc_pipefs/nfs/clntb/idmap
rpc.idmapd: New client: d
rpc.idmapd: nfsdcb: authbuf=* authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "0" -> name "root@CACTUS"
rpc.idmapd: nfsdcb: authbuf=* authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "1000" -> name "steve@CACTUS"
rpc.idmapd: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd: nss_getpwnam: name 'steve@CACTUS' domain 'CACTUS': resulting
localname 'steve'
rpc.idmapd: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
rpc.idmapd: nfs4_name_to_uid: final return value is 0
rpc.idmapd: Client b: (user) name "steve@CACTUS" -> id "1000"
rpc.idmapd: nfs4_name_to_gid: calling nsswitch->name_to_gid
rpc.idmapd: nfs4_name_to_gid: nsswitch->name_to_gid returned 0
rpc.idmapd: nfs4_name_to_gid: final return value is 0
rpc.idmapd: Client b: (group) name "users@CACTUS" -> id "100"
rpc.idmapd: nfsdcb: authbuf=* authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "3000021" -> name "steve5@CACTUS"
uid:gid mappings correct, user can rw files.
--- --- ---
mount -t nfs4 hh3:/home /mnt -o sec=krb5
with Kerberos Authenticated user steve5 (uid 3000021 gid 100) cd's to the
mounted directory:
rpc.idmapd -fvvvvvv
rpc.idmapd: libnfsidmap: using domain: CACTUS
rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for
method nsswitch
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: New client: 8
rpc.idmapd: Opened /var/lib/nfs/rpc_pipefs/nfs/clnt8/idmap
rpc.idmapd: New client: 9
rpc.idmapd: nfsdcb: authbuf=gss/krb5 authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "0" -> name "root@CACTUS"
rpc.idmapd: nfsdcb: authbuf=gss/krb5 authtype=group
rpc.idmapd: nfs4_gid_to_name: calling nsswitch->gid_to_name
rpc.idmapd: nfs4_gid_to_name: nsswitch->gid_to_name returned 0
rpc.idmapd: nfs4_gid_to_name: final return value is 0
rpc.idmapd: Server : (group) id "0" -> name "root@CACTUS"
rpc.idmapd: New client: a
[warn] event_del: event has no event_base set.
rpc.idmapd: Stale client: 9
rpc.idmapd: -> closed /var/lib/nfs/rpc_pipefs/nfs/clnt9/idmap
rpc.idmapd: nfsdcb: authbuf=gss/krb5 authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "1000" -> name "steve@CACTUS"
rpc.idmapd: nfsdcb: authbuf=gss/krb5 authtype=group
rpc.idmapd: nfs4_gid_to_name: calling nsswitch->gid_to_name
rpc.idmapd: nfs4_gid_to_name: nsswitch->gid_to_name returned 0
rpc.idmapd: nfs4_gid_to_name: final return value is 0
rpc.idmapd: Server : (group) id "100" -> name "users@CACTUS"
rpc.idmapd: nfsdcb: authbuf=gss/krb5 authtype=user
rpc.idmapd: nfs4_uid_to_name: calling nsswitch->uid_to_name
rpc.idmapd: nfs4_uid_to_name: nsswitch->uid_to_name returned 0
rpc.idmapd: nfs4_uid_to_name: final return value is 0
rpc.idmapd: Server : (user) id "3000021" -> name "steve5@CACTUS"
rpc.idmapd: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd: nss_getpwnam: name 'steve5@CACTUS' domain 'CACTUS': resulting
localname 'steve5'
rpc.idmapd: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
rpc.idmapd: nfs4_name_to_uid: final return value is 0
rpc.idmapd: Client 8: (user) name "steve5@CACTUS" -> id "3000021"
Client and server agree on a user id 3000021, the server establishes group id
as 100 but the client does not respond.
Tested with KDC,nfsserver and client all on one box and with KDC and nfsserver
on server box and client on a remote openSUSE 12.1 client.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.