Hi Julien,
I’m not an expert about questions regarding Ubuntu, so I can only give you my 2¢ from the perspective of a practitioning Samba debugger. I’d recommend asking the samba users mailing list and supplying the smb.conf of both domain DCs. Without that basic info, people will have no way to give you qualified feedback. In my experience, the process of gathering the information required to precisely describe the environment and the steps to reproduce the issue is very helpful in suddenly recognizing the cause of the problem. But I’m sure you know that. Now, the first question, that providing the smb.conf would help answering, is, between what kind of domains your are trying to establish a trust: NT4 or AD? I could imagine that the samba-tool is more suited for AD domains and might have issues with NT4 domains (a quick search on the mailinglists suggest that). Next, I would have a very close look at the verbatim error messages. Usually, when I debug a problem and find the solution in the end I discover that the error message actually said it all, I just didn’t know the context to understand it. Let’s take the first line “Smb_signing_good: BAD SIG”. My educated guess is that SMB signing fails. So this is very basic connectivity stuff and that tells you, that the trust your tried to create probably is no where close to been properly set up. The next error messages “failed to connect las/netlogon server” tell you that authentication could not even be attempted and as a result you get “Access denied”. From the few information you provided, I’d check two things:
-
Can both DCs resolve the FQDNs of the other? Also check that basic network stuff works, before creating the trust. Like: try an smbclient connection from one DC to the other (e.g. as Administrator), but without any trust. That stuff needs to work, otherwise trust will most probably not work either.
-
The use of the option --skip-validation is tempting, I know, but it may also hide issues. Strictly speaking: If the trust cannot be validated, then it’s probably not working in the end either.
That’s all I can say currently. If you find out the solution, feel free to add a comment or a link here, that might help others too, regardless of the specific Linux distribution.