Lines Matching defs:mask
264 int l=0, i=0, j=0, mask=0;
279 if ((st=krb5_ldap_read_realm_params(context, lrealm, &rparam, &mask)) != 0)
390 krb5_ldap_modify_realm(context, rparams, mask)
393 int mask;
416 if (mask == 0)
430 ((mask & LDAP_REALM_SUBTREE) && rparams->subtree == NULL) ||
431 ((mask & LDAP_REALM_CONTREF) && rparams->containerref == NULL) ||
433 ((mask & LDAP_REALM_KDCSERVERS) && rparams->kdcservers == NULL) ||
434 ((mask & LDAP_REALM_ADMINSERVERS) && rparams->adminservers == NULL) ||
435 ((mask & LDAP_REALM_PASSWDSERVERS) && rparams->passwdservers == NULL) ||
463 if (mask & LDAP_REALM_SUBTREE) {
482 if (mask & LDAP_REALM_CONTREF) {
496 if (mask & LDAP_REALM_SEARCHSCOPE) {
504 if (mask & LDAP_REALM_MAXRENEWLIFE) {
513 if (mask & LDAP_REALM_MAXTICKETLIFE) {
522 if (mask & LDAP_REALM_KRBTICKETFLAGS) {
533 if (mask & LDAP_REALM_KDCSERVERS) {
547 if (mask & LDAP_REALM_ADMINSERVERS) {
561 if (mask & LDAP_REALM_PASSWDSERVERS) {
579 if (mask & LDAP_REALM_KDCSERVERS || mask & LDAP_REALM_ADMINSERVERS ||
580 mask & LDAP_REALM_PASSWDSERVERS) {
637 if (mask & LDAP_REALM_KDCSERVERS) {
674 if (mask & LDAP_REALM_ADMINSERVERS) {
710 if (mask & LDAP_REALM_PASSWDSERVERS) {
954 krb5_ldap_create_realm(context, rparams, mask)
957 int mask;
981 ((mask & LDAP_REALM_SUBTREE) && rparams->subtree == NULL) ||
982 ((mask & LDAP_REALM_CONTREF) && rparams->containerref == NULL) ||
983 ((mask & LDAP_REALM_POLICYREFERENCE) && rparams->policyreference == NULL) ||
985 ((mask & LDAP_REALM_KDCSERVERS) && rparams->kdcservers == NULL) ||
986 ((mask & LDAP_REALM_ADMINSERVERS) && rparams->adminservers == NULL) ||
987 ((mask & LDAP_REALM_PASSWDSERVERS) && rparams->passwdservers == NULL) ||
1024 if (mask & LDAP_REALM_SUBTREE) {
1042 if (mask & LDAP_REALM_CONTREF) {
1056 if (mask & LDAP_REALM_SEARCHSCOPE) {
1063 if (mask & LDAP_REALM_MAXRENEWLIFE) {
1072 if (mask & LDAP_REALM_MAXTICKETLIFE) {
1081 if (mask & LDAP_REALM_KRBTICKETFLAGS) {
1092 if (mask & LDAP_REALM_KDCSERVERS) {
1107 if (mask & LDAP_REALM_ADMINSERVERS) {
1122 if (mask & LDAP_REALM_PASSWDSERVERS) {
1144 if (mask & LDAP_REALM_KDCSERVERS)
1155 if (mask & LDAP_REALM_ADMINSERVERS)
1166 if (mask & LDAP_REALM_PASSWDSERVERS)
1193 krb5_ldap_read_realm_params(context, lrealm, rlparamp, mask)
1197 int *mask;
1245 /* set the mask parameter to 0 */
1246 *mask = 0;
1301 *mask |= LDAP_REALM_SUBTREE;
1311 *mask |= LDAP_REALM_CONTREF;
1320 *mask |= LDAP_REALM_SEARCHSCOPE;
1326 *mask |= LDAP_REALM_MAXTICKETLIFE;
1332 *mask |= LDAP_REALM_MAXRENEWLIFE;
1338 *mask |= LDAP_REALM_KRBTICKETFLAGS;
1348 *mask |= LDAP_REALM_KDCSERVERS;
1356 *mask |= LDAP_REALM_ADMINSERVERS;
1364 *mask |= LDAP_REALM_PASSWDSERVERS;
1377 if ((!(*mask & LDAP_REALM_MAXTICKETLIFE && *mask & LDAP_REALM_MAXRENEWLIFE &&
1378 *mask & LDAP_REALM_KRBTICKETFLAGS)) && rlparams->policyreference) {
1389 if ((*mask & LDAP_REALM_MAXTICKETLIFE) == 0) {
1392 *mask |= LDAP_REALM_MAXTICKETLIFE;
1397 if ((*mask & LDAP_REALM_MAXRENEWLIFE) == 0) {
1400 *mask |= LDAP_REALM_MAXRENEWLIFE;
1405 if ((*mask & LDAP_REALM_KRBTICKETFLAGS) == 0) {
1408 *mask |= LDAP_REALM_KRBTICKETFLAGS;
1416 rlparams->mask = *mask;
1418 st = store_tl_data(rlparams->tl_data, KDB_TL_MASK, mask);