/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 93 smbd_t smbd; variable 111 smbd.s_pname = basename(argv[0]); in main() 112 openlog(smbd.s_pname, LOG_PID | LOG_NOWAIT, LOG_DAEMON); in main() 117 if ((uid = getuid()) != smbd.s_uid) { in main() 120 if (smbd.s_fg == 0) { in main() 121 smbd.s_fg = 1; in main() 166 if (smbd.s_fg) { in main() 188 while (!smbd.s_shutting_down) { in main() 212 smbd.s_shutting_down = B_TRUE; in main() 222 if (smbd.s_fg) { in main() [all …]
|
H A D | smbd_join.c | 48 extern smbd_t smbd; 71 if (smbd.s_secmode != SMB_SECMODE_DOMAIN) in smbd_dc_monitor_init() 76 rc = pthread_create(&smbd.s_dc_monitor_tid, &attr, smbd_dc_monitor, in smbd_dc_monitor_init() 97 smbd.s_dc_changed = B_TRUE; in smbd_dc_monitor_refresh() 126 if (smbd.s_dc_changed) { in smbd_dc_monitor() 127 smbd.s_dc_changed = B_FALSE; in smbd_dc_monitor() 178 smbd.s_dc_monitor_tid = 0; in smbd_dc_monitor()
|
H A D | smbd_authsvc.c | 167 rc = pthread_create(&tid, &attr, smbd_authsvc_listen, &smbd); in smbd_authsvc_start() 174 smbd.s_authsvc_tid = tid; in smbd_authsvc_start() 182 if (smbd.s_authsvc_tid != 0) { in smbd_authsvc_stop() 183 (void) pthread_kill(smbd.s_authsvc_tid, SIGTERM); in smbd_authsvc_stop() 184 smbd.s_authsvc_tid = 0; in smbd_authsvc_stop() 213 smbd.s_authsvc_sock = sock; in smbd_authsock_create() 222 if ((fid = smbd.s_authsvc_sock) != -1) { in smbd_authsock_destroy() 223 smbd.s_authsvc_sock = -1; in smbd_authsock_destroy() 262 if (smbd.s_debug) { in authsock_has_priv() 292 ls = smbd.s_authsvc_sock; in smbd_authsvc_listen()
|
H A D | smbd_spool.c | 99 extern smbd_t smbd; 116 rc = pthread_create(&smbd.s_spool_tid, &attr, smbd_spool_monitor, NULL); in smbd_spool_start() 134 if (pthread_self() == smbd.s_spool_tid) in smbd_spool_stop() 137 for (i = 0; i < 3 && smbd.s_spool_tid != 0; ++i) { in smbd_spool_stop() 138 if (pthread_kill(smbd.s_spool_tid, SIGTERM) == ESRCH) in smbd_spool_stop() 168 while (!smbd.s_shutting_down && (error_retry_cnt > 0)) { in smbd_spool_monitor() 186 smbd.s_spool_tid = 0; in smbd_spool_monitor()
|
H A D | smbd_syslog.c | 43 if (smbd.s_debug == 0 && pri == LOG_DEBUG) in smb_svc_log() 97 if (smbd.s_debug >= 3) in smb_trace()
|
H A D | Makefile | 28 PROG= smbd 51 SVCMETHOD= svc-smbd
|
H A D | smbd.h | 76 typedef struct smbd { struct 107 extern smbd_t smbd; argument
|
H A D | smbd_nicmon.c | 52 extern smbd_t smbd;
|
H A D | smbd_pipesvc.c | 299 if (smbd.s_debug) { in pipe_has_priv()
|
/illumos-gate/usr/src/cmd/smbsrv/dtrace/ |
H A D | Makefile | 28 SRCS= smbd-all.d smbd-authsvc.d smbd-doorsvc.d smbd-pipesvc.d \
|
H A D | smbd-doorsvc.d | 30 pid$target:*smbd:smbd_door_dispatch_op:entry 38 pid$target:*smbd::entry, 81 pid$target:*smbd::return, 92 pid$target:*smbd:smbd_door_dispatch_op:return
|
H A D | smbd-authsvc.d | 33 pid$target:*smbd:smbd_authsvc_work:entry 41 pid$target:*smbd::entry, 90 pid$target:*smbd::return, 101 pid$target:*smbd:smbd_authsvc_work:return
|
H A D | smbd-pipesvc.d | 33 pid$target:*smbd:pipesvc_worker:entry 41 pid$target:*smbd::entry, 93 pid$target:*smbd::return, 113 pid$target:*smbd:pipesvc_worker:return
|
H A D | smbd-all.d | 30 pid$target:*smbd::entry, 43 pid$target:*smbd::entry, 117 pid$target:*smbd::return, 128 pid$target:*smbd::return,
|
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/ |
H A D | Makefile | 52 SRCS= ${OBJS_SMBD:%.o=../smbd/%.c} \ 61 INCS += -I../smbd 108 %.o: ../smbd/%.c
|
H A D | fksmbd_log.c | 47 if (smbd.s_debug == 0 && pri > LOG_INFO) in smb_vsyslog() 74 if (smbd.s_debug == 0 && (flags & SL_NOTE)) in fakekernel_putlog()
|
H A D | fksmbd_kmod.c | 109 smb_kmod_bind(boolean_t smbd) in smb_kmod_bind() argument 113 if (!smbd) in smb_kmod_bind()
|
H A D | README | 22 where the fksmbd program corresponds to the real smbd, the library 63 dtrace -s smbd-authsvc.d -p `pgrep fksmbd` -o output 64 dtrace -s smbd-pipesvc.d -p `pgrep fksmbd` -o output
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | service-file-system-smb.p5m | 40 file path=lib/svc/method/svc-smbd mode=0555 79 file path=usr/lib/smbsrv/dtrace/smbd-all.d mode=0555 80 file path=usr/lib/smbsrv/dtrace/smbd-authsvc.d mode=0555 81 file path=usr/lib/smbsrv/dtrace/smbd-doorsvc.d mode=0555 82 file path=usr/lib/smbsrv/dtrace/smbd-pipesvc.d mode=0555 89 file path=usr/lib/smbsrv/smbd mode=0555 101 file path=usr/share/man/man8/smbd.8
|
/illumos-gate/usr/src/cmd/smbsrv/ |
H A D | Makefile | 28 SUBDIRS = smbadm smbd smbstat dtrace fksmbd bind-helper \
|
/illumos-gate/usr/src/cmd/ |
H A D | Makefile.check | 129 smbsrv/smbd \
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_kmod.c | 59 smb_kmod_bind(boolean_t smbd) in smb_kmod_bind() argument 66 if (smbd) { in smb_kmod_bind()
|
/illumos-gate/exception_lists/ |
H A D | cddlchk | 47 usr/src/cmd/smbsrv/smbd/eventlog.dll
|
/illumos-gate/usr/src/man/man8/ |
H A D | Makefile | 438 smbd.8 \
|
/illumos-gate/usr/src/lib/libbsm/ |
H A D | audit_event.txt | 470 6244:AUE_smbd_session:smbd(8) session setup:lo 471 6245:AUE_smbd_logoff:smbd(8) session logoff:lo
|