10:56:11 Yo 10:56:39 installed samba4 from pkgsrc but I'm not able to connect to the shares from macOS, I just get.. "Connection failed" 10:56:56 something special I need to do compared to samba3 setup? 10:57:22 my share allows guest access and I've got guest user defined etc. 10:59:00 erhm this is not promising: 10:59:00 [root@surdo ~]# smbclient -L 192.168.1.5 -U jussi 10:59:00 abort_handler_s: memset_s: n > smax 10:59:00 Abort (core dumped) 12:09:48 jzu: pstack on the core would be useful to see where it's coming from, they use memset_s a lot 12:10:52 though I can immediately see at least one place where n and smax aren't the same 12:13:44 jperkin: https://p.ip.fi/Zf3c 12:16:23 maybe I've not set up Samba correctly as I haven't done anything else than added share which guest can access, that's all. 12:18:55 possibly, but that wouldn't explain the runtime abort, the stack clearly shows n > smax but the code says they should be the same 12:21:03 running on latest base-64-lts, samba-4.17.4 12:21:31 went from 2015-something and samba3 for samb4, looking some read performance gains here :) 12:22:50 ah ok I'm looking at trunk so 4.18.6, lemme check 2022Q4 12:26:13 yeh looks like it was fixed in this commit: https://github.com/heimdal/heimdal/commit/88ea8039e36ef2759f9a71c4314a34799cee7c25 12:26:47 I'll look at backporting samba from turnk 12:26:52 thanks! 12:27:10 I can also switch over to latest base-64 if you're busy :) 12:27:30 if you're able to verify first that the trunk version works as expected that'd be great 12:27:42 sure I'll do that 12:41:05 now the client is working, still unable to access with guest though :) 12:41:09 but a step forward 12:45:57 right so it's something in the way how macOS talks to the Samba server, as I'm able to login from the CLI on SmartOS: 12:46:00 # smbclient //192.168.1.5/work 12:46:03 Password for [MYGROUP\root]: 12:46:05 Anonymous login successful 12:51:57 right, this made mounting possible: https://coderwall.com/p/jbvc0a/guest-samba-access-on-mac-os-x 12:52:06 still not able to list shares in Network on macOS but oh well :) 12:57:15 you might need some dns-sd for that, e.g. dns-sd -R SmartOS _smb._tcp local 445 13:00:24 I can see server there but it doesn't list shares, weird. 13:15:36 ah now the Guest login works through Finder, showing the shares. 13:29:53 i need to get back to mdns w/ smb 13:30:44 i have a branch where if the mdns service is running, smb will automatically register w/ it to advertise 13:31:13 so no dns-sd stuff is necessary 22:31:45 Does https://github.com/juicedata/juicefs build under smartos? 22:32:04 Before I try to give it the ole' college go