subdomain

Michele Coulmance michele.coulmance at epfl.ch
Mon May 6 22:48:05 EST 2002


	
	I'm running RedHat-7.2 and I'm trying to integrate a Linux client into a NIS+ subdomain.
I was using pam_unix2.so and I've tried nis-utils 1.3 and nis-utils 1.4.1.
Both worked fine with a domain server; but with a subdomain, the situation was less good !
Here are a few examples :

	[root at client]#domainname sub-domain.domain.aa.bb
	[root at client]#nisinit -c -H server-sub-domain
	Using xxx.xxx.xxx.xxx as NIS+ server ...
	sub-domain.domain.aa.bb.: Name not served by this server

	[root at client]#domainname org_dir.sub-domain.domain.aa.bb
	[root at client]#nisinit -c -H server-sub-domain
	Using xxx.xxx.xxx.xxx as NIS+ server .

and the NIS_COLD_START file looks like :
	org_dir.sub-domain.domain.aa.bb.server-sub-domain.domain.aa.bb.xxx.xxx.xxx.xxx 

But :
	[root at client]#keylogin -r
	Password:
	Can't find unix.client at org_dir.sub-domain.domain.aa.bb's secret key


If I put a domainname sub-domain.domain.aa.bb and make a copy of a 
NIS_COLD_START file from a subdomain client, then the command keylogin -r 
generates a secret key in /etc/.rootkey, but the authentication of NIS+ 
users regularly fails. 
However the followings are correctly acceded : 
username, UID, GID :
	[root at client] su nis-user
	[nis-user at client /root]$ id
	uid=47259(nis-user) gid=10072(nis-group) 

			Thanks for your help

							Michèle Coulmance


-- 
============================================================
Michele Coulmance - michele.coulmance at epfl.ch
EPFL-SIC 
CP 121/1015 Lausanne/Switzerland
Tél: +41 21 693 22 53
============================================================





More information about the linux-nisplus mailing list