Lines Matching defs:domain
59 srvsvc_open(char *server, char *domain, char *username, mlsvc_handle_t *handle)
63 if (server == NULL || domain == NULL) {
68 domain = di.d_primary.di_nbname;
71 if (ndr_rpc_bind(handle, server, domain, username, "SRVSVC") < 0)
152 srvsvc_net_share_enum(char *server, char *domain, uint32_t level,
172 if (srvsvc_open(server, domain, user, &handle) != 0)
237 srvsvc_net_share_get_info(char *server, char *domain, char *netname,
254 if (srvsvc_open(server, domain, user, &handle) != 0)
331 srvsvc_net_files_enum(char *server, char *domain, char *basepath,
348 rc = srvsvc_open(server, domain, user, &handle);
456 srvsvc_net_connect_enum(char *server, char *domain, char *qualifier,
476 rc = srvsvc_open(server, domain, user, &handle);
580 srvsvc_net_session_enum(char *server, char *domain, char *clientname,
595 rc = srvsvc_open(server, domain, user, &handle);
660 srvsvc_net_server_getinfo(char *server, char *domain,
671 if (srvsvc_open(server, domain, user, &handle) != 0)
799 srvsvc_net_remote_tod(char *server, char *domain, struct timeval *tv,
811 rc = srvsvc_open(server, domain, user, &handle);
884 srvsvc_net_test(char *server, char *domain, char *netname)
890 (void) smb_tracef("%s %s %s", server, domain, netname);
894 domain = di.d_primary.di_nbname;
897 if (srvsvc_net_server_getinfo(server, domain, &svinfo) == 0) {
908 if (srvsvc_net_share_get_info(server, domain, netname,