openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/nss-pam-ldapd/0.9.8-r0/nss-pam-ldapd-0.9.8/nslcd/nsswitch.c
int nsswitch_shadow_uses_ldap(void)
{
    if (cached_shadow_uses_ldap == CACHED_UNKNOWN)
    {
        log_log(LOG_INFO, "(re)loading %s", NSSWITCH_FILE);
        cached_shadow_uses_ldap = shadow_uses_ldap();
        cached_shadow_lastcheck = time(NULL);
    }
    return cached_shadow_uses_ldap;
}
/* check whether shadow lookups are configured to use ldap */
check whether shadow lookups are configured to use ldap
check whether shadow lookups are configured to use ldap
int nsswitch_shadow_uses_ldap(void)
{
    if (cached_shadow_uses_ldap == CACHED_UNKNOWN)
    {
        log_log(LOG_INFO, "(re)loading %s", NSSWITCH_FILE);
        cached_shadow_uses_ldap = shadow_uses_ldap();
        cached_shadow_lastcheck = time(NULL);
    }
    return cached_shadow_uses_ldap;
}
int nsswitch_shadow_uses_ldap ( void ) { if ( cached_shadow_uses_ldap == CACHED_UNKNOWN ) { log_log ( LOG_INFO , " " , NSSWITCH_FILE ) ; cached_shadow_uses_ldap = shadow_uses_ldap ( ) ; cached_shadow_lastcheck = time ( NULL ) ; } return cached_shadow_uses_ldap ; }
check whether shadow lookups are configured to use ldap
check whether shadow lookups are configured to use ldap