Author: gd
Date: 2006-01-05 14:31:22 +0000 (Thu, 05 Jan 2006)
New Revision: 12723

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12723

Log:
When requesting renewable tickets use the same renewal time Heimdal's
kinit use. 

Guenther

Modified:
   trunk/source/nsswitch/winbindd_pam.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_pam.c
===================================================================
--- trunk/source/nsswitch/winbindd_pam.c        2006-01-05 14:28:34 UTC (rev 
12722)
+++ trunk/source/nsswitch/winbindd_pam.c        2006-01-05 14:31:22 UTC (rev 
12723)
@@ -498,7 +498,7 @@
                                           &renewal_until,
                                           cc, 
                                           True,
-                                          1);
+                                          2592000); /* one month (30 days) */
 
        if (krb5_ret) {
                DEBUG(1,("winbindd_raw_kerberos_login: kinit failed for '%s' 
with: %s (%d)\n", 

Reply via email to