Bug 85 - Domain Name reports incorrectly
Domain Name reports incorrectly
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
All Linux
: P2 critical
: none
Assigned To: Gerald (Jerry) Carter
: 99 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2003-05-17 10:27 UTC by John H Terpstra
Modified: 2005-11-14 09:31 UTC (History)
1 user (show)

See Also:

Only register lsa_query_info2 if we're an ADS PDC (1.00 KB, patch)
2003-05-22 07:43 UTC, Anthony Liguori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2003-05-17 10:27:02 UTC
I joined domain MIDEARTH, in smb.conf "workgroup = MIDEARTH"

After successful joining of domain, the name reported is the DNS domain name:

Host is frodo.terpstra-world.org, but NT4 domain name is MIDEARTH.

Everything works fine, but if the domain name is MIDEARTH it should NOT resolve
this to the DNS Domain Name! That would confuse the world.
Comment 1 Gerald (Jerry) Carter 2003-05-21 06:56:59 UTC
More info from abartlet at
Comment 2 Anthony Liguori 2003-05-22 07:43:05 UTC
Created attachment 13 [details]
Only register lsa_query_info2 if we're an ADS PDC

This patch forces the LSA rpc pipe only to register lsa_query_info2 if we're an

ADS PDC.  We'll probably encounter more of this in the future and this is
probably where we should be handling these types of things.
Comment 3 Gerald (Jerry) Carter 2003-05-22 07:50:54 UTC
*** Bug 99 has been marked as a duplicate of this bug. ***
Comment 4 Gerald (Jerry) Carter 2003-05-22 07:56:52 UTC
Supporting the lsa_query_info2() call makes the XP client 
think we are an ADS DC.   Aligori's patch to only enable 
certain RPC's if we are acting as an ADS DC is probably 
the best approach since more of these will come up in the 
Comment 5 Gerald (Jerry) Carter 2005-02-07 07:57:33 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.
Comment 6 Gerald (Jerry) Carter 2005-08-24 10:20:24 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 7 Gerald (Jerry) Carter 2005-11-14 09:31:37 UTC
database cleanup