9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] more factotum nitpicks
@ 2002-11-14  2:09 presotto
  2002-11-14  6:37 ` Roman V. Shaposhnick
  0 siblings, 1 reply; 4+ messages in thread
From: presotto @ 2002-11-14  2:09 UTC (permalink / raw)
  To: 9fans

	It seems that there is no need to set .authid and .authdom
	in B /sys/src/cmd/auth/factotum/p9cr.c:getchal because there's nobody
	paying attention to them in authsrv.c anyway. Same goes for
	.authdom and .chal which are set in:

 	  cmd/auth/factotum/[apop|chap|p9cr].c ( function getchal )

	Nobody seems to care about them on the other end and what's more
	important I can't see any reason for auth protocols other than
	p9sk1 to have any business around Ticketreq.[authid|authdom|chal].
	There is no server which can supply those values.

	If there's some hidden reason for them to be set, please let me know.

	Thanks,
	Roman.

For authid and chal, no reason.  For authdom, I'm thinking of making one authsrv handle
multiple domains so it should continue to be set.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] more factotum nitpicks
  2002-11-14  2:09 [9fans] more factotum nitpicks presotto
@ 2002-11-14  6:37 ` Roman V. Shaposhnick
  0 siblings, 0 replies; 4+ messages in thread
From: Roman V. Shaposhnick @ 2002-11-14  6:37 UTC (permalink / raw)
  To: 9fans

On Wed, Nov 13, 2002 at 09:09:05PM -0500, presotto@plan9.bell-labs.com wrote:
> For authid and chal, no reason.

  Good. This means I got it right. ;-)

> For authdom, I'm thinking of making one authsrv handle
> multiple domains so it should continue to be set.

  Could you please elaborate a little bit on this one ? I don't quite follow:
  is it like you want the server to discriminate based on "return domain"
  as, for example,  tcp does based in return address ?

Thanks,
Roman.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] more factotum nitpicks
@ 2002-11-14  6:47 Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2002-11-14  6:47 UTC (permalink / raw)
  To: 9fans

Whenever a client calls up an authentication
server, it knows what domain it is expecting
to find there.  The server can discriminate
based on what domain the client asks for.

This would have been useful when setting
up sources, for example, which has two different
auth domains -- one for the kfs file server you
know as `sources' and one for the rest of the machine.
We did this with some ugly namespace tricks.
It would be nice if it were easier.

Russ



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] more factotum nitpicks
@ 2002-11-14  1:28 Roman V. Shaposhnick
  0 siblings, 0 replies; 4+ messages in thread
From: Roman V. Shaposhnick @ 2002-11-14  1:28 UTC (permalink / raw)
  To: 9fans

It seems that there is no need to set .authid and .authdom
in cmd/auth/factotum/p9cr.c:getchal because there's nobody
paying attention to them in authsrv.c anyway. Same goes for
.authdom and .chal which are set in:

   cmd/auth/factotum/[apop|chap|p9cr].c ( function getchal )

Nobody seems to care about them on the other end and what's more
important I can't see any reason for auth protocols other than
p9sk1 to have any business around Ticketreq.[authid|authdom|chal].
There is no server which can supply those values.

If there's some hidden reason for them to be set, please let me know.

Thanks,
Roman.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-14  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14  2:09 [9fans] more factotum nitpicks presotto
2002-11-14  6:37 ` Roman V. Shaposhnick
  -- strict thread matches above, loose matches on Subject: below --
2002-11-14  6:47 Russ Cox
2002-11-14  1:28 Roman V. Shaposhnick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).