Lines Matching refs:LDAPDefaults
3366 static SM_LDAP_STRUCT *LDAPDefaults = NULL;
3920 if (lmap == NULL || lmap != LDAPDefaults)
3924 if (LDAPDefaults == NULL)
3927 STRUCTCOPY(*LDAPDefaults, *lmap);
4388 (LDAPDefaults == NULL ||
4389 LDAPDefaults == lmap ||
4390 LDAPDefaults->ldap_host != lmap->ldap_host))
4395 (LDAPDefaults == NULL ||
4396 LDAPDefaults == lmap ||
4397 LDAPDefaults->ldap_uri != lmap->ldap_uri))
4402 (LDAPDefaults == NULL ||
4403 LDAPDefaults == lmap ||
4404 LDAPDefaults->ldap_binddn != lmap->ldap_binddn))
4408 (LDAPDefaults == NULL ||
4409 LDAPDefaults == lmap ||
4410 LDAPDefaults->ldap_secret != lmap->ldap_secret))
4489 (LDAPDefaults == NULL ||
4490 LDAPDefaults == lmap ||
4491 LDAPDefaults->ldap_secret != lmap->ldap_secret))
4495 (LDAPDefaults == NULL ||
4496 LDAPDefaults == lmap ||
4497 LDAPDefaults->ldap_base != lmap->ldap_base))
4512 if (lmap == LDAPDefaults)
4679 ** LDAPMAP_SET_DEFAULTS -- Read default map spec from LDAPDefaults in .cf
4682 ** spec -- map argument string from LDAPDefaults option
4696 if (LDAPDefaults == NULL)
4697 LDAPDefaults = (SM_LDAP_STRUCT *) xalloc(sizeof(*LDAPDefaults));
4698 sm_ldap_clear(LDAPDefaults);
4710 map.map_db1 = (ARBPTR_T) LDAPDefaults;
4715 /* These should never be set in LDAPDefaults */
4726 if (LDAPDefaults->ldap_filter != NULL)
4731 LDAPDefaults->ldap_filter = NULL;
4734 if (LDAPDefaults->ldap_attr[0] != NULL)
4738 LDAPDefaults->ldap_attr[0] = NULL;