Re: unix MIB

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 19 Jan 1996 17:40:23 +0100

Hi!

Robert Premuz <rpremuz@srce.hr> said:

Robert> I've noticed strange values of the MAX-ACCESS clause in the
Robert> definitions of the following two objects:

Robert> userName OBJECT-TYPE

Robert> groupName OBJECT-TYPE

Robert> Why should these objects be not-accessible? Is this an error
Robert> in the unix.mib file?

No, this conforms to the SNMPv2 conventions. There is actually no need
to access (== read) these objects as they serve as an index (== key)
to the userTable (groupTable). You can extract the value from the
instance identifier of any instance of these tables.

Robert> Also, I've found some of the descriptions of objects in the
Robert> unix MIB not comprehensive enough. For example,

Robert> userTable OBJECT-TYPE
Robert> SYNTAX SEQUENCE OF UserEntry
Robert> MAX-ACCESS not-accessible
Robert> STATUS current
Robert> DESCRIPTION
Robert> "The users table."
Robert> ::= { users 1 }

Robert> It seems it should be the table of all users existing on the
Robert> system. But, also, it could be the table of currently
Robert> logged-in users (which I would prefer). What is the right
Robert> meaning?

I guess it is meant to hold the list of all known users, not only the
active ones. But you should contact one of the authors to get a final
answer.

Juergen