From 2f57636fcfce3e5158597d6afb1f690076f40407 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 4 Oct 2002 17:20:45 +0000 Subject: Move Recent-FAQ's to the new SGML FAQ (This used to be commit 8a15a8c195285550be55bac63f7508bf34b36411) --- docs/docbook/faq/errors.sgml | 85 ++++++++++++++++ docs/docbook/faq/sambafaq.sgml | 5 +- docs/faq/clientapp.html | 19 +++- docs/faq/errors.html | 222 +++++++++++++++++++++++++++++++++++++++++ docs/faq/samba-faq.html | 27 ++++- docs/textdocs/Recent-FAQs.txt | 63 ------------ 6 files changed, 352 insertions(+), 69 deletions(-) create mode 100644 docs/docbook/faq/errors.sgml create mode 100644 docs/faq/errors.html delete mode 100644 docs/textdocs/Recent-FAQs.txt (limited to 'docs') diff --git a/docs/docbook/faq/errors.sgml b/docs/docbook/faq/errors.sgml new file mode 100644 index 0000000000..53e4d01e20 --- /dev/null +++ b/docs/docbook/faq/errors.sgml @@ -0,0 +1,85 @@ + + +Common errors + + +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: + +enable SMB password encryption in Samba. See the encryption part of +the samba HOWTO Collection + +disable this new behaviour in NT. See the section about +Windows NT in the chapter "Portability" of the samba HOWTO collection + + + + + + +smbclient ignores -N ! + + +When getting the list of shares available on a host using the command +smbclient -N -L +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. + + + + + diff --git a/docs/docbook/faq/sambafaq.sgml b/docs/docbook/faq/sambafaq.sgml index db918e349f..b6d8016fc4 100644 --- a/docs/docbook/faq/sambafaq.sgml +++ b/docs/docbook/faq/sambafaq.sgml @@ -1,6 +1,7 @@ + ]> @@ -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 samba-doc@samba.org. -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. &general; &install; &clientapp; +&errors; diff --git a/docs/faq/clientapp.html b/docs/faq/clientapp.html index 0081891331..fd120f90cd 100644 --- a/docs/faq/clientapp.html +++ b/docs/faq/clientapp.html @@ -11,7 +11,10 @@ TITLE="Samba FAQ" HREF="samba-faq.html"> Next
 Next Common errors +Common errors
Samba FAQ
Prev 

Chapter 4. Common errors

4.1. 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.

4.2. 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: +

enable SMB password encryption in Samba. See the encryption part of +the samba HOWTO Collection
disable this new behaviour in NT. See the section about +Windows NT in the chapter "Portability" of the samba HOWTO collection

4.3. smbclient ignores -N !

"When getting the list of shares available on a host using the command +smbclient -N -L +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.


PrevHome 
Specific client application problems  
\ No newline at end of file diff --git a/docs/faq/samba-faq.html b/docs/faq/samba-faq.html index 14b62edcc1..8efb6989de 100644 --- a/docs/faq/samba-faq.html +++ b/docs/faq/samba-faq.html @@ -52,7 +52,8 @@ HREF="mailto:samba-doc@samba.org" TARGET="_top" >samba-doc@samba.org. -This FAQ is based on the old Samba FAQ by Dan Shearer and Paul Blackman.

4. Common errors
4.1. Not listening for calling name
4.2. System Error 1240
4.3. smbclient ignores -N !
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 -> 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. -=============================================================================== - -- cgit