[PATCH] Fix tsocket on solaris

Bernd Markgraf bernd.markgraf at med.ovgu.de
Wed Apr 7 07:35:50 MDT 2010


On Wed, 2010-04-07 at 22:14 +1000, Andrew Bartlett wrote:
> Solaris seems to error out (EINVAL) if sendto has a socklen parameter
> that isn't the same as the sizeof() for the relevant socket type.
> 
> That is, we can't use sizeof(struct sockaddr_storage).
> 
> This does not show up on the build farm, as we use socket_wrapper, which
> plays other games.
does configure.developer use the socket_wrapper as well? If so I would
try that as well. 
Using this patch I now even don't see the cldap netlogon request reach
the S4 server. Attaching a debugger and setting a breakpoint to
cldapd_netlogon_request doesn't break so it seems I don't run to that
point when I try to join the S4 domain. I do see the request being sent
in the network trace though. Instead I now see a "Node status reply
being sent to xxx.xxx.xxx.xxx" but that packet doesn't seem to hit the
wire...

  Bernd



More information about the samba-technical mailing list