[PATCH] Fix tsocket on solaris

Andrew Bartlett abartlet at samba.org
Wed Apr 7 15:56:45 MDT 2010


On Wed, 2010-04-07 at 15:35 +0200, Bernd Markgraf wrote:
> 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...

Can you try again with metze's most recent patch?

Also, so we can reproduce, what is the exact version of Solaris that
causes the problem?

Thanks,

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100408/0e3f72c3/attachment.pgp>


More information about the samba-technical mailing list