Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c525 smb_joininfo_t jdi; in smbadm_join_workgroup() local
528 bzero(&jdi, sizeof (jdi)); in smbadm_join_workgroup()
529 jdi.mode = SMB_SECMODE_WORKGRP; in smbadm_join_workgroup()
530 (void) strlcpy(jdi.domain_name, workgroup, sizeof (jdi.domain_name)); in smbadm_join_workgroup()
531 (void) strtrim(jdi.domain_name, " \t\n"); in smbadm_join_workgroup()
533 if (smb_name_validate_workgroup(jdi.domain_name) != ERROR_SUCCESS) { in smbadm_join_workgroup()
538 if (!smbadm_join_prompt(jdi.domain_name)) in smbadm_join_workgroup()
541 if ((status = smb_join(&jdi)) != NT_STATUS_SUCCESS) { in smbadm_join_workgroup()
543 jdi.domain_name, xlate_nt_status(status)); in smbadm_join_workgroup()
547 (void) printf(gettext("Successfully joined %s\n"), jdi.domain_name); in smbadm_join_workgroup()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c116 smb_join(smb_joininfo_t *jdi) in smb_join() argument
121 if (jdi == NULL) in smb_join()
124 rc = smb_door_call(SMB_DR_JOIN, jdi, smb_joininfo_xdr, in smb_join()
/titanic_41/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c686 smb_joininfo_t jdi; in smbd_dop_join() local
689 bzero(&jdi, sizeof (smb_joininfo_t)); in smbd_dop_join()
692 smb_joininfo_xdr, &jdi) != 0) in smbd_dop_join()
695 status = smbd_join(&jdi); in smbd_dop_join()