summaryrefslogtreecommitdiff
path: root/docs/htmldocs/bugreport.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/bugreport.html')
-rw-r--r--docs/htmldocs/bugreport.html476
1 files changed, 79 insertions, 397 deletions
diff --git a/docs/htmldocs/bugreport.html b/docs/htmldocs/bugreport.html
index ac0fac371f..b46173f559 100644
--- a/docs/htmldocs/bugreport.html
+++ b/docs/htmldocs/bugreport.html
@@ -1,431 +1,113 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML
-><HEAD
-><TITLE
->Reporting Bugs</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
-REL="HOME"
-TITLE="SAMBA Project Documentation"
-HREF="samba-howto-collection.html"><LINK
-REL="UP"
-TITLE="Appendixes"
-HREF="appendixes.html"><LINK
-REL="PREVIOUS"
-TITLE="Analysing and solving samba problems"
-HREF="problems.html"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFFFFF"
-TEXT="#000000"
-LINK="#0000FF"
-VLINK="#840084"
-ALINK="#0000FF"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SAMBA Project Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="problems.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
->&nbsp;</TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="BUGREPORT"
-></A
->Chapter 35. Reporting Bugs</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
->35.1. <A
-HREF="bugreport.html#AEN5125"
->Introduction</A
-></DT
-><DT
->35.2. <A
-HREF="bugreport.html#AEN5135"
->General info</A
-></DT
-><DT
->35.3. <A
-HREF="bugreport.html#AEN5141"
->Debug levels</A
-></DT
-><DT
->35.4. <A
-HREF="bugreport.html#AEN5162"
->Internal errors</A
-></DT
-><DT
->35.5. <A
-HREF="bugreport.html#AEN5176"
->Attaching to a running process</A
-></DT
-><DT
->35.6. <A
-HREF="bugreport.html#AEN5184"
->Patches</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5125"
->35.1. Introduction</A
-></H1
-><P
->The email address for bug reports for stable releases is <A
-HREF="mailto:samba@samba.org"
-TARGET="_top"
->samba@samba.org</A
->.
-Bug reports for alpha releases should go to <A
-HREF="mailto:samba-technical@samba.org"
-TARGET="_top"
->samba-technical@samba.org</A
->.</P
-><P
->Please take the time to read this file before you submit a bug
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 29. Reporting Bugs</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"><link rel="home" href="index.html" title="SAMBA Project Documentation"><link rel="up" href="troubleshooting.html" title="Part IV. Troubleshooting"><link rel="previous" href="problems.html" title="Chapter 28. Analysing and solving samba problems"><link rel="next" href="Appendixes.html" title="Part V. Appendixes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 29. Reporting Bugs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><th width="60%" align="center">Part IV. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="Appendixes.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="bugreport"></a>Chapter 29. Reporting Bugs</h2></div><div><div class="author"><h3 class="author">Jelmer R. Vernooij</h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><tt>&lt;<a href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</tt></p></div></div></div></div><div><div class="author"><h3 class="author"></h3><div class="affiliation"><span class="orgname">Samba Team<br></span></div></div></div><div><p class="pubdate"> 27 June 1997 </p></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="bugreport.html#id2903912">Introduction</a></dt><dt><a href="bugreport.html#id2903826">General info</a></dt><dt><a href="bugreport.html#id2904609">Debug levels</a></dt><dt><a href="bugreport.html#id2904745">Internal errors</a></dt><dt><a href="bugreport.html#id2904838">Attaching to a running process</a></dt><dt><a href="bugreport.html#id2904885">Patches</a></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2903912"></a>Introduction</h2></div></div><p>Please report bugs using <a href="https://bugzilla.samba.org/" target="_top">bugzilla</a>.</p><p>
+Please take the time to read this file before you submit a bug
report. Also, please see if it has changed between releases, as we
-may be changing the bug reporting mechanism at some time.</P
-><P
->Please also do as much as you can yourself to help track down the
+may be changing the bug reporting mechanism at some time.
+</p><p>
+Please also do as much as you can yourself to help track down the
bug. Samba is maintained by a dedicated group of people who volunteer
their time, skills and efforts. We receive far more mail about it than
we can possibly answer, so you have a much higher chance of an answer
-and a fix if you send us a "developer friendly" bug report that lets
-us fix it fast. </P
-><P
->Do not assume that if you post the bug to the comp.protocols.smb
+and a fix if you send us a &quot;developer friendly&quot; bug report that lets
+us fix it fast.
+</p><p>
+Do not assume that if you post the bug to the comp.protocols.smb
newsgroup or the mailing list that we will read it. If you suspect that your
problem is not a bug but a configuration problem then it is better to send
it to the Samba mailing list, as there are (at last count) 5000 other users on
-that list that may be able to help you.</P
-><P
->You may also like to look though the recent mailing list archives,
+that list that may be able to help you.
+</p><p>
+You may also like to look though the recent mailing list archives,
which are conveniently accessible on the Samba web pages
-at <A
-HREF="http://samba.org/samba/"
-TARGET="_top"
->http://samba.org/samba/</A
->.</P
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5135"
->35.2. General info</A
-></H1
-><P
->Before submitting a bug report check your config for silly
+at <a href="http://samba.org/samba/" target="_top">http://samba.org/samba/</a>.
+</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2903826"></a>General info</h2></div></div><p>
+Before submitting a bug report check your config for silly
errors. Look in your log files for obvious messages that tell you that
you've misconfigured something and run testparm to test your config
-file for correct syntax.</P
-><P
->Have you run through the <A
-HREF="diagnosis.html"
->diagnosis</A
->?
-This is very important.</P
-><P
->If you include part of a log file with your bug report then be sure to
+file for correct syntax.
+</p><p>
+Have you run through the <a href="diagnosis.html" title="Chapter 27. The samba checklist">diagnosis</a>?
+This is very important.
+</p><p>
+If you include part of a log file with your bug report then be sure to
annotate it with exactly what you were doing on the client at the
-time, and exactly what the results were.</P
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5141"
->35.3. Debug levels</A
-></H1
-><P
->If the bug has anything to do with Samba behaving incorrectly as a
+time, and exactly what the results were.
+</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2904609"></a>Debug levels</h2></div></div><p>
+If the bug has anything to do with Samba behaving incorrectly as a
server (like refusing to open a file) then the log files will probably
be very useful. Depending on the problem a log level of between 3 and
10 showing the problem may be appropriate. A higher level givesmore
-detail, but may use too much disk space.</P
-><P
->To set the debug level use <B
-CLASS="COMMAND"
->log level =</B
-> in your
-<TT
-CLASS="FILENAME"
->smb.conf</TT
->. You may also find it useful to set the log
+detail, but may use too much disk space.
+</p><p>
+To set the debug level use <b>log level =</b> in your
+<tt>smb.conf</tt>. You may also find it useful to set the log
level higher for just one machine and keep separate logs for each machine.
-To do this use:</P
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->log level = 10
+To do this use:
+</p><pre class="programlisting">
+log level = 10
log file = /usr/local/samba/lib/log.%m
-include = /usr/local/samba/lib/smb.conf.%m</PRE
-></P
-><P
->then create a file
-<TT
-CLASS="FILENAME"
->/usr/local/samba/lib/smb.conf.<VAR
-CLASS="REPLACEABLE"
->machine</VAR
-></TT
-> where
-<VAR
-CLASS="REPLACEABLE"
->machine</VAR
-> is the name of the client you wish to debug. In that file
-put any <TT
-CLASS="FILENAME"
->smb.conf</TT
-> commands you want, for example
-<B
-CLASS="COMMAND"
->log level=</B
-> may be useful. This also allows you to
+include = /usr/local/samba/lib/smb.conf.%m
+</pre><p>
+then create a file
+<tt>/usr/local/samba/lib/smb.conf.<i><tt>machine</tt></i></tt> where
+<i><tt>machine</tt></i> is the name of the client you wish to debug. In that file
+put any <tt>smb.conf</tt> commands you want, for example
+<b>log level=</b> may be useful. This also allows you to
experiment with different security systems, protocol levels etc on just
-one machine.</P
-><P
->The <TT
-CLASS="FILENAME"
->smb.conf</TT
-> entry <B
-CLASS="COMMAND"
->log level =</B
->
-is synonymous with the entry <B
-CLASS="COMMAND"
->debuglevel =</B
-> that has been
+one machine.
+</p><p>
+The <tt>smb.conf</tt> entry <b>log level =</b>
+is synonymous with the entry <b>debuglevel =</b> that has been
used in older versions of Samba and is being retained for backwards
-compatibility of <TT
-CLASS="FILENAME"
->smb.conf</TT
-> files.</P
-><P
->As the <B
-CLASS="COMMAND"
->log level =</B
-> value is increased you will record
+compatibility of <tt>smb.conf</tt> files.
+</p><p>
+As the <b>log level =</b> value is increased you will record
a significantly increasing level of debugging information. For most
debugging operations you may not need a setting higher than 3. Nearly
all bugs can be tracked at a setting of 10, but be prepared for a VERY
-large volume of log data.</P
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5162"
->35.4. Internal errors</A
-></H1
-><P
->If you get a "INTERNAL ERROR" message in your log files it means that
+large volume of log data.
+</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2904745"></a>Internal errors</h2></div></div><p>
+If you get a &quot;INTERNAL ERROR&quot; message in your log files it means that
Samba got an unexpected signal while running. It is probably a
segmentation fault and almost certainly means a bug in Samba (unless
-you have faulty hardware or system software).</P
-><P
->If the message came from smbd then it will probably be accompanied by
+you have faulty hardware or system software).
+</p><p>
+If the message came from smbd then it will probably be accompanied by
a message which details the last SMB message received by smbd. This
info is often very useful in tracking down the problem so please
-include it in your bug report.</P
-><P
->You should also detail how to reproduce the problem, if
-possible. Please make this reasonably detailed.</P
-><P
->You may also find that a core file appeared in a <TT
-CLASS="FILENAME"
->corefiles</TT
->
+include it in your bug report.
+</p><p>
+You should also detail how to reproduce the problem, if
+possible. Please make this reasonably detailed.
+</p><p>
+You may also find that a core file appeared in a <tt>corefiles</tt>
subdirectory of the directory where you keep your samba log
files. This file is the most useful tool for tracking down the bug. To
-use it you do this:</P
-><P
-><B
-CLASS="COMMAND"
->gdb smbd core</B
-></P
-><P
->adding appropriate paths to smbd and core so gdb can find them. If you
-don't have gdb then try <KBD
-CLASS="USERINPUT"
->dbx</KBD
->. Then within the debugger use the
-command <KBD
-CLASS="USERINPUT"
->where</KBD
-> to give a stack trace of where the problem
-occurred. Include this in your mail.</P
-><P
->If you known any assembly language then do a <KBD
-CLASS="USERINPUT"
->disass</KBD
-> of the routine
+use it you do this:
+</p><p><b>gdb smbd core</b></p><p>
+adding appropriate paths to smbd and core so gdb can find them. If you
+don't have gdb then try <b><tt>dbx</tt></b>. Then within the debugger use the
+command <b><tt>where</tt></b> to give a stack trace of where the problem
+occurred. Include this in your mail.
+</p><p>
+If you know any assembly language then do a <b><tt>disass</tt></b> of the routine
where the problem occurred (if its in a library routine then
disassemble the routine that called it) and try to work out exactly
where the problem is by looking at the surrounding code. Even if you
don't know assembly then incuding this info in the bug report can be
-useful. </P
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5176"
->35.5. Attaching to a running process</A
-></H1
-><P
->Unfortunately some unixes (in particular some recent linux kernels)
+useful.
+</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2904838"></a>Attaching to a running process</h2></div></div><p>
+Unfortunately some unixes (in particular some recent linux kernels)
refuse to dump a core file if the task has changed uid (which smbd
does often). To debug with this sort of system you could try to attach
-to the running process using <KBD
-CLASS="USERINPUT"
->gdb smbd <VAR
-CLASS="REPLACEABLE"
->PID</VAR
-></KBD
-> where you get <VAR
-CLASS="REPLACEABLE"
->PID</VAR
-> from
-<SPAN
-CLASS="APPLICATION"
->smbstatus</SPAN
->. Then use <KBD
-CLASS="USERINPUT"
->c</KBD
-> to continue and try to cause the core dump
+to the running process using <b><tt>gdb smbd <i><tt>PID</tt></i></tt></b> where you get <i><tt>PID</tt></i> from
+smbstatus. Then use <b><tt>c</tt></b> to continue and try to cause the core dump
using the client. The debugger should catch the fault and tell you
-where it occurred.</P
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN5184"
->35.6. Patches</A
-></H1
-><P
->The best sort of bug report is one that includes a fix! If you send us
-patches please use <KBD
-CLASS="USERINPUT"
->diff -u</KBD
-> format if your version of
-diff supports it, otherwise use <KBD
-CLASS="USERINPUT"
->diff -c4</KBD
->. Make sure
-your do the diff against a clean version of the source and let me know
-exactly what version you used. </P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="problems.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="samba-howto-collection.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->&nbsp;</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Analysing and solving samba problems</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="appendixes.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->&nbsp;</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
-> \ No newline at end of file
+where it occurred.
+</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2904885"></a>Patches</h2></div></div><p>
+The best sort of bug report is one that includes a fix! If you send us
+patches please use <b><tt>diff -u</tt></b> format if your version of
+diff supports it, otherwise use <b><tt>diff -c4</tt></b>. Make sure
+you do the diff against a clean version of the source and let me know
+exactly what version you used.
+</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="troubleshooting.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Appendixes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 28. Analysing and solving samba problems </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part V. Appendixes</td></tr></table></div></body></html>