Bug 371 - ads_startup() does not allow you to use a specified realm
Summary: ads_startup() does not allow you to use a specified realm
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.0preX
Hardware: Other other
: P2 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
Depends on:
Reported: 2003-08-29 09:36 UTC by Gerald (Jerry) Carter (dead mail address)
Modified: 2005-08-24 10:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Gerald (Jerry) Carter (dead mail address) 2003-08-29 09:36:52 UTC
If you define a realm in smb.conf but not a workgroup, then net ads join
fails to find a DC (in most cases).  reported by Axel Suppantschitsch

> [2003/08/19 14:39:56, 6] libads/ldap.c:ads_find_dc(147)
>   ads_find_dc: looking for domain 'WORKGROUP'
> [2003/08/19 14:39:56, 8] libsmb/namequery.c:get_sorted_dc_list(1215)
>   get_sorted_dc_list: attempting lookup using [lmhosts wins host bcast]
> [2003/08/19 14:39:56, 10] libsmb/namequery.c:internal_resolve_name(989)
>   internal_resolve_name: looking up WORKGROUP#1c
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-09-04 16:02:10 UTC
fixed by always using lp_realm() from smb.conf.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 09:04:57 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:20:33 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.