Bug 6596 - GetDomainInfo return domainname instead of full dns hostname of the workstation
Summary: GetDomainInfo return domainname instead of full dns hostname of the workstation
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Matthias Dieter Wallnöfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 05:42 UTC by Matthieu Patou
Modified: 2009-08-03 02:50 UTC (History)
0 users

See Also:


Attachments
Patch proposal in order to fix the pb (2.25 KB, patch)
2009-08-01 05:46 UTC, Matthieu Patou
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2009-08-01 05:42:44 UTC
As described and verified by disecting w2K3 traffic, the field dns_hostname should contain the dnshostname of the workstation.
Comment 1 Matthieu Patou 2009-08-01 05:46:46 UTC
Created attachment 4498 [details]
Patch proposal in order to fix the pb

This patch fetch the dNSHostName attribute from the database using the workstation name.
Comment 2 Matthias Dieter Wallnöfer 2009-08-01 09:16:17 UTC
Thanks, for pointing this out.
It will be fixed when my "compInfo" branch is merged.
Comment 3 Matthias Dieter Wallnöfer 2009-08-03 02:37:09 UTC
I think the version numbers for SAMBA 4 Alpha/TP aren't worth to keep since we don't support any versions longer yet. Because all bugs filed will be propagated from version to version until they are fixed (for now at least) this field isn't necessary yet.
Comment 4 Matthias Dieter Wallnöfer 2009-08-03 02:50:02 UTC
Should be fixed in "master".