Lines Matching refs:ipc_info
60 static smb_ipc_t ipc_info;
460 bzero(&ipc_info, sizeof (smb_ipc_t));
463 (void) smb_getsamaccount(ipc_info.user, SMB_USERNAME_MAXLEN);
464 rc = smb_get_machine_passwd_hash(ipc_info.passwd_hash, SMBAUTH_HASH_SZ);
466 *ipc_info.passwd_hash = 0;
467 (void) memset(ipc_info.passwd, 0, SMB_IPC_MAXPWDLEN);
468 ipc_info.is_cmd_ctx = B_FALSE;
487 (void) strlcpy(ipc_info.user, plain_user, sizeof (ipc_info.user));
488 (void) memcpy(ipc_info.passwd_hash, passwd_hash, SMBAUTH_HASH_SZ);
489 (void) memcpy(ipc_info.passwd, passwd, SMB_IPC_MAXPWDLEN);
503 (void) smb_getsamaccount(ipc_info.user, SMB_USERNAME_MAXLEN);
504 (void) smb_get_machine_passwd_hash(ipc_info.passwd_hash,
506 (void) memcpy(&ipc_orig_info, &ipc_info, sizeof (smb_ipc_t));
517 (void) strlcpy(ipc_info.user, ipc_orig_info.user,
518 sizeof (ipc_info.user));
519 (void) memcpy(ipc_info.passwd_hash, ipc_orig_info.passwd_hash,
520 sizeof (ipc_info.passwd_hash));
521 (void) memset(ipc_info.passwd, 0, SMB_IPC_MAXPWDLEN);
530 (void) strlcpy(buf, ipc_info.user, buflen);
542 (void) memcpy(buf, ipc_info.passwd, SMB_IPC_MAXPWDLEN);
549 (void) memcpy(buf, ipc_info.passwd_hash, SMBAUTH_HASH_SZ);
562 ipc_info.is_cmd_ctx = cflag;
576 ret = ipc_info.is_cmd_ctx;