r19031@cathode-dark-space: raeburn | 2007-01-03 18:54:25 -0500
ticket: 5260
* ldap_principal.c (attributes_set): Swap first two elements.
Also add comments indicating that this array and the KDB_*_ATTR macros
need to be in sync.
ticket: 5260
version_fixed: 1.6
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19034
dc483132-0cff-0310-8789-
dd5450dbe970
"krbObjectReferences",
NULL };
-static char *attributes_set[] = { "krbmaxrenewableage",
- "krbmaxticketlife",
+/* Must match KDB_*_ATTR macros in ldap_principal.h. */
+static char *attributes_set[] = { "krbmaxticketlife",
+ "krbmaxrenewableage",
"krbticketflags",
"krbprincipalexpiration",
"krbticketpolicyreference",
/* these will be consumed only by krb5_ldap_delete_principal*/
/* these will be set by krb5_ldap_get_principal and fed into the tl_data */
+/* See also attributes_set[] in ldap_principal.c. */
#define KDB_MAX_LIFE_ATTR 0x000001
#define KDB_MAX_RLIFE_ATTR 0x000002
#define KDB_TKT_FLAGS_ATTR 0x000004