[649] in Info-AFS_Redistribution

home help back first fref pref prev next nref lref last post

Re: is there a way to get a listing of pts group names?

daemon@ATHENA.MIT.EDU (Bob Andrews)
Mon Mar 9 20:25:45 1992

From: bob@ibmpa.awdpa.ibm.com (Bob Andrews)
To: paulinel@ajones.austin.ibm.com (Pauline Li)
Date: Mon, 9 Mar 92 16:28:49 PST
Cc: info-afs@transarc.com, paulinel@mirage.austin.ibm.com
In-Reply-To: <9203091715.AA22311@ajones.austin.ibm.com>; from "Pauline Li" at Mar 9, 92 11:15 am

Pauline Li writes:
> Date: Mon, 9 Mar 1992 11:15:37 -0600
> From: paulinel@ajones.austin.ibm.com (Pauline Li)
> Message-Id: <9203091715.AA22311@ajones.austin.ibm.com>
> To: info-afs@transarc.com
> Subject: is there a way to get a listing of pts group names?
> Cc: paulinel@mirage.austin.ibm.com
> 
> 
> 
> Hi,
>   I was wondering if there is a command (in AFS 3.1 or 3.2) which will allow
> a user to list all the pts group names in the pts database. This is useful to
> me because I want to be able to query the database to find out if
> a group already exists with the members I need. pts membership doesn't
> quite cut it. I'd rather not create another group if one exists and I just
> don't know about it.  If there is no command to do what I want (I haven't 
> found one that does), does anybody have suggestions on how to get this listing
> of group names? Thanks. 
>  
> -Pauline
> 
> 
> ------------------------------------------------------------------------------ 
> Pauline Li 				PSPA Development Environment Tools	
> International Business Machines         T-R: paulinel@mirage.austin.ibm.com
> 11400 Burnet Road, IMAD 9631            Internet: paulinel@ajones.austin.ibm.com
> Austin, TX 78758                        Vnet: paulinel at austin
> 

The testpt command in the ptserver source directory can be used to list all
the groups and users the ptserver know about.  The following command lists
all the ptserver entries less than 0 (groups), up to 200000 entries:

testpt used -1 200000

Similarly, the following command will list up to 200000 entries > 0 (users):

testpt used 1 200000

		Bob

home help back first fref pref prev next nref lref last post