Script started on Tue Jul 19 14:23:25 2016 root@ecserv30:~ # uname -a FreeBSD ecserv30.uwaterloo.ca 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r302560: Tue Jul 12 01:19:08 EDT 2016 root@ecserv30.uwaterloo.ca:/usr/obj/usr/src/sys/GENERIC amd64 root@ecserv30:~ # pkg version -vx samba samba43-4.3.9 = up-to-date with port root@ecserv30:~ # grep "^ray" ^C root@ecserv30:~ # gre[p "^ray:" /etc/passwd ray:*:23864:20:Ray White - Engineering Computing,PHY 3009,x35028:/u4/ray:/bin/csh root@ecserv30:~ # pw mod user ray -d /u1/ray root@ecserv30:~ # ls -l /u1/ray total 4 -rw-r--r-- 1 root staff 17 Mar 14 14:40 .forward drwx------ 5 ray staff 5 Mar 14 14:42 My Documents root@ecserv30:~ # kinit ray ray@NEXUS.UWATERLOO.CA's Password: kinit: Password incorrect root@ecserv30:~ # kinit ray ray@NEXUS.UWATERLOO.CA's Password: root@ecserv30:~ # klist Credentials cache: FILE:/tmp/krb5cc_0 Principal: ray@NEXUS.UWATERLOO.CA Issued Expires Principal Jul 19 14:25:22 2016 Jul 20 00:25:22 2016 krbtgt/NEXUS.UWATERLOO.CA@NEXUS.UWATERLOO.CA root@ecserv30:~ # kdestroy root@ecserv30:~ # zpool istlist NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT ecserv30 492G 42.4G 450G - 17% 8% 1.00x ONLINE - u1 4.34T 93.2M 4.34T - 0% 0% 1.00x ONLINE - u2 4.34T 2.59T 1.76T - 42% 59% 1.00x ONLINE - u3 4.34T 2.50T 1.84T - 40% 57% 1.00x ONLINE - u4 4.34T 2.68T 1.66T - 39% 61% 1.00x ONLINE - root@ecserv30:~ # gdb //usr/local/etc/date Tue Jul 19 14:26:00 EDT 2016 root@ecserv30:~ # /usr/local/etc/rc.d/samba_servserer start Performing sanity check on Samba configuration: OK Starting nmbd. Starting smbd. Starting winbindd. root@ecserv30:~ # gdpb /usr/local/sbin/smdbd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) list 1075 /* Declare prototype for build_options() to avoid having to run it through 1076 mkproto.h. Mixing $(builddir) and $(srcdir) source files in the current 1077 prototype generation system is too complicated. */ 1078 1079 extern void build_options(bool screen); 1080 1081 int main(int argc,const char *argv[]) 1082 { 1083 /* shall I run as a daemon */ 1084 bool is_daemon = false; (gdb) quit root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ Service pid machine Connected at ------------------------------------------------------- No locked files root@ecserv30:~ # date Tue Jul 19 14:28:33 EDT 2016 root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ 8439 ray staff apteryx3 (ipv4:129.97.50.53:27298) NT1 Service pid machine Connected at ------------------------------------------------------- ray 8439 apteryx3 Tue Jul 19 14:27:31 2016 No locked files root@ecserv30:~ # ls -l /u1/ray total 4 -rw-r--r-- 1 root staff 17 Mar 14 14:40 .forward drwx------ 5 ray staff 5 Mar 14 14:42 My Documents drwxr-xr-x 2 ray staff 2 Jul 19 14:28 abc root@ecserv30:~ # ls -l /u1/ray total 4 -rw-r--r-- 1 root staff 17 Mar 14 14:40 .forward drwx------ 5 ray staff 5 Mar 14 14:42 My Documents root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ Service pid machine Connected at ------------------------------------------------------- No locked files root@ecserv30:~ # pw mod user ray -d /u4/ray root@ecserv30:~ # ls- -=l /u4/ray total 2 drwx------ 5 ray staff 5 Mar 15 13:33 My Documents root@ecserv30:~ # date Tue Jul 19 14:30:43 EDT 2016 root@ecserv30:~ # ls -l /u4/ray total 3 drwx------ 5 ray staff 5 Mar 15 13:33 My Documents drwxr-xr-x 2 ray staff 2 Jul 19 14:31 def root@ecserv30:~ # date Tue Jul 19 14:32:23 EDT 2016 root@ecserv30:~ # ls -l /u4/ray total 2 drwx------ 5 ray staff 5 Mar 15 13:33 My Documents root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ 8463 ray staff apteryx3 (ipv4:129.97.50.53:41267) NT1 Service pid machine Connected at ------------------------------------------------------- ray 8463 apteryx3 Tue Jul 19 14:31:23 2016 No locked files root@ecserv30:~ # gdb /usr/local/sbin/smdbbd 8463 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Attaching to program: /usr/local/sbin/smbd, process 8463 0x0000000805911eea in ?? () (gdb) where     bt #0 0x0000000805911eea in ?? () #1 0x0000000801461536 in ?? () #2 0x0000000801461500 in ?? () #3 0x000000081266f300 in ?? () #4 0x00007fffffffe9b8 in ?? () #5 0x0000000001031fa3 in ?? () #6 0x0000000801d8498a in ?? () #7 0x0000000801d8498a in ?? () #8 0x00007fffffffdfb0 in ?? () #9 0x0000000803c8591b in ?? () #10 0x0000000000002000 in .dynsym () Error accessing memory address 0xb40: Bad address. (gdb) wh  bt  list Error accessing memory address 0x7f20: Bad address. (gdb) where #0 0x0000000805911eea in ?? () #1 0x0000000801461536 in ?? () #2 0x0000000801461500 in ?? () #3 0x000000081266f300 in ?? () #4 0x00007fffffffe9b8 in ?? () #5 0x0000000001031fa3 in ?? () #6 0x0000000801d8498a in ?? () #7 0x0000000801d8498a in ?? () #8 0x00007fffffffdfb0 in ?? () #9 0x0000000803c8591b in ?? () #10 0x0000000000002000 in .dynsym () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/local/sbin/smbd, process 8463 root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ 8463 ray staff apteryx3 (ipv4:129.97.50.53:41267) NT1 Service pid machine Connected at ------------------------------------------------------- ray 8463 apteryx3 Tue Jul 19 14:31:23 2016 No locked files root@ecserv30:~ # date Tue Jul 19 14:33:54 EDT 2016 root@ecserv30:~ # //uls -l /u4/ryaay total 2 drwx------ 5 ray staff 5 Mar 15 13:33 My Documents root@ecserv30:~ # smbstatus Samba version 4.3.9 PID Username Group Machine Protocol Version ------------------------------------------------------------------------------ Service pid machine Connected at ------------------------------------------------------- No locked files root@ecserv30:~ # /usr/locate/etc/rl/etc/rc.d/samba_ersererver stop Stopping winbindd. Waiting for PIDS: 8431. Stopping smbd. Waiting for PIDS: 8425. Stopping nmbd. Waiting for PIDS: 8421. root@ecserv30:~ # exit exit Script done on Tue Jul 19 14:35:29 2016