関数 | |
static void | pwd_init (struct pwd_info *pwd) |
void | pwd_set_cleartext (struct pwd_info *pwd, const char *clr) |
void | pwd_get_cleartext (struct pwd_info *pwd, fstring clr) |
static void pwd_init | ( | struct pwd_info * | pwd | ) | [static] |
pwd_cache.c の 27 行で定義されています。
参照先 pwd_info::null_pwd・pwd_info::password.
参照元 pwd_set_cleartext().
00028 { 00029 memset((char *)pwd->password , '\0', sizeof(pwd->password )); 00030 00031 pwd->null_pwd = True; /* safest option... */ 00032 }
void pwd_set_cleartext | ( | struct pwd_info * | pwd, | |
const char * | clr | |||
) |
pwd_cache.c の 38 行で定義されています。
参照先 pwd_info::cleartext・pwd_info::null_pwd・pwd_info::password・pwd_init().
参照元 cli_init_creds()・cli_rpc_pipe_open_ntlmssp_internal().
00039 { 00040 pwd_init(pwd); 00041 if (clr) { 00042 fstrcpy(pwd->password, clr); 00043 pwd->null_pwd = False; 00044 } else { 00045 pwd->null_pwd = True; 00046 } 00047 00048 pwd->cleartext = True; 00049 }
pwd_cache.c の 55 行で定義されています。
参照先 pwd_info::cleartext・pwd_info::password.
参照元 cm_connect_lsa()・cm_connect_sam().
00056 { 00057 if (pwd->cleartext) 00058 fstrcpy(clr, pwd->password); 00059 else 00060 clr[0] = 0; 00061 00062 }