Bug 2450 - winbindd can not properly work with NT 3.51 PDC
Summary: winbindd can not properly work with NT 3.51 PDC
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.11
Hardware: x86 FreeBSD
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 04:20 UTC by Andriy Gapon
Modified: 2005-09-28 07:32 UTC (History)
0 users

See Also:


Attachments
my patch (425 bytes, patch)
2005-03-15 04:21 UTC, Andriy Gapon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Gapon 2005-03-15 04:20:23 UTC
after upgrade from samba 2.2.8 to 3.0.11 with winbindd enabled, "security =
domain" stopped to work and wbinfo tool was failing with
NT_STATUS_NO_LOGON_SERVERS error. NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND errors
were also occuring in logs. Using tcpdump I've determined that PDC returned an
error (something like "no such service") on attempts to connect to "*SMBSERVER"
service - sorry if I am using incorrect terms here. After I made the following
change, everything started to work again:
--- source/nsswitch/winbindd_cm.c.orig  Fri Mar 11 18:14:03 2005
+++ source/nsswitch/winbindd_cm.c       Fri Mar 11 18:14:23 2005
@@ -275,7 +275,7 @@
                struct nmb_name called;
 
                make_nmb_name(&calling, global_myname(), 0x0);
-               make_nmb_name(&called, "*SMBSERVER", 0x20);
+               make_nmb_name(&called, controller, 0x20);
 
                if (!cli_session_request(*cli, &calling, &called)) {
                        DEBUG(8, ("cli_session_request failed for %s\n",
Comment 1 Andriy Gapon 2005-03-15 04:21:40 UTC
Created attachment 1032 [details]
my patch

properly attached patch to preserve formatting
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-09-28 07:32:13 UTC
I think you'll have to keep this as a local patch.  
Nice work though.