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",
Created attachment 1032 [details] my patch properly attached patch to preserve formatting
I think you'll have to keep this as a local patch. Nice work though.