Hello,
A couple of years ago the same question was kicked around info-afs.
Below is a copy of one of the messages which discusses a program called
testpt which can be built if you have source code.
If you would like a copy of the whole thread, search for the subject.
One archive of info-afs is available at the URL
wais://cmsun.cmf.nrl.navy.mil:210/info-afs
if you have access to WWW client.
From: <unk>
Date: Mon, 9 Mar 92 16:28:49 PST
From: [EMAIL PROTECTED] (Bob Andrews)
Subject: Re: is there a way to get a listing of pts group names?
Pauline Li writes:
> Date: Mon, 9 Mar 1992 11:15:37 -0600
> From: [EMAIL PROTECTED] (Pauline Li)
> Message-Id: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: is there a way to get a listing of pts group names?
> Cc: [EMAIL PROTECTED]
>
>
>
> 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: [EMAIL PROTECTED]
> 11400 Burnet Road, IMAD 9631 Internet:
[EMAIL PROTECTED]
> 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
Jessica Kelley
-----------------------------------------------------------------
| Jessica B. Kelley | National Institutes of Health |
| Computer Engineer | Building 12A, Room 2025 |
| | Bethesda, MD 20892-5624 |
| E-mail: [EMAIL PROTECTED] | WWW: http://www.alw.nih.gov/ |
-----------------------------------------------------------------