Lines Matching refs:info2

650  * On success, the caller expects that the info2, fi2 and entries_read
663 param->info.ru.info2 = NDR_NEW(mxa, struct mslm_NetFileInfo2);
664 if (param->info.ru.info2 == NULL)
680 param->info.ru.info2->fi2 = fi2;
701 param->info.ru.info2->entries_read = entries_read;
844 struct mslm_NetShareInfo_2 *info2;
896 info2 = &info->nsg_info2;
897 param->result.ru.info2 = info2;
904 info2->shi2_netname = netname;
905 info2->shi2_comment = comment;
906 info2->shi2_path = path;
907 info2->shi2_passwd = 0;
908 info2->shi2_type = si.shr_type;
909 info2->shi2_permissions = 0;
910 info2->shi2_max_uses = SHI_USES_UNLIMITED;
911 info2->shi2_current_uses = 0;
1068 struct mslm_NetShareInfo_2 *info2;
1117 info2 = (struct mslm_NetShareInfo_2 *)param->result.ru.info2;
1118 info.nss_netname = (char *)info2->shi2_netname;
1119 info.nss_comment = (char *)info2->shi2_comment;
1120 info.nss_path = (char *)info2->shi2_path;
1121 info.nss_type = info2->shi2_type;
1502 struct mslm_SESSION_INFO_2 *info2 = info->entries;
1558 info2->sesi2_cname = NDR_STRDUP(mxa, workstation);
1559 info2->sesi2_uname = NDR_STRDUP(mxa, account);
1561 if (info2->sesi2_cname == NULL ||
1562 info2->sesi2_uname == NULL)
1565 info2->sesi2_nopens = user->ui_numopens;
1566 info2->sesi2_time = logon_time;
1567 info2->sesi2_itime = 0;
1568 info2->sesi2_uflags = flags;
1569 info2->sesi2_cltype_name = (uint8_t *)"";
1570 ++info2;
1971 struct mslm_NetShareInfo_2 *info2;
1989 info2 = (struct mslm_NetShareInfo_2 *)param->info.un.info2;
1996 info2 = (struct mslm_NetShareInfo_2 *)info502;
2005 if (info2->shi2_netname == NULL || info2->shi2_path == NULL) {
2011 if (srvsvc_share_is_restricted((char *)info2->shi2_netname)) {
2017 if (info2->shi2_comment == NULL)
2018 info2->shi2_comment = (uint8_t *)"";
2025 parm_stat = srvsvc_get_realpath((const char *)info2->shi2_path,
2036 param->status = srvsvc_sa_add((char *)info2->shi2_netname, realpath,
2037 (char *)info2->shi2_comment);
2039 status = smb_share_lookup((char *)info2->shi2_netname, &si);
2344 struct mslm_NetShareInfo_2 *info2;
2377 info2 = (struct mslm_NetShareInfo_2 *)infop;
2378 info2[i].shi2_netname = netname;
2379 info2[i].shi2_comment = comment;
2380 info2[i].shi2_path = path;
2381 info2[i].shi2_type = si->shr_type;
2382 info2[i].shi2_permissions = 0;
2383 info2[i].shi2_max_uses = SHI_USES_UNLIMITED;
2384 info2[i].shi2_current_uses = 0;
2385 info2[i].shi2_passwd = passwd;