View previous topic :: View next topic |
Author |
Message |
Dumble n00b
Joined: 31 Aug 2006 Posts: 70
|
Posted: Wed Oct 29, 2008 3:51 pm Post subject: NFSv4 - User mapping problem & domainname problem |
|
|
Hello everyone !
I have two little problems, and the second may be related to the first. So, the first problem is :
- Domainname problem
It looks like just an esthetic problem, but at the login prompt, the domain name of my computer isn't displayed. Instead, I have "unknown_domain". I do not konw where to look :
- I've modified my /etc/hosts to contains those lines (my computer is named yoda and the domain is linux-system):
Quote: | ::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# IPv4 and IPv6 localhost aliases
127.0.0.1 yoda.linux-system yoda localhost
::1 yoda.linux-system yoda localhost |
- I've modified the /etc/init.d/hostname to contains :
Quote: | start()
{
hostname=${hostname-${HOSTNAME-localhost}}
ebegin "Setting hostname to ${hostname}"
hostname "${hostname}"
domainname linux-system
eend $? "Failed to set the hostname"
} |
and the login still not contains the domain name. BUT ! if I do "hostname --fqdn" or "dnsdomainname", they both return my domainname....
- NFSv4 problem
This problem is maybe related to the first :
The client is unable to map corrects usernames between my two computers and give me those errors :
Quote: | Oct 28 20:59:03 yoda rpc.idmapd[2484]: New client: 0
Oct 28 20:59:03 yoda rpc.idmapd[2484]: New client: 1
Oct 28 20:59:03 yoda rpc.idmapd[2484]: Opened /var/lib/nfs/rpc_pipefs//nfs/clnt0/idmap
Oct 28 20:59:03 yoda rpc.idmapd[2484]: nss_getpwnam: name 'root@local.domain.edu' does not map into domain 'linux-system'
Oct 28 20:59:03 yoda rpc.idmapd[2484]: Client 0: (user) name "root@local.domain.edu" -> id "65534"
Oct 28 20:59:03 yoda rpc.idmapd[2484]: Client 0: (group) name "root@local.domain.edu" -> id "65534"
Oct 28 20:59:27 yoda rpc.idmapd[2484]: nss_getpwnam: name 'me@local.domain.edu' does not map into domain 'linux-system'
Oct 28 20:59:27 yoda rpc.idmapd[2484]: Client 0: (user) name "me@local.domain.edu" -> id "65534"
Oct 28 20:59:27 yoda rpc.idmapd[2484]: Client 0: (group) name "me@local.domain.edu" -> id "65534" |
the /etc/idmap.conf of my two computers looks like this :
Quote: | [General]
Verbosity = 2
Domain = linux-system
[Mapping]
Nobody-User = nobody
Nobody-Group = nobody |
I do not understand where those problems come from...
Thank you very much for your help ! _________________ Eternity is a very long time, especially towards the end... (S. Hawking) |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Wed May 20, 2009 3:13 pm Post subject: |
|
|
Hhm, a stupid question : How do you start idmapd ? I'm currently playing with NFSv4 but I don't see anything within my /var/log/messages ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|