Re: TLS profile

Andrea Campi <[email protected]> Thu, 25 Jul 2002 18:45:18 +0200
Newsgroups gmane.network.beep.roadrunner.general
Organization I.NET S.p.A.
Message-ID <[email protected]>
On Thu, Jul 25, 2002 at 04:52:17PM +0200, Jonas Borgstr?m wrote:
> 
> > So, right now, the only way to authenticate an initiator is to use
> > SASL, correct?
> > 
> 
> Yep
> 

Thanks. Another question, then. How do I make sure clients
authenticate first?

I tried using start_indication, but it doesn't seem to be called.
If I do the check in start_confirmation, it will work, but this
is already late, as by then rr_cap_start() will have already returned
success.

Besides, what is the right way to do this?

		rr_manager_close_channel_nonblock(manager,
				channel,
				RR_BEEP_CODE_AUTH_REQUIRED, NULL,
				"You must authenticate first", 
				&error);

Bye (but I will have more questions),
	andrea


-- 
Andrea Campi                              mailto:[email protected]
I.NET S.p.A.                              http://www.inet.it
Direzione Tecnica - R&D			  phone: +39 02 32863 ext 1
v. Darwin, 85 - I-20019			  fax: +39 02 32863 ext 7705
Settimo Milanese (MI), Italy