|
|
1.1 ! root 1: PasswordLookup DEFINITIONS ::= ! 2: ! 3: BEGIN ! 4: ! 5: -- operations ! 6: ! 7: -- given a user name, return a Passwd type ! 8: lookupUser OPERATION ! 9: ARGUMENT UserName ! 10: RESULT Passwd ! 11: ERRORS { noSuchUser, congested } ! 12: ::= 0 ! 13: ! 14: -- given a user ID, return a Passwd type ! 15: lookupUID OPERATION ! 16: ARGUMENT UserID ! 17: RESULT Passwd ! 18: ERRORS { noSuchUser, congested } ! 19: ::= 1 ! 20: ! 21: -- errors ! 22: ! 23: -- no matching user in the database ! 24: noSuchUser ERROR ! 25: ::= 0 ! 26: ! 27: -- congestion at responder ! 28: congested ERROR ! 29: ::= 1 ! 30: ! 31: -- types ! 32: ! 33: -- similar to an entry in <pwd.h> ! 34: Passwd ::= ! 35: [APPLICATION 1] ! 36: IMPLICIT SEQUENCE { ! 37: name[0] ! 38: IMPLICIT UserName, ! 39: ! 40: passwd[1] ! 41: IMPLICIT IA5String ! 42: OPTIONAL, ! 43: ! 44: uid[2] ! 45: IMPLICIT UserID, ! 46: ! 47: gid[3] ! 48: IMPLICIT GroupID, ! 49: ! 50: quota[4] ! 51: IMPLICIT INTEGER ! 52: DEFAULT 0, ! 53: ! 54: comment[5] ! 55: IMPLICIT IA5String ! 56: OPTIONAL, ! 57: ! 58: gecos[6] ! 59: IMPLICIT IA5String ! 60: OPTIONAL, ! 61: ! 62: dir[7] ! 63: IMPLICIT IA5String ! 64: OPTIONAL, ! 65: ! 66: shell[8] ! 67: IMPLICIT IA5String ! 68: OPTIONAL ! 69: } ! 70: ! 71: UserName ::= ! 72: [APPLICATION 2] ! 73: IMPLICIT GraphicString ! 74: ! 75: UserID ::= ! 76: [APPLICATION 3] ! 77: IMPLICIT INTEGER ! 78: ! 79: GroupID ::= ! 80: [APPLICATION 4] ! 81: IMPLICIT INTEGER ! 82: ! 83: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.