HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem whilr creating NIS map
Operating System - HP-UX
1832605
Members
2699
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 12:11 AM
06-01-2001 12:11 AM
problem whilr creating NIS map
I am facing problem, while creating NIS map of group file
recently i added some users to one of the group after that when i was trying to create the NIS map of group it came out with an given below
Building the group map(s)... problem storing 278 wireless:*:278:wireless
ERROR (ypmake): in group build.
ypmake complete: errors encountered.
then i removed some of the users and tried then i founf out that when the no of users lessthan or equal to 130 it is bulding map, otherwise it is giving the same error
thanks in advance
raj
recently i added some users to one of the group after that when i was trying to create the NIS map of group it came out with an given below
Building the group map(s)... problem storing 278 wireless:*:278:wireless
ERROR (ypmake): in group build.
ypmake complete: errors encountered.
then i removed some of the users and tried then i founf out that when the no of users lessthan or equal to 130 it is bulding map, otherwise it is giving the same error
thanks in advance
raj
Let the choices you make today be the choices you can live with tomorrow.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 03:36 AM
06-01-2001 03:36 AM
Re: problem whilr creating NIS map
There is a limitation on NIS, I believe it is 1024 characters? There are some creative work arounds, Brian Hackley probably knows of some. Or, on 11.0, you could go to NIS+.
Berlene
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 06:29 AM
06-01-2001 06:29 AM
Re: problem whilr creating NIS map
Hi Rajesh,
Berlene is indeed correct the limit per NIS entry is 1024 characters (and I think it's really 1023 + the terminating ASCII NULL). I can offer you I workaround but it's not perfect.
Split your wireless group into 2 /etc/group entries: e.g
wireless:*:278:user1,user2,user3 .....
wireless:*:278:user81,user82,user83 ....
Unfortunately, NIS will only see the 1st group
entry but ypmake will not complain. You should therefore put your most 'popular' guys in the first entry. The good news is that unless you specifically need to check group membership of this user every thing still works fine because the group gid (278) is picked up from the passwd map. For example, doing an ls -l of files owned by user82 in the second entry will still show wireless rather than 278 as the group.
You could also look into setting up logingroup
and using newgrp to change groups.
Hope this helps, Clay
Berlene is indeed correct the limit per NIS entry is 1024 characters (and I think it's really 1023 + the terminating ASCII NULL). I can offer you I workaround but it's not perfect.
Split your wireless group into 2 /etc/group entries: e.g
wireless:*:278:user1,user2,user3 .....
wireless:*:278:user81,user82,user83 ....
Unfortunately, NIS will only see the 1st group
entry but ypmake will not complain. You should therefore put your most 'popular' guys in the first entry. The good news is that unless you specifically need to check group membership of this user every thing still works fine because the group gid (278) is picked up from the passwd map. For example, doing an ls -l of files owned by user82 in the second entry will still show wireless rather than 278 as the group.
You could also look into setting up logingroup
and using newgrp to change groups.
Hope this helps, Clay
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP