[486] in SIPB-AFS-requests
Re: hiya!
ckclark@ATHENA.MIT.EDU (ckclark@ATHENA.MIT.EDU)
Fri Jul 5 22:40:03 1991
> It does the hesiod lookups, and then runs pts. Unfortunately, pts
> loses when you hit an existing user, so if one person in a list of 10
> is already in the cell, you will need to run the script again w/o the
> users which have already been added.
Marc-
It is bogus that AFS does not provide a good way to query the existence
of a person in the cell, but your script could be improved by checking
for this existence with some kludge. For example, if you do a 'pts
examine foo -cell sipb,' it will return an error if the user `foo' is
not known by the cell. It also exits with status 1. Admittedly, this
is an ugly and inefficient way of getting that one bit of information,
but at least it prevents a person using your script from having to
re-run it when adding a list of users to the protection database, some
of which may already be known to the cell.
-Calvin