Red Hat Bugzilla – Bug 86307
Netlogon causes DoS since upgrade to latest update
Last modified: 2014-08-31 19:24:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20030102
Description of problem:
I upgraded to latest samba last night, and since then netlogon stopped working,
it causes smbd to start eating lots of CPU. Logs say (repeatedly many times per
[2003/03/19 11:10:01, 0] lib/util_str.c:string_sub(1217)
ERROR: string overflow by 1 in string_sub(%g, 7)
This comes from having
logon script = %g.bat
I traced this to probably be a known error fixed in 2.2.7a. I extracted the fix
from the patch from samba.org and am rebuilding the RPM now to see if it helps.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put something in logon script
2. start samba
3. any machine trying to login should trigger the bug
Actual Results: Samba starts logging lots of errors (see above) and eat lots of
CPU. People report they can't login.
Expected Results: There should be no errors.
I'm waiting for the rebuild to complete, will report later.
Created attachment 90658 [details]
Extracted from samba.org's patch 2.2.7->2.2.7a
This should fix the bug, I'm testing right now.
Ok, the test was sucessful, people report netlogon working, I don't get any more
errors and smbd isn't DoSed anymore. Please apply.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.
*** Bug 87969 has been marked as a duplicate of this bug. ***