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

abartlet at samba.org abartlet at samba.org
Tue Jun 28 00:56:39 GMT 2005


Author: abartlet
Date: 2005-06-28 00:56:39 +0000 (Tue, 28 Jun 2005)
New Revision: 7969

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

Log:
It seems reasonable that our tickets be marked renewable, in the
absense of an apparent AD flag to control this behaviour.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/kdc/hdb-ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/kdc/hdb-ldb.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/hdb-ldb.c	2005-06-28 00:55:44 UTC (rev 7968)
+++ branches/SAMBA_4_0/source/kdc/hdb-ldb.c	2005-06-28 00:56:39 UTC (rev 7969)
@@ -109,6 +109,8 @@
 	/* mark the principal as invalid to start with */
 	flags.invalid = 1;
 
+	flags.renewable = 1;
+
 	/* Account types - clear the invalid bit if it turns out to be valid */
 	if (userAccountControl & UF_NORMAL_ACCOUNT) {
 		if (ent_type == HDB_LDB_ENT_TYPE_CLIENT || ent_type == HDB_LDB_ENT_TYPE_ANY) {



More information about the samba-cvs mailing list