/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_logon.c | 89 au_tid_addr_t termid; local 147 (void) memset(&termid, 0, sizeof (au_tid_addr_t)); 148 termid.at_port = user_info->lg_local_port; 151 termid.at_addr[0] = user_info->lg_clnt_ipaddr.a_ipv4; 152 termid.at_type = AU_IPv4; 154 bcopy(&user_info->lg_clnt_ipaddr.a_ip, termid.at_addr, 156 termid.at_type = AU_IPv6; 158 adt_set_termid(ah, &termid);
|
/illumos-gate/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 185 adt_termid_t *termid = NULL; local 285 if (adt_load_ttyname(tty, &termid) != 0) { 290 * to a termid -- it will be 310 if (adt_load_hostname(rhost, &termid) != 0) { 333 apwd.pw_uid, apwd.pw_gid, termid, ADT_NEW) != 0) { 361 pwd.pw_uid, pwd.pw_gid, termid, ADT_NEW) != 0) { 404 if (termid != NULL) 405 free(termid);
|
/illumos-gate/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 303 adt_termid_t *termid; local 313 if (adt_load_hostname(hostname, &termid)) { 315 } else if (adt_set_user(state, euid, egid, ruid, rgid, termid, 317 free(termid); 321 free(termid);
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 778 au_tid_addr_t *termid; local 782 if (adt_load_hostname(NULL, (adt_termid_t **)&termid) < 0) { 795 audit_info.ai_termid = *termid; 805 free(termid); 809 free(termid);
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_comm.c | 1588 adt_termid_t *termid; local 1590 if (adt_load_termid(conn->conn_sock, &termid) != 0) { 1596 ADT_NO_ATTRIB, ADT_NO_ATTRIB, termid, ADT_NEW) != 0) { 1598 free(termid); 1601 free(termid);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt.c | 514 adt_get_termid(const adt_session_data_t *session_data, au_tid_addr_t *termid) argument 518 (void) memset(termid, 0, sizeof (au_tid_addr_t)); 519 termid->at_type = AU_IPv4; 524 *termid = 531 const au_tid_addr_t *termid) 539 *termid; 593 au_tid_addr_t *termid) 596 termid->at_port = ((peer->sin6_port<<16) | (sock->sin6_port)); 597 termid->at_type = AU_IPv6; 598 (void) memcpy(termid 530 adt_set_termid(const adt_session_data_t *session_data, const au_tid_addr_t *termid) argument 592 adt_do_ipv6_address(struct sockaddr_in6 *peer, struct sockaddr_in6 *sock, au_tid_addr_t *termid) argument 602 adt_do_ipv4_address(struct sockaddr_in *peer, struct sockaddr_in *sock, au_tid_addr_t *termid) argument 622 adt_load_termid(int fd, adt_termid_t **termid) argument 822 adt_load_hostname(const char *hostname, adt_termid_t **termid) argument 883 adt_load_ttyname(const char *ttyname, adt_termid_t **termid) argument 1525 adt_newuser(adt_internal_state_t *state, uid_t ruid, au_tid_addr_t *termid) argument 1607 adt_set_user(const adt_session_data_t *session_data, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, const adt_termid_t *termid, enum adt_user_context user_context) argument 1712 au_tid_addr_t termid, *tid; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 162 adt_termid_t *termid; local 166 if ((rc = adt_load_termid(fd, &termid)) == 0) { 169 termid, ADT_SETTID)) == 0) 171 free(termid);
|
H A D | in.telnetd.c | 2171 adt_termid_t *termid; local 2175 if ((rc = adt_load_termid(sock, &termid)) == 0) { 2178 termid, ADT_SETTID)) == 0) 2180 free(termid);
|