svn commit: samba r11619 - in branches/SAMBA_4_0/source/kdc: .

Stefan Metzmacher metze at samba.org
Thu Nov 10 15:17:20 GMT 2005


On Thu, Nov 10, 2005 at 10:51:09PM +1100, tridge at samba.org wrote:
> Probably the easiest method is as follows:
> 
>  - when you detect this error, create a krb5 error packet, and set a
>    destructor on the data blob
>  - then queue that error reply
>  - then call packet_recv_disable() to stop trying to receive more data
>    on this connection

I think the kdc should always use this after getting one request

>  - once the packet is sent, the destrctor will fire, and you can setup
>    the destructor to drop the connection

with the current packet_queue_run() this will crash,
as the destructor would free the packet context and the fd event

and the EVENT_FD_NOT_WRITABLE(pc->fde) would have no chance...

metze



More information about the samba-technical mailing list