[PATCH] krb5 ticket refresh chain

boyang boyang at suse.de
Sun Jan 4 12:30:23 GMT 2009


Hi, everybody:
     nautilus and smbspool rely on krb5 ticket to connect to servers,
therefore, it can locks account when krb5 ticket expires. The
recommended question here is destroying krb5 ticket in case that it can
be expired and renew/rekinit it when possible. We handle errors such as
KRB5_REALM_CANT_RESOLVE, KRB5_AP_ERR_TKT_EXPIRED or KRB5_FCC_NOFILE to
make krb5 ticket refresh chain more robust.
    When we cannot renew/rekinit ticket, or login in cache mode, destroy
krb5 ticket and try to renew/rekinit it later when KDC available. when
krb5 ticket expired, we rekinit it if it is possible.
    Patches are in the attachment, thanks!
Best
       Regards
BoYang
4th, Jan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krb5-refresh-master.diff
Type: text/x-patch
Size: 13618 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/7af15af3/krb5-refresh-master.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krb5-refresh-v3-0-test.diff
Type: text/x-patch
Size: 13510 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/7af15af3/krb5-refresh-v3-0-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krb5-refresh-v3-2-test.diff
Type: text/x-patch
Size: 13598 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/7af15af3/krb5-refresh-v3-2-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krb5-refresh-v3-3-test.diff
Type: text/x-patch
Size: 13606 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/7af15af3/krb5-refresh-v3-3-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/7af15af3/boyang.vcf


More information about the samba-technical mailing list