&& have_chap_secret(our_name, remote_name, (u_int32_t)0);
&& have_chap_secret(user, remote_name, (u_int32_t)0);
auth_reset(unit)    int unit;{    lcp_options *go = &lcp_gotoptions[unit];    lcp_options *ao = &lcp_allowoptions[0];    ipcp_options *ipwo = &ipcp_wantoptions[0];    u_int32_t remote;        ao->neg_upap = !refuse_pap && (passwd[0] != 0 || get_upap_passwd(NULL));    ao->neg_chap = !refuse_chap        && have_chap_secret(our_name, remote_name, (u_int32_t)0);        if (go->neg_upap && !uselogin && !have_upap_secret())        go->neg_upap = 0;    if (go->neg_chap) {        remote = ipwo->accept_remote? 0: ipwo->hisaddr;        if (!have_chap_secret(remote_name, our_name, remote))            go->neg_chap = 0;    }}