Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c590 smb_joininfo_t jdi; in smbadm_join_workgroup() local
595 bzero(&jdi, sizeof (jdi)); in smbadm_join_workgroup()
596 jdi.mode = SMB_SECMODE_WORKGRP; in smbadm_join_workgroup()
597 (void) strlcpy(jdi.domain_name, workgroup, sizeof (jdi.domain_name)); in smbadm_join_workgroup()
598 (void) strtrim(jdi.domain_name, " \t\n"); in smbadm_join_workgroup()
600 if (smb_name_validate_workgroup(jdi.domain_name) != ERROR_SUCCESS) { in smbadm_join_workgroup()
605 if (confirm && !smbadm_join_confirm(jdi.domain_name)) in smbadm_join_workgroup()
609 if ((status = smb_join(&jdi, &jdres)) != NT_STATUS_SUCCESS) { in smbadm_join_workgroup()
611 jdi.domain_name, xlate_nt_status(status)); in smbadm_join_workgroup()
615 (void) printf(gettext("Successfully joined %s\n"), jdi.domain_name); in smbadm_join_workgroup()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c822 smb_joininfo_t jdi; in smbd_dop_join() local
825 bzero(&jdi, sizeof (smb_joininfo_t)); in smbd_dop_join()
829 smb_joininfo_xdr, &jdi) != 0) in smbd_dop_join()
832 smbd_join(&jdi, &jdres); in smbd_dop_join()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c147 smb_join(smb_joininfo_t *jdi, smb_joinres_t *jres) in smb_join() argument
151 rc = smb_door_call(SMB_DR_JOIN, jdi, smb_joininfo_xdr, in smb_join()