Print this page
NEX-18380 Catch up with illumos SMB fix 9769
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
9769 SMB domain logon fails with I18N user name
9774 libmlrpc changes in 1575 missed some things
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Robert Mustacchi <rm@joyent.com>
SMB-114 Should deliver SMB dtrace scripts

*** 9,19 **** * source. A copy of the CDDL is also available via the Internet at * http://www.illumos.org/license/CDDL. */ /* ! * Copyright 2014 Nexenta Systems, Inc. All rights reserved. */ /* * User-level dtrace for smbd * Usage: dtrace -s smbd-pipesvc.d -p `pgrep smbd` --- 9,19 ---- * source. A copy of the CDDL is also available via the Internet at * http://www.illumos.org/license/CDDL. */ /* ! * Copyright 2018 Nexenta Systems, Inc. All rights reserved. */ /* * User-level dtrace for smbd * Usage: dtrace -s smbd-pipesvc.d -p `pgrep smbd`
*** 23,33 **** self int trace; self int mask; /* ! * The smbd_authsvc_work() function is a good place to start tracing * to watch RPC service actions. This worker handles all activity * for a given named pipe instance, including the payload from all * SMB read/write requests on this endpoint. */ pid$target:*smbd:pipesvc_worker:entry --- 23,33 ---- self int trace; self int mask; /* ! * The pipesvc_worker() function is a good place to start tracing * to watch RPC service actions. This worker handles all activity * for a given named pipe instance, including the payload from all * SMB read/write requests on this endpoint. */ pid$target:*smbd:pipesvc_worker:entry
*** 38,48 **** /* * If traced and not masked, print entry/return */ pid$target:*smbd::entry, pid$target:libmlsvc.so.1::entry, ! pid$target:libmlrpc.so.1::entry, pid$target:libsmbns.so.1::entry, pid$target:libsmb.so.1::entry /self->trace > 0 && self->mask == 0/ { printf("\t0x%x", arg0); --- 38,48 ---- /* * If traced and not masked, print entry/return */ pid$target:*smbd::entry, pid$target:libmlsvc.so.1::entry, ! pid$target:libmlrpc.so.2::entry, pid$target:libsmbns.so.1::entry, pid$target:libsmb.so.1::entry /self->trace > 0 && self->mask == 0/ { printf("\t0x%x", arg0);
*** 90,100 **** self->mask--; } pid$target:*smbd::return, pid$target:libmlsvc.so.1::return, ! pid$target:libmlrpc.so.1::return, pid$target:libsmbns.so.1::return, pid$target:libsmb.so.1::return /self->trace > 0 && self->mask == 0/ { printf("\t0x%x", arg1); --- 90,100 ---- self->mask--; } pid$target:*smbd::return, pid$target:libmlsvc.so.1::return, ! pid$target:libmlrpc.so.2::return, pid$target:libsmbns.so.1::return, pid$target:libsmb.so.1::return /self->trace > 0 && self->mask == 0/ { printf("\t0x%x", arg1);
*** 102,112 **** /* * This function in libmlrpc prints out lots of internal state. * Comment it out if you don't want that noise. */ ! pid$target:libmlrpc.so.1:ndo_trace:entry /self->trace > 0 && self->mask == 0/ { printf("ndo_trace: %s", copyinstr(arg0)); } --- 102,112 ---- /* * This function in libmlrpc prints out lots of internal state. * Comment it out if you don't want that noise. */ ! pid$target:libmlrpc.so.2:ndo_trace:entry /self->trace > 0 && self->mask == 0/ { printf("ndo_trace: %s", copyinstr(arg0)); }