Bug 96 - net ads cldap incorrectly parses response (no DNS decompression)
Summary: net ads cldap incorrectly parses response (no DNS decompression)
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: net utility (show other bugs)
Version: 3.0.0preX
Hardware: Other All
: P2 normal
Target Milestone: none
Assignee: Jim McDonough
QA Contact:
Depends on:
Reported: 2003-05-19 10:39 UTC by Anthony Liguori
Modified: 2005-08-24 10:16 UTC (History)
0 users

See Also:

Patch to add DNS decompression support (9.70 KB, patch)
2003-05-19 10:41 UTC, Anthony Liguori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Liguori 2003-05-19 10:39:51 UTC
The net ads cldap initiates an MS-CLDAP exchange with a domain controller.  In
the current version of Samba (both SAMBA_3_0 and HEAD), the parsing of the
result is incorrect.  The packet is actually compressed using DNS compression
(see RFC 1035 4.1.4).
Comment 1 Anthony Liguori 2003-05-19 10:41:56 UTC
Created attachment 10 [details]
Patch to add DNS decompression support

This fix has been tested with two different domains with different topology.

The new parsing routines now identify 4 unknown fields... Hopefully more
testing will reveal what they actually are.
Comment 2 Jim McDonough 2003-05-20 06:52:26 UTC
Checked in your fix
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-07 07:57:20 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:16:23 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.