mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
Move Recent-FAQ's to the new SGML FAQ
(This used to be commit 8a15a8c195285550be55bac63f7508bf34b36411)
This commit is contained in:
parent
42efc1092d
commit
2f57636fcf
85
docs/docbook/faq/errors.sgml
Normal file
85
docs/docbook/faq/errors.sgml
Normal file
@ -0,0 +1,85 @@
|
||||
<chapter id="errors">
|
||||
|
||||
<title>Common errors</title>
|
||||
|
||||
<sect1>
|
||||
<title>Not listening for calling name</title>
|
||||
|
||||
<para>
|
||||
<programlisting>
|
||||
Session request failed (131,129) with myname=HOBBES destname=CALVIN
|
||||
Not listening for calling name
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you get this when talking to a Samba box then it means that your
|
||||
global "hosts allow" or "hosts deny" settings are causing the Samba
|
||||
server to refuse the connection.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Look carefully at your "hosts allow" and "hosts deny" lines in the
|
||||
global section of smb.conf.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
It can also be a problem with reverse DNS lookups not functioning
|
||||
correctly, leading to the remote host identity not being able to
|
||||
be confirmed, but that is less likely.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>System Error 1240</title>
|
||||
|
||||
<para>
|
||||
System error 1240 means that the client is refusing to talk
|
||||
to a non-encrypting server. Microsoft changed WinNT in service
|
||||
pack 3 to refuse to connect to servers that do not support
|
||||
SMB password encryption.
|
||||
</para>
|
||||
|
||||
<para>There are two main solutions:
|
||||
<simplelist>
|
||||
<member>enable SMB password encryption in Samba. See the encryption part of
|
||||
the samba HOWTO Collection</member>
|
||||
|
||||
<member>disable this new behaviour in NT. See the section about
|
||||
Windows NT in the chapter "Portability" of the samba HOWTO collection
|
||||
</member>
|
||||
</simplelist>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
<title>smbclient ignores -N !</title>
|
||||
|
||||
<para>
|
||||
<quote>When getting the list of shares available on a host using the command
|
||||
<command>smbclient -N -L</command>
|
||||
the program always prompts for the password if the server is a Samba server.
|
||||
It also ignores the "-N" argument when querying some (but not all) of our
|
||||
NT servers.
|
||||
</quote>
|
||||
|
||||
<para>
|
||||
No, it does not ignore -N, it is just that your server rejected the
|
||||
null password in the connection, so smbclient prompts for a password
|
||||
to try again.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To get the behaviour that you probably want use <command>smbclient -L host -U%</command>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This will set both the username and password to null, which is
|
||||
an anonymous login for SMB. Using -N would only set the password
|
||||
to null, and this is not accepted as an anonymous login for most
|
||||
SMB servers.
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
||||
<!ENTITY general SYSTEM "general.sgml">
|
||||
<!ENTITY install SYSTEM "install.sgml">
|
||||
<!ENTITY errors SYSTEM "errors.sgml">
|
||||
<!ENTITY clientapp SYSTEM "clientapp.sgml">
|
||||
]>
|
||||
|
||||
@ -20,11 +21,13 @@ allows file and printer connections from clients such as Windows,
|
||||
OS/2, Linux and others. Current to version 3.0. Please send any
|
||||
corrections to the samba documentation mailinglist at
|
||||
<ulink url="mailto:samba-doc@samba.org">samba-doc@samba.org</ulink>.
|
||||
This FAQ is based on the old Samba FAQ by Dan Shearer and Paul Blackman.
|
||||
This FAQ was based on the old Samba FAQ by Dan Shearer and Paul Blackman,
|
||||
and the old samba text documents which were mostly written by John Terpstra.
|
||||
</para>
|
||||
</dedication>
|
||||
|
||||
&general;
|
||||
&install;
|
||||
&clientapp;
|
||||
&errors;
|
||||
</book>
|
||||
|
@ -11,7 +11,10 @@ TITLE="Samba FAQ"
|
||||
HREF="samba-faq.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Compiling and installing Samba on a Unix host"
|
||||
HREF="install.html"></HEAD
|
||||
HREF="install.html"><LINK
|
||||
REL="NEXT"
|
||||
TITLE="Common errors"
|
||||
HREF="errors.html"></HEAD
|
||||
><BODY
|
||||
CLASS="CHAPTER"
|
||||
BGCOLOR="#FFFFFF"
|
||||
@ -52,7 +55,11 @@ VALIGN="bottom"
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
> </TD
|
||||
><A
|
||||
HREF="errors.html"
|
||||
ACCESSKEY="N"
|
||||
>Next</A
|
||||
></TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
@ -182,7 +189,11 @@ ACCESSKEY="H"
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><A
|
||||
HREF="errors.html"
|
||||
ACCESSKEY="N"
|
||||
>Next</A
|
||||
></TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
@ -199,7 +210,7 @@ VALIGN="top"
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
>Common errors</TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
|
222
docs/faq/errors.html
Normal file
222
docs/faq/errors.html
Normal file
@ -0,0 +1,222 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<HTML
|
||||
><HEAD
|
||||
><TITLE
|
||||
>Common errors</TITLE
|
||||
><META
|
||||
NAME="GENERATOR"
|
||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK
|
||||
REL="HOME"
|
||||
TITLE="Samba FAQ"
|
||||
HREF="samba-faq.html"><LINK
|
||||
REL="PREVIOUS"
|
||||
TITLE="Specific client application problems"
|
||||
HREF="clientapp.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 FAQ</TH
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="left"
|
||||
VALIGN="bottom"
|
||||
><A
|
||||
HREF="clientapp.html"
|
||||
ACCESSKEY="P"
|
||||
>Prev</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="80%"
|
||||
ALIGN="center"
|
||||
VALIGN="bottom"
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="10%"
|
||||
ALIGN="right"
|
||||
VALIGN="bottom"
|
||||
> </TD
|
||||
></TR
|
||||
></TABLE
|
||||
><HR
|
||||
ALIGN="LEFT"
|
||||
WIDTH="100%"></DIV
|
||||
><DIV
|
||||
CLASS="CHAPTER"
|
||||
><H1
|
||||
><A
|
||||
NAME="ERRORS"
|
||||
></A
|
||||
>Chapter 4. Common errors</H1
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN192"
|
||||
></A
|
||||
>4.1. Not listening for calling name</H1
|
||||
><P
|
||||
><PRE
|
||||
CLASS="PROGRAMLISTING"
|
||||
>Session request failed (131,129) with myname=HOBBES destname=CALVIN
|
||||
Not listening for calling name</PRE
|
||||
></P
|
||||
><P
|
||||
>If you get this when talking to a Samba box then it means that your
|
||||
global "hosts allow" or "hosts deny" settings are causing the Samba
|
||||
server to refuse the connection. </P
|
||||
><P
|
||||
>Look carefully at your "hosts allow" and "hosts deny" lines in the
|
||||
global section of smb.conf. </P
|
||||
><P
|
||||
>It can also be a problem with reverse DNS lookups not functioning
|
||||
correctly, leading to the remote host identity not being able to
|
||||
be confirmed, but that is less likely.</P
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN199"
|
||||
></A
|
||||
>4.2. System Error 1240</H1
|
||||
><P
|
||||
>System error 1240 means that the client is refusing to talk
|
||||
to a non-encrypting server. Microsoft changed WinNT in service
|
||||
pack 3 to refuse to connect to servers that do not support
|
||||
SMB password encryption.</P
|
||||
><P
|
||||
>There are two main solutions:
|
||||
<P
|
||||
></P
|
||||
><TABLE
|
||||
BORDER="0"
|
||||
><TBODY
|
||||
><TR
|
||||
><TD
|
||||
>enable SMB password encryption in Samba. See the encryption part of
|
||||
the samba HOWTO Collection</TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
>disable this new behaviour in NT. See the section about
|
||||
Windows NT in the chapter "Portability" of the samba HOWTO collection</TD
|
||||
></TR
|
||||
></TBODY
|
||||
></TABLE
|
||||
><P
|
||||
></P
|
||||
> </P
|
||||
></DIV
|
||||
><DIV
|
||||
CLASS="SECT1"
|
||||
><H1
|
||||
CLASS="SECT1"
|
||||
><A
|
||||
NAME="AEN206"
|
||||
></A
|
||||
>4.3. smbclient ignores -N !</H1
|
||||
><P
|
||||
><SPAN
|
||||
CLASS="QUOTE"
|
||||
>"When getting the list of shares available on a host using the command
|
||||
<B
|
||||
CLASS="COMMAND"
|
||||
>smbclient -N -L</B
|
||||
>
|
||||
the program always prompts for the password if the server is a Samba server.
|
||||
It also ignores the "-N" argument when querying some (but not all) of our
|
||||
NT servers."</SPAN
|
||||
> </P
|
||||
><P
|
||||
>No, it does not ignore -N, it is just that your server rejected the
|
||||
null password in the connection, so smbclient prompts for a password
|
||||
to try again.</P
|
||||
><P
|
||||
>To get the behaviour that you probably want use <B
|
||||
CLASS="COMMAND"
|
||||
>smbclient -L host -U%</B
|
||||
></P
|
||||
><P
|
||||
>This will set both the username and password to null, which is
|
||||
an anonymous login for SMB. Using -N would only set the password
|
||||
to null, and this is not accepted as an anonymous login for most
|
||||
SMB servers.</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="clientapp.html"
|
||||
ACCESSKEY="P"
|
||||
>Prev</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
><A
|
||||
HREF="samba-faq.html"
|
||||
ACCESSKEY="H"
|
||||
>Home</A
|
||||
></TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
></TR
|
||||
><TR
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="left"
|
||||
VALIGN="top"
|
||||
>Specific client application problems</TD
|
||||
><TD
|
||||
WIDTH="34%"
|
||||
ALIGN="center"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
><TD
|
||||
WIDTH="33%"
|
||||
ALIGN="right"
|
||||
VALIGN="top"
|
||||
> </TD
|
||||
></TR
|
||||
></TABLE
|
||||
></DIV
|
||||
></BODY
|
||||
></HTML
|
||||
>
|
@ -52,7 +52,8 @@ HREF="mailto:samba-doc@samba.org"
|
||||
TARGET="_top"
|
||||
>samba-doc@samba.org</A
|
||||
>.
|
||||
This FAQ is based on the old Samba FAQ by Dan Shearer and Paul Blackman.</P
|
||||
This FAQ was based on the old Samba FAQ by Dan Shearer and Paul Blackman,
|
||||
and the old samba text documents which were mostly written by John Terpstra.</P
|
||||
><DIV
|
||||
CLASS="TOC"
|
||||
><DL
|
||||
@ -172,6 +173,30 @@ HREF="clientapp.html#AEN175"
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
><DT
|
||||
>4. <A
|
||||
HREF="errors.html"
|
||||
>Common errors</A
|
||||
></DT
|
||||
><DD
|
||||
><DL
|
||||
><DT
|
||||
>4.1. <A
|
||||
HREF="errors.html#AEN192"
|
||||
>Not listening for calling name</A
|
||||
></DT
|
||||
><DT
|
||||
>4.2. <A
|
||||
HREF="errors.html#AEN199"
|
||||
>System Error 1240</A
|
||||
></DT
|
||||
><DT
|
||||
>4.3. <A
|
||||
HREF="errors.html#AEN206"
|
||||
>smbclient ignores -N !</A
|
||||
></DT
|
||||
></DL
|
||||
></DD
|
||||
></DL
|
||||
></DIV
|
||||
></DIV
|
||||
|
@ -1,63 +0,0 @@
|
||||
Contributor: Samba-bugs@samba.org
|
||||
Date: October 2002
|
||||
Status: Current
|
||||
|
||||
=============================================================================
|
||||
Subject: Recent FAQ answers to common questions / problems
|
||||
=============================================================================
|
||||
|
||||
Not listening for calling name
|
||||
==============================
|
||||
|
||||
> Session request failed (131,129) with myname=HOBBES destname=CALVIN
|
||||
> Not listening for calling name
|
||||
|
||||
If you get this when talking to a Samba box then it means that your
|
||||
global "hosts allow" or "hosts deny" settings are causing the Samba
|
||||
server to refuse the connection.
|
||||
|
||||
Look carefully at your "hosts allow" and "hosts deny" lines in the
|
||||
global section of smb.conf.
|
||||
|
||||
It can also be a problem with reverse DNS lookups not functioning
|
||||
correctly, leading to the remote host identity not being able to
|
||||
be confirmed, but that is less likely.
|
||||
===============================================================================
|
||||
|
||||
System Error 1240
|
||||
=================
|
||||
System error 1240 means that the client is refusing to talk
|
||||
to a non-encrypting server. Microsoft changed WinNT in service
|
||||
pack 3 to refuse to connect to servers that do not support
|
||||
SMB password encryption.
|
||||
|
||||
There are two main solutions:
|
||||
|
||||
1) enable SMB password encryption in Samba. See ENCRYPTION.txt in the
|
||||
Samba docs
|
||||
|
||||
2) disable this new behaviour in NT. See WinNT.txt in the
|
||||
Samba docs
|
||||
===============================================================================
|
||||
|
||||
smbclient -N
|
||||
============
|
||||
> When getting the list of shares available on a host using the command
|
||||
> smbclient -N -L <server>
|
||||
> the program always prompts for the password if the server is a Samba server.
|
||||
> It also ignores the "-N" argument when querying some (but not all) of our
|
||||
> NT servers.
|
||||
|
||||
No, it does not ignore -N, it is just that your server rejected the
|
||||
null password in the connection, so smbclient prompts for a password
|
||||
to try again.
|
||||
|
||||
To get the behaviour that you probably want use
|
||||
smbclient -L host -U%
|
||||
|
||||
this will set both the username and password to null, which is
|
||||
an anonymous login for SMB. Using -N would only set the password
|
||||
to null, and this is not accepted as an anonymous login for most
|
||||
SMB servers.
|
||||
===============================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user