Home
last modified time | relevance | path

Searched refs:jdi (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c531 smb_joininfo_t jdi; in smbadm_join_workgroup() local
536 bzero(&jdi, sizeof (jdi)); in smbadm_join_workgroup()
537 jdi.mode = SMB_SECMODE_WORKGRP; in smbadm_join_workgroup()
538 (void) strlcpy(jdi.domain_name, workgroup, sizeof (jdi.domain_name)); in smbadm_join_workgroup()
539 (void) strtrim(jdi.domain_name, " \t\n"); in smbadm_join_workgroup()
541 if (smb_name_validate_workgroup(jdi.domain_name) != ERROR_SUCCESS) { in smbadm_join_workgroup()
546 if (prompt && !smbadm_join_prompt(jdi.domain_name)) in smbadm_join_workgroup()
549 if ((status = smb_join(&jdi, &jdres)) != NT_STATUS_SUCCESS) { in smbadm_join_workgroup()
551 jdi.domain_name, xlate_nt_status(status)); in smbadm_join_workgroup()
555 (void) printf(gettext("Successfully joined %s\n"), jdi.domain_name); in smbadm_join_workgroup()
[all …]
/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c672 smb_joininfo_t jdi; in smbd_dop_join() local
675 bzero(&jdi, sizeof (smb_joininfo_t)); in smbd_dop_join()
679 smb_joininfo_xdr, &jdi) != 0) in smbd_dop_join()
682 smbd_join(&jdi, &jdres); in smbd_dop_join()
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c116 smb_join(smb_joininfo_t *jdi, smb_joinres_t *jres) in smb_join() argument
120 rc = smb_door_call(SMB_DR_JOIN, jdi, smb_joininfo_xdr, in smb_join()