Attached find two sniffs: One is the failed attempt to join a Samba domain with NTLM LDAP sealing, the other one is the attempt to store the resulting sniff (join.cap) on \\10.0.2.2\netlogon\join.cap. Unfortunately, during this attempt Samba4 crashed. Also find a valgrind log of the crash attached. Volker
Created attachment 4402 [details] failed attempt to join a domain
Created attachment 4403 [details] Capture leading to the Samba4 crash
Created attachment 4404 [details] valgrind log of the whole session
Created attachment 4405 [details] smb.conf
So is this fixed with the commit (57afa1edebe38ea48be5fc074a8284c762e35e17) from metze and you (Volker)?
No. 57afa1edebe38ea4 fixes the failure that is obvious in https://bugzilla.samba.org/attachment.cgi?id=4402. It does not fix the crash I wanted to point out with this bug report. If needed, I can file another bug report without the mentioning of the join failure at all. Volker
Comment on attachment 4402 [details] failed attempt to join a domain Ok, so this is solved.
Ok, do I have to open up a new bug report? I thought that the *complete* sniff might be useful, that's why I uploaded everything which unfortunately ended up in two capture files. If you need something different, please tell me. Thanks, Volker
Comment on attachment 4402 [details] failed attempt to join a domain Ah, so I got it wrong. But is it also possible to get a full stacktrace of the crash (in gdb)? Sometimes it helps faster than the network captures.
Created attachment 4406 [details] bt full priv = (struct unixuid_private *) 0x0 That's the problem. That one is dereferenced in line 249 of vfs_unixuid.c. Volker
Thanks Volker. This looks like a fairly simple case of 'don't tear down what you have not set up'. The connect failed (because it could not find Samba4's winbindd at line ntvfs_unixuid.c:306), and the only question I have remaining to look into is where to fix it. Thanks for the report!
Just to make sure: The crash happened with the short "server services" parameter commented out. So this was the default etc/smb.conf that had fell out of provision. Volker
This crash should be fixed by a patch of abartlet.
Which one? Volker
See URL