If you ignore the @XXX then how are you supposed to look up cross-cell
pts ids? For example:
--> cat /usr/vice/etc/ThisCell
athena.mit.edu
--> pts examine [EMAIL PROTECTED]
Name: [EMAIL PROTECTED], id: 295680, owner: system:administrators, creator:
system:administrators,
membership: 5, flags: S----, group quota: 0.
I suppose we could:
1) downcase the @(realm>
2) if <realm> == cell (which is either on the command-line or implied)
then drop it from the string.
But that seems an awful lot of work to me. However, feel free to send in
a patch ;)
-derek
Martin MOKREJŠ <[EMAIL PROTECTED]> writes:
> Hi,
> I've a question if pts examine would be clever enough to ignore the
> @REALM being specified in a username. I mean this:
>
> # pts help examine
> pts examine: examine an entry
> aliases: check
> Usage: pts examine -nameorid <user or group name or id>+ [-cell <cell name>]
>[-noauth] [-force] [-help]
> Where: -noauth run unauthenticated
> -force Continue oper despite reasonable errors
> # pts examine [EMAIL PROTECTED] -noauth
> pts: User or group doesn't exist so couldn't look up id for [EMAIL PROTECTED]
> # pts examine -nameorid 3 -force -noauth
> Name: mokrejs/admin, id: 3, owner: system:administrators, creator: anonymous,
> membership: 1, flags: S----, group quota: unlimited.
> # pts examine -nameorid 4 -force -noauth
> Name: mokrejs, id: 4, owner: system:administrators, creator: anonymous,
> membership: 0, flags: S----, group quota: 20.
> # pts examine mokrejs/admin -noauth
> Name: mokrejs/admin, id: 3, owner: system:administrators, creator: anonymous,
> membership: 1, flags: S----, group quota: unlimited.
> #
>
> I think [EMAIL PROTECTED] might not be converted to [EMAIL PROTECTED] at least,
> at the best the "@GSF.DE" could be removed from the string, if it's really
> causing lookup failure. Any opinions?
>
> Tested with 1.2.8-rc2 on linux 2.4.19/i386
> --
> Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics <http://mips.gsf.de>
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>
> _______________________________________________
> OpenAFS-devel mailing list
> [EMAIL PROTECTED]
> https://lists.openafs.org/mailman/listinfo/openafs-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel