[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need a way to get the kdc timeout



On Wed, 2008-06-11 at 08:33 -0700, Love Hörnquist Åstrand wrote:
> > Sounds fine to me.
> >
> > Should we also make this plugin loadable via the normal plugin  
> > mechanism
> > (that we use for the windc hooks)?  This would allow Samba4 to  
> > publish a
> > plugin that uses socket_wrapper for hosts that use a system heimdal,  
> > and
> > would therefore allow us to run kinit in our selftests.
> 
> Would this do be ok ? Added the timeout.
> 
> typedef krb5_error_code
> (*krb5plugin_send_to_kdc_func)(krb5_context,
> 			       void *,
> 			       krb5_krbhst_info *,
> 			       time_t timeout,
> 			       const krb5_data *,
> 			       krb5_data *);
> 
> typedef struct krb5plugin_send_to_kdc_ftable {
>      int			minor_version;
>      krb5_error_code	(*init)(krb5_context, void **);
>      void		(*fini)(void *);
>      krb5plugin_send_to_kdc_func send_to_kdc;
> } krb5plugin_send_to_kdc_ftable;

Looks good to me.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

This is a digitally signed message part