DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T p

⟦30e75668d⟧ TextFile

    Length: 1129 (0x469)
    Types: TextFile
    Names: »passwd-ops.ry«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/manual/passwd-ops.ry« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/passwd-ops.ry« 

TextFile

PasswordLookup DEFINITIONS ::=

BEGIN

-- operations

			-- given a user name, return a Passwd type
lookupUser OPERATION
	ARGUMENT	UserName
	RESULT		Passwd
	ERRORS		{ noSuchUser, congested }
	::=		0

			-- given a user ID, return a Passwd type
lookupUID OPERATION
	ARGUMENT	UserID
	RESULT		Passwd
	ERRORS		{ noSuchUser, congested }
	::=		1

-- errors

			-- no matching user in the database
noSuchUser ERROR
	::=		0

			-- congestion at responder
congested ERROR
	::=		1

-- types

			-- similar to an entry in <pwd.h>
Passwd ::=
    [APPLICATION 1]
	IMPLICIT SEQUENCE {
	    name[0]
		IMPLICIT UserName,

	    passwd[1]
		IMPLICIT IA5String
		OPTIONAL,

	    uid[2]
		IMPLICIT UserID,

	    gid[3]
		IMPLICIT GroupID,

	    quota[4]
		IMPLICIT INTEGER
		DEFAULT 0,
	    
	    comment[5]
		IMPLICIT IA5String
		OPTIONAL,

	    gecos[6]
		IMPLICIT IA5String
		OPTIONAL,

	    dir[7]
		IMPLICIT IA5String
		OPTIONAL,

	    shell[8]
		IMPLICIT IA5String
		OPTIONAL
	}

UserName ::=
    [APPLICATION 2]
	IMPLICIT GraphicString

UserID ::=
    [APPLICATION 3]
	IMPLICIT INTEGER

GroupID ::=
    [APPLICATION 4]
	IMPLICIT INTEGER

END