dcerpc_sock.c for join fail

yebing163 yebing163 at gmail.com
Tue Dec 25 19:45:55 MST 2012


Sorry for my un-professional.

I filetered the packets. samba(192.168.66.144), PDC(192.168.77.203).

Join fail at fram no 110, the dns response 192.168.55.203 ahead 77.203, and this ip(55.203) is offline.

Normally, samba should try 77.203 when 55.203 failed. Bug it dont. the patch is for this(work under samba4-rc6).

Sorry again.

From: Andrew Bartlett
Date: 2012-12-26 05:22
To: yebing163
Subject: Re: dcerpc_sock.c for join fail
On Tue, 2012-12-25 at 15:40 +0800, yebing163 wrote:
>  
> hi ,
>  
> When i join samba to a windows domain. The dns for DC response 2
> record. the first ip is offline. Then join fail.
>  
> The dcerpc_sock.c fix it. This may give you a hint.

I'm sorry, I'm confused.  Do you mean to say that you made a change to
dcerpc_sock.c that fixed this?  

If so, can you post it as a patch (diffu -u style) not a whole C file,
and CC samba-technical at lists.samba.org?

There are more details on:

https://wiki.samba.org/index.php/Contribute#How_to_Provide_C_Patches_for_Samba

All I see in the network trace are failures to talk to the DNS server.

Sorry,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcerpc_sock_rc6.patch
Type: application/octet-stream
Size: 2007 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121226/dc2f21c8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: join fail2.pcap
Type: application/octet-stream
Size: 31386 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121226/dc2f21c8/attachment-0001.obj>


More information about the samba-technical mailing list