Operating System - HP-UX
1822940 Members
3865 Online
109645 Solutions
New Discussion юеВ

Netgroup Problem with dns and nis client

 
SOLVED
Go to solution
Arunvijai_4
Honored Contributor

Re: Netgroup Problem with dns and nis client

Hello,

http://docs.hp.com/en/B2355-60127/netgroup.4.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Netgroup Problem with dns and nis client

Some more links,

In case of 11.11

http://docs.hp.com/en/5991-1153/ch02s07.html

11.23, http://docs.hp.com/en/5991-1811/ch02s06.html

Configuring /etc/netgroup.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: Netgroup Problem with dns and nis client

netgroup controls the access to machines bases on which netgroup you belong to. for getting authenticated without password, you need to set up .rhosts and hosts.equiv. For normal user, hosts.equiv is checked first then .rhosts in home dir.

Have you set .rhosts file??

Also does dns resolves all of your workstations?? How many dns servers do you have?? Are all they available?? else modify nsswitch.conf to look for files, when dns search fails.
There is no substitute to HARDWORK
Darrel Louis
Honored Contributor

Re: Netgroup Problem with dns and nis client

Hi,

ypcat netgroup

Should show:
group_workstations (,,DOMAIN)

As the man page describe:
netgroup_name is the name of a network group as defined in netgroup(4). If the
host name in hostequiv is of this form, the remote host name (only) must match
the specified network group according to the rules defined in netgroup(4) in
order for the host name to match.
Similarly, if the user name in hostequivis of this form, the remote user name
(only) must match the specified network group in order for the user name to match.


Darrel
SupraTeam_1
Regular Advisor

Re: Netgroup Problem with dns and nis client

I have found a solutions to my problem :

First, it's because my nis netgroup table are too big than 1024 characters.
I make sub-groups for my primary workstation netgroup.

Second, some declarations in netgroups are not correct, field with "nil" was activated instead of blank.It isn't correct, you should add workstation in your netgroup table width all parameters like this :
nistbladm -a 'name=toto' 'group=' 'host=workstation' .... netgroup




Entry data of type netgroup_tbl
[0] - [7 bytes] 'hp_test'
[1] - [0 bytes] '(nil)'
[2] - [26 bytes] 'workstation'
[3] - [0 bytes] '(nil)'
[4] - [9 bytes] 'test.tt'
[5] - [0 bytes] '(nil)'