[PATCH] Re: 3.0a21: "net ads lookup" for a child domain got messy output

Chere Zhou qzhou at isilon.com
Tue Feb 25 20:03:12 GMT 2003


How about this new patch (as in the attachment).  The change I made from your 
patch, is to add the while loop in pull_c_zero_string which was adopted from 
pull_dotted_string.  Now my domains are all happy.  Otherwise, a grandchild 
domain complains.

I am posting this to samba-technical list, since I though it was what you 
intended to do, and we might get more testing of this.

Chere


On Monday 24 February 2003 01:21 pm, Anthony Liguori wrote:
> Lotus Notes won't let me send patches to the samba-technical list anymore
> (I've got to get a forwarding account it seems) but I haven't tested this
> patch enough to apply it to HEAD anyway.
>
> I know it works with your traffic though as I used your dumps as test data.
> This patch gives a _lot_ more information and makes various fixes.
>
> Note: the patch you submitted to the list doesn't actually work for domain
> controllers without forests.  The 0xc0 stuff are deliminators for these
> strings.
>
> Let me know how this patch works out for you:
>
> (See attached file: net_ads_lookup.patch)
>
> Anthony Liguori
> Linux/Active Directory Interoperability
> Linux Technology Center (LTC) - IBM Austin
> E-mail: aliguor at us.ibm.com
> Phone: (512) 838-1208
> Tie Line: 678-1208
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-net-ads-lookup
Type: text/x-diff
Size: 5316 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030225/f731f041/patch-net-ads-lookup.bin


More information about the samba-technical mailing list