From 9b5af2ad79448acc97cd44d9446d4ede9dcdd4b8 Mon Sep 17 00:00:00 2001
From: Samba Release Account
Date: Sun, 8 Jun 1997 14:44:43 +0000
Subject: FAQ Update Tidied up some entries with incorrect casing Added NT SP3
entry Updated list of ported systems Updated More Info entry with more web
site details and list of all doco files Moved mailing list subscriptions to
separate entry Removed reference to 'samba team mailing list' just in case
people guessed Updated nmbd -C entry, indicating obsolete. General cleanup of
document with indented lists. Added url links where needed. Web docs will not
show urls but will link, text files will show file names AND urls Fixed
missing info where '\\' was being interpreted as '\' (used [\\])
If I get a warning before 1.9.17 is released, I'll clean up blank lines
from the text faq. Don't want to do them now as I may modify the sgml again.
For those who don't know, we now maintain the FAQ as an sgml document,
and convert/create html and txt FAQs from that. We use LinuxDoc which is
now called SGMLtools.
Paul.
(This used to be commit 37214555db739a7f4ef683d287fe2febe85fee19)
---
docs/faq/sambafaq-1.html | 275 +++++++++++++++++---------
docs/faq/sambafaq-2.html | 67 ++++---
docs/faq/sambafaq-3.html | 77 +++++---
docs/faq/sambafaq-4.html | 6 +-
docs/faq/sambafaq-5.html | 8 +
docs/faq/sambafaq.html | 22 ++-
docs/faq/sambafaq.sgml | 314 +++++++++++++++---------------
docs/faq/sambafaq.txt | 487 +++++++++++++++++++++++++++++++++--------------
8 files changed, 796 insertions(+), 460 deletions(-)
(limited to 'docs')
diff --git a/docs/faq/sambafaq-1.html b/docs/faq/sambafaq-1.html
index 847c758632..4b9e589e84 100644
--- a/docs/faq/sambafaq-1.html
+++ b/docs/faq/sambafaq-1.html
@@ -20,8 +20,8 @@ details
-
-
Samba is a suite of programs which work together to allow clients to
+
+Samba is a suite of programs which work together to allow clients to
access to a server's filespace and printers via the SMB (Server
Message Block) protocol. Initially written for Unix, Samba now also
runs on Netware, OS/2 and VMS.
@@ -37,22 +37,15 @@ flexibility designed to make life easier for administrators.
The components of the suite are (in summary):
-
smbd, the SMB server. This handles actual connections from
-clients, doing all the file, permission and username work
-
nmbd, the Netbios name server, which helps clients locate
-servers, doing the browsing work and managing domains as this
-capability is being built into Samba
-
smbclient, the Unix-hosted client program
-
smbrun, a little 'glue' program to help the server run external
-programs
-
testprns, a program to test server access to printers
-
testparms, a program to test the Samba configuration file for
-correctness
-
smb.conf, the Samba configuration file
-
smbprint, a sample script to allow a Unix host to use smbclient
-to print to an SMB server
-
documentation! DON'T neglect to read it - you will save a great
-deal of time!
+
smbd, the SMB server. This handles actual connections from clients, doing all the file, permission and username work
+
nmbd, the Netbios name server, which helps clients locate servers, doing the browsing work and managing domains as this capability is being built into Samba
+
smbclient, the Unix-hosted client program
+
smbrun, a little 'glue' program to help the server run external programs
+
testprns, a program to test server access to printers
+
testparms, a program to test the Samba configuration file for correctness
+
smb.conf, the Samba configuration file
+
smbprint, a sample script to allow a Unix host to use smbclient to print to an SMB server
+
Documentation! DON'T neglect to read it - you will save a great deal of time!
The suite is supplied with full source (of course!) and is GPLed.
@@ -63,10 +56,10 @@ and this FAQ were originally written by Karl Auer.
At time of writing, the current version was 1.9.16. If you want to be
+
+At time of writing, the current version was 1.9.17. If you want to be
sure check the bottom of the change-log file.
ftp://samba.anu.edu.au/pub/samba/alpha/change-log
For more information see
@@ -77,8 +70,8 @@ sure check the bottom of the change-log file.
-
-
The Samba suite is available via anonymous ftp from
+
+The Samba suite is available via anonymous ftp from
samba.anu.edu.au. The latest and greatest versions of the suite are in
the directory:
/pub/samba/
@@ -96,8 +89,8 @@ do contain Samba binaries for that platform.
-
-
It is not recommended that you run a version of Samba with the word
+
+It is not recommended that you run a version of Samba with the word
"alpha" in its name unless you know what you are doing and are willing
to do some debugging. Many, many people just get the latest
recommended stable release version and are happy. If you are brave, by
@@ -107,34 +100,34 @@ very stable and safe, and this is mostly due to the policy of many
public releases.
How the scheme works:
-
when major changes are made the version number is increased. For
+
When major changes are made the version number is increased. For
example, the transition from 1.9.15 to 1.9.16. However, this version
number will not appear immediately and people should continue to use
1.9.15 for production systems (see next point.)
-
just after major changes are made the software is considered
+
Just after major changes are made the software is considered
unstable, and a series of alpha releases are distributed, for example
1.9.16alpha1. These are for testing by those who know what they are
doing. The "alpha" in the filename will hopefully scare off those who
are just looking for the latest version to install.
-
when Andrew thinks that the alphas have stabilised to the point
+
When Andrew thinks that the alphas have stabilised to the point
where he would recommend new users install it, he renames it to the
same version number without the alpha, for example 1.9.16.
-
inevitably bugs are found in the "stable" releases and minor patch
+
Inevitably bugs are found in the "stable" releases and minor patch
levels are released which give us the pXX series, for example 1.9.16p2.
The above system means that whenever someone looks at the samba ftp
@@ -147,44 +140,49 @@ version.
-
-
Many different platforms have run Samba successfully. The platforms
+
+Many different platforms have run Samba successfully. The platforms
most widely used and thus best tested are Linux and SunOS.
At time of writing, the Makefile claimed support for:
-
SunOS
-
Linux with shadow passwords
-
Linux without shadow passwords
-
SOLARIS
-
SOLARIS 2.2 and above (aka SunOS 5)
-
SVR4
-
ULTRIX
-
OSF1 (alpha only)
-
OSF1 with NIS and Fast Crypt (alpha only)
-
OSF1 V2.0 Enhanced Security (alpha only)
+
A/UX 3.0
AIX
-
BSDI
-
NetBSD
-
NetBSD 1.0
-
SEQUENT
-
HP-UX
-
SGI
-
SGI IRIX 4.x.x
-
SGI IRIX 5.x.x
+
Altos Series 386/1000
+
Amiga
+
Apollo Domain/OS sr10.3
+
BSDI
+
B.O.S. (Bull Operating System)
+
Cray, Unicos 8.0
+
Convex
+
DGUX.
+
DNIX.
FreeBSD
-
NeXT 3.2 and above
-
NeXT OS 2.x
-
NeXT OS 3.0
-
ISC SVR3V4 (POSIX mode)
-
ISC SVR3V4 (iBCS2 mode)
-
A/UX 3.0
-
SCO with shadow passwords.
-
SCO with shadow passwords, without YP.
-
SCO with TCB passwords
-
SCO 3.2v2 (ODT 1.1) with TCP passwords
-
intergraph
-
DGUX
-
Apollo Domain/OS sr10.3 (BSD4.3)
+
HP-UX
+
Intergraph.
+
Linux with/without shadow passwords and quota
+
LYNX 2.3.0
+
MachTen (a unix like system for Macintoshes)
+
Motorola 88xxx/9xx range of machines
+
NetBSD
+
NEXTSTEP Release 2.X, 3.0 and greater (including OPENSTEP for Mach).
+
OS/2 using EMX 0.9b
+
OSF1
+
QNX 4.22
+
RiscIX.
+
RISCOs 5.0B
+
SEQUENT.
+
SCO (including: 3.2v2, European dist., OpenServer 5)
+
SGI.
+
SMP_DC.OSx v1.1-94c079 on Pyramid S series
+
SONY NEWS, NEWS-OS (4.2.x and 6.1.x)
+
SUNOS 4
+
SUNOS 5.2, 5.3, and 5.4 (Solaris 2.2, 2.3, and '2.4 and later')
+
Sunsoft ISC SVR3V4
+
SVR4
+
System V with some berkely extensions (Motorola 88k R32V3.2).
+
ULTRIX.
+
UNIXWARE
+
UXP/DS
@@ -193,26 +191,115 @@ most widely used and thus best tested are Linux and SunOS.
+
+There are a number of places to look for more information on Samba, including:
+
+
Two mailing lists devoted to discussion of Samba-related matters.
+
The newsgroup, comp.protocols.smb, which has a great deal of discussion on Samba.
Links to man pages and documentation, including this FAQ
+
A comprehensive survey of Samba users.
+
A searchable hypertext archive of the Samba mailing list.
+
Links to Samba source code, binaries, and mirrors of both.
+
+
+
The long list of topic documentation. These files can be found in the 'docs' directory of the Samba source, or at
+ftp://samba.anu.edu.au/pub/samba/docs/
+
There are two mailing lists devoted to discussion of Samba-related
-matters. There is also the newsgroup, comp.protocols.smb, which has a
-great deal of discussion on Samba. There is also a WWW site 'SAMBA Web
-Pages' at
-http://samba.canberra.edu.au/pub/samba/samba.html, under
-which there is a comprehensive survey of Samba users. Another useful
-resource is the hypertext archive of the Samba mailing list.
-
Send email to
-listproc@samba.anu.edu.au. Make sure the subject line is
-blank, and include the following two lines in the body of the message:
Obviously you should substitute YOUR first name for "Firstname" and
+
+Obviously you should substitute YOUR first name for "Firstname" and
YOUR last name for "Lastname"! Try not to send any signature stuff, it
sometimes confuses the list processor.
The samba list is a digest list - every eight hours or so it
@@ -221,30 +308,30 @@ been received by the list since the last time and sends a copy of this
message to all subscribers.
If you stop being interested in Samba, please send another email to
listproc@samba.anu.edu.au. Make sure the subject line is blank, and
-include the following two lines in the body of the message:
-
+include the following two lines in the body of the message:
unsubscribe samba
unsubscribe samba-announce
-
-
The From: line in your message MUST be the same address you used when
+
+The From: line in your message MUST be the same address you used when
you subscribed.
DO NOT post messages on mailing lists or in newsgroups until you have
carried out the first three steps given here!
Firstly, see if there are any likely looking entries in this FAQ! If
you have just installed Samba, have you run through the checklist in
-DIAGNOSIS.txt? It can save you a lot of time and effort.
+DIAGNOSIS.txt? It can save you a lot of time and effort.
+DIAGNOSIS.txt can also be found in the docs directory of the Samba distribution.
Secondly, read the man pages for smbd, nmbd and smb.conf, looking for
topics that relate to what you are trying to do.
Thirdly, if there is no obvious solution to hand, try to get a look at
@@ -266,16 +353,16 @@ I can incorporate it in the next version.
so that everyone else gets the benefit of your work. This is one of
the most important aspects to the maintainence of Samba. Send all
patches to
-samba-bugs@samba.anu.edu.au, not Andrew Tridgell or any
-other individual and not the samba team mailing list.
+samba-bugs@samba.anu.edu.au. Do not send patches to Andrew Tridgell or any
+other individual, they may be lost if you do.
-
Those who have registered in the Samba survey as "Pizza Factory" will
+
+Those who have registered in the Samba survey as "Pizza Factory" will
already know this, but the rest may need some help. Andrew doesn't ask
for payment, but he does appreciate it when people give him
pizza. This calls for a little organisation when the pizza donor is
diff --git a/docs/faq/sambafaq-2.html b/docs/faq/sambafaq-2.html
index 9f350052f6..38fec3d2c4 100644
--- a/docs/faq/sambafaq-2.html
+++ b/docs/faq/sambafaq-2.html
@@ -9,7 +9,7 @@
See
+
+See
BROWSING.txt
for more information on browsing. Browsing.txt can also be found
in the docs directory of the Samba source.
If your GUI client does not permit you to select non-browsable
servers, you may need to do so on the command line. For example, under
Lan Manager you might connect to the above service as disk drive M:
-thusly:
-
net use M: \\mary\fred
-
The details of how to do this and the specific syntax varies from
+thusly:
+
+
+ net use M: \\mary\fred
+
+
+
+The details of how to do this and the specific syntax varies from
client to client - check your client's documentation.
@@ -35,15 +40,15 @@ client to client - check your client's documentation.
If you check what files are not showing up, you will note that they
+
+If you check what files are not showing up, you will note that they
are files which contain upper case letters or which are otherwise not
DOS-compatible (ie, they are not legal DOS filenames for some reason).
The Samba server can be configured either to ignore such files
@@ -56,10 +61,10 @@ details of how to change this - the parameter you need to set is
This indicates one of three things: You supplied an incorrect server
+
+This indicates one of three things: You supplied an incorrect server
name, the underlying TCP/IP layer is not working correctly, or the
name you specified cannot be resolved.
After carefully checking that the name you typed is the name you
@@ -86,8 +91,8 @@ tests :-)
-
-
This message indicates that your client CAN locate the specified
+
+This message indicates that your client CAN locate the specified
server, which is a good start, but that it cannot find a service of
the name you gave.
The first step is to check the exact name of the service you are
@@ -104,19 +109,19 @@ to specify a service name correctly), read on:
Nothing is wrong - Samba does not implement the primary domain name
+
+Nothing is wrong - Samba does not implement the primary domain name
controller stuff for several reasons, including the fact that the
whole concept of a primary domain controller and "logging in to a
network" doesn't fit well with clients possibly running on multiuser
machines (such as users of smbclient under Unix). Having said that,
several developers are working hard on building it in to the next
major version of Samba. If you can contribute, send a message to
-samba-bugs!
Seeing this message should not affect your ability to mount redirected
disks and printers, which is really what all this is about.
For many clients (including Windows for Workgroups and Lan Manager),
@@ -127,8 +132,8 @@ setting the domain to STANDALONE at least gets rid of the message.
-
-
Make sure that the specified print command for the service you are
+
+Make sure that the specified print command for the service you are
connecting to is correct and that it has a fully-qualified path (eg.,
use "/usr/bin/lpr" rather than just "lpr").
Make sure that the spool directory specified for the service is
@@ -155,8 +160,8 @@ mechanism.
-
-
There are numerous possible reasons for this, but one MAJOR
+
+There are numerous possible reasons for this, but one MAJOR
possibility is that your software uses locking. Make sure you are
using Samba 1.6.11 or later. It may also be possible to work around
the problem by setting "locking=no" in the Samba configuration file
@@ -173,21 +178,21 @@ Tridgell know via email at
-
-
my client reports the default setting, eg. "Samba 1.9.15p4", instead
+
+OR My client reports the default setting, eg. "Samba 1.9.15p4", instead
of what I have changed it to in the smb.conf file.
You need to use the -C option in nmbd. The "server string" affects
-what smbd puts out and -C affects what nmbd puts out.
-Current versions of Samba (1.9.16p11 +) have combined these options into
+what smbd puts out and -C affects what nmbd puts out.
+
Current versions of Samba (1.9.16 +) have combined these options into
the "server string" field of smb.conf, -C for nmbd is now obsolete.
Your guest account is probably invalid for some reason. Samba uses the
+
+Your guest account is probably invalid for some reason. Samba uses the
guest account for browsing in smbd. Check that your guest account is
valid.
See also 'guest account' in smb.conf man page.
@@ -197,8 +202,8 @@ valid.
-
-
This can have several causes. It might be because you are using a uid
+
+This can have several causes. It might be because you are using a uid
or gid of 65535 or -1. This is a VERY bad idea, and is a big security
hole. Check carefully in your /etc/passwd file and make sure that no
user has uid 65535 or -1. Especially check the "nobody" user, as many
diff --git a/docs/faq/sambafaq-3.html b/docs/faq/sambafaq-3.html
index 4432ee52d8..b2e08ebf51 100644
--- a/docs/faq/sambafaq-3.html
+++ b/docs/faq/sambafaq-3.html
@@ -13,17 +13,16 @@
lkcl - update 09mar97 - the answer is "Yes!". Thursby now have a
-CIFS Client / Server - see
-http://www.thursby.com/. They test it against
-Windows 95, Windows NT and samba for compatibility issues. At
-present, DAVE is at version 1.0.0. DAVE version 1.0.1 is in beta,
-and will be released in April 97 (the speed of finder copies has
+
+Yes! Thursby now have a CIFS Client / Server called DAVE - see
+http://www.thursby.com/.
+They test it against Windows 95, Windows NT and samba for compatibility issues.
+At the time of writing, DAVE was at version 1.0.1. The 1.0.0 to 1.0.1 update is available
+as a free download from the Thursby web site (the speed of finder copies has
been greatly enhanced, and there are bug-fixes included).
Alternatives - There are two free implementations of AppleTalk for
several kinds of UNIX machnes, and several more commercial ones.
@@ -42,8 +41,8 @@ see
-
-
The following answer is provided by John E. Miller:
+
+The following answer is provided by John E. Miller:
I'll assume that you're able to ping back and forth between the
machines by IP address and name, and that you're using some security
model where you're confident that you've got user IDs and passwords
@@ -72,9 +71,8 @@ it.
-
-
To syncronize your PC's clock with your Samba server:
-
+
+To syncronize your PC's clock with your Samba server:
Copy timesync.pif to your windows directory
timesync.pif can be found at:
@@ -82,11 +80,11 @@ it.
Add timesync.pif to your 'Start Up' group/folder
Open the properties dialog box for the program/icon
Make sure the 'Run Minimized' option is set in program 'Properties'
-
Change the command line section that reads \\sambahost to reflect the name of your server.
+
Change the command line section that reads \\sambahost to reflect the name of your server.
Close the properties dialog box by choosing 'OK'
-
-
Each time you start your computer (or login for Win95) your PC will
+
+Each time you start your computer (or login for Win95) your PC will
synchronize it's clock with your Samba server.
Alternativley, if you clients support Domain Logons, you can setup Domain Logons with Samba
- see:
@@ -123,7 +121,8 @@ over this connection. This is unfortunate, but not fatal.
It means that if you run your Samba server in share level security
(the default) then things will definately break as described
above. The share level SMB security model has no provision for
-multiple user IDs on the one SMB connection. See security_level.txt in
+multiple user IDs on the one SMB connection. See
+security_level.txt in
the docs for more info on share/user/server level security.
If you run in user or server level security then you have a chance,
but only if you have a recent version of Samba (at least 1.9.15p6). In
@@ -134,15 +133,15 @@ it can't if your OS has a trapdoor uid system. You'll know this
because Samba will note it in your logs.
Also note that you should not use the magic "homes" share name with
products like these, as otherwise all users will end up with the same
-home directory. Use \\server\username instead.
This info from Stefan Hergeth
+
+This info from Stefan Hergeth
hergeth@f7axp1.informatik.fh-muenchen.de may be useful:
A network-printer (with ethernetcard) is connected to the NT-Clients
via our UNIX-Fileserver (SAMBA-Server), like the configuration told by
@@ -171,8 +170,8 @@ printer properties in the Print-Manager-Menu of NT, but i didn't try it yet.
-
-
This is from Paul Eggert eggert@twinsun.com.
+
+This is from Paul Eggert eggert@twinsun.com.
Most likely it's a problem with your time zone settings.
Internally, Samba maintains time in traditional Unix format,
namely, the number of seconds since 1970-01-01 00:00:00 Universal Time
@@ -207,7 +206,7 @@ TZ='PST8PDT,M4.1.0/2,M10.5.0/2' for US Pacific time.
Posix TZ strings can take the following form (with optional
items in brackets):
where:
@@ -255,10 +254,10 @@ and then reconnecting to it; or upgrade your Samba server to
-
-
Question:
+
+Question:
On NT, I opened "Printer Manager" and "Connect to Printer".
-Enter "\\ptdi270\ps1" in the box of printer. I got the
+Enter "\\ptdi270\ps1" in the box of printer. I got the
following error message:
@@ -271,14 +270,14 @@ following error message:
Answer:
In the more recent versions of Samba you can now set the "printer
driver" in smb.conf. This tells the client what driver to use. For
-example, I have:
+example:
printer driver = HP LaserJet 4L
-and NT knows to use the right driver. You have to get this string
+with this, NT knows to use the right driver. You have to get this string
exactly right.
To find the exact string to use, you need to get to the dialog box in
your client where you select which printer driver to install. The
@@ -292,11 +291,29 @@ in that dialog box.
this is effectively what older versions of Samba did, so if that
-worked for you then give it a go. If this does work then let me know
-and I'll make it the default. Currently the default is a 0 length
+worked for you then give it a go. If this does work then let us know via
+samba-bugs@anu.edu.au,
+and we'll make it the default. Currently the default is a 0 length
string.
+
+
+
+As of SP3, Microsoft has decided that they will no longer default to
+passing clear text passwords over the network. To enable access to
+Samba shares from NT 4.0 SP3, you must do ONE of two things:
+
+
Set the Samba configuration option 'security = user' and implement all of the stuff detailed in
+ENCRYPTION.txt.
+
Follow Microsoft's directions for setting your NT box to allow plain text passwords. see
+Knowledge Base Article Q166730
When installing MS Office on a Samba drive for which you have admin
+
+When installing MS Office on a Samba drive for which you have admin
user permissions, ie. admin users = username, you will find the
setup program unable to complete the installation.
To get around this problem, do the installation without admin user
diff --git a/docs/faq/sambafaq-5.html b/docs/faq/sambafaq-5.html
index d5c9cbae50..0a6e9d08f0 100644
--- a/docs/faq/sambafaq-5.html
+++ b/docs/faq/sambafaq-5.html
@@ -12,6 +12,14 @@ Next
v 0.7, June '97
This is the Frequently Asked Questions (FAQ) document for
Samba, the free and very popular SMB server product. An SMB server
allows file and printer connections from clients such as Windows,
@@ -57,8 +60,9 @@ corrections to the author.
diff --git a/docs/faq/sambafaq.sgml b/docs/faq/sambafaq.sgml
index be84112a8f..df6dd34666 100644
--- a/docs/faq/sambafaq.sgml
+++ b/docs/faq/sambafaq.sgml
@@ -6,6 +6,9 @@
Filled in from current text faq
v 0.7 1 June 1997 Paul
Replicated changes in txt faq to sgml faq
+ 9 June 1997 Paul
+ Lots of changes, added doco list, updated compatible systems list
+ added NT SP3 entry, added Year 2000 entry, Getting ready for 1.9.17
-->
@@ -14,7 +17,7 @@
Paul Blackman, ictinus@lake.canberra.edu.au
-, v 0.7
+v 0.7, June '97
This is the Frequently Asked Questions (FAQ) document for
Samba, the free and very popular SMB server product. An SMB server
@@ -32,7 +35,6 @@ information, how to understand the version numbering scheme, pizza
details
What is Samba?
diff --git a/docs/faq/sambafaq.txt b/docs/faq/sambafaq.txt
index 8014efdc3c..9324df3bde 100644
--- a/docs/faq/sambafaq.txt
+++ b/docs/faq/sambafaq.txt
@@ -1,12 +1,96 @@
Samba FAQ
Paul Blackman, ictinus@lake.canberra.edu.au
- , v 0.7
+ v 0.7, June '97
This is the Frequently Asked Questions (FAQ) document for Samba, the
free and very popular SMB server product. An SMB server allows file
and printer connections from clients such as Windows, OS/2, Linux and
others. Current to version 1.9.17. Please send any corrections to the
author.
+ ______________________________________________________________________
+
+ Table of Contents:
+
+ 1. General Information
+
+ 1.1. What is Samba?
+
+ 1.2. What is the current version of Samba?
+
+ 1.3. Where can I get it?
+
+ 1.4. What do the version numbers mean?
+
+ 1.5. What platforms are supported?
+
+ 1.6. How can I find out more about Samba?
+
+ 1.7. How do I subscribe to the Samba Mailing Lists?
+
+ 1.8. Something's gone wrong - what should I do?
+
+ 1.9. Pizza supply details
+
+ 2. Compiling and installing Samba on a Unix host
+
+ 2.1. I can't see the Samba server in any browse lists!
+
+ 2.2. Some files that I KNOW are on the server doesn't show up when
+ I view the files from my client!
+
+ 2.3. Some files on the server show up with really wierd filenames
+ when I view the files from my client!
+
+ 2.4. My client reports "cannot locate specified computer" or
+ similar
+
+ 2.5. My client reports "cannot locate specified share name" or
+ similar
+
+ 2.6. My client reports "cannot find domain controller", "cannot log
+ on to the network" or similar
+
+ 2.7. Printing doesn't work :-(
+
+ 2.8. My programs install on the server OK, but refuse to work
+ properly
+
+ 2.9. My "server string" doesn't seem to be recognised
+
+ 2.10. My client reports "This server is not configured to list
+ shared resources"
+
+ 2.11. Log message "you appear to have a trapdoor uid system"
+
+ 3. Common client questions
+
+ 3.1. Are there any Macintosh clients for Samba?
+
+ 3.2. "Session request failed (131,130)" error
+
+ 3.3. How do I synchronise my PC's clock with my Samba server?
+
+ 3.4. Problems with WinDD, NTrigue, WinCenterPro etc
+
+ 3.5. Problem with printers under NT
+
+ 3.6. Why are my file's timestamps off by an hour, or by a few
+ hours?
+
+ 3.7. How do I set the printer driver name correctly?
+
+ 3.8. I've applied NT 4.0 SP3, and now I can't access Samba shares,
+ Why?
+
+ 4. Specific client application problems
+
+ 4.1. MS Office Setup reports "Cannot change properties of
+ 'MSOFFICEUP.INI'"
+
+ 5. Miscellaneous
+
+ 5.1. Is Samba Year 2000 compliant?
+ ______________________________________________________________________
1. General Information
@@ -20,7 +104,6 @@
1.1. What is Samba?
-
Samba is a suite of programs which work together to allow clients to
access to a server's filespace and printers via the SMB (Server
Message Block) protocol. Initially written for Unix, Samba now also
@@ -39,29 +122,30 @@
The components of the suite are (in summary):
- · smbd, the SMB server. This handles actual connections from clients,
+ o smbd, the SMB server. This handles actual connections from clients,
doing all the file, permission and username work
- · nmbd, the Netbios name server, which helps clients locate servers,
+ o nmbd, the Netbios name server, which helps clients locate servers,
doing the browsing work and managing domains as this capability is
being built into Samba
- · smbclient, the Unix-hosted client program
- · smbrun, a little 'glue' program to help the server run external
+ o smbclient, the Unix-hosted client program
+
+ o smbrun, a little 'glue' program to help the server run external
programs
- · testprns, a program to test server access to printers
+ o testprns, a program to test server access to printers
- · testparms, a program to test the Samba configuration file for
+ o testparms, a program to test the Samba configuration file for
correctness
- · smb.conf, the Samba configuration file
+ o smb.conf, the Samba configuration file
- · smbprint, a sample script to allow a Unix host to use smbclient to
+ o smbprint, a sample script to allow a Unix host to use smbclient to
print to an SMB server
- · documentation! DON'T neglect to read it - you will save a great
+ o Documentation! DON'T neglect to read it - you will save a great
deal of time!
The suite is supplied with full source (of course!) and is GPLed.
@@ -74,8 +158,7 @@
1.2. What is the current version of Samba?
-
- At time of writing, the current version was 1.9.16. If you want to be
+ At time of writing, the current version was 1.9.17. If you want to be
sure check the bottom of the change-log file.
@@ -85,7 +168,6 @@
1.3. Where can I get it?
-
The Samba suite is available via anonymous ftp from samba.anu.edu.au.
The latest and greatest versions of the suite are in the directory:
@@ -106,7 +188,6 @@
1.4. What do the version numbers mean?
-
It is not recommended that you run a version of Samba with the word
"alpha" in its name unless you know what you are doing and are willing
to do some debugging. Many, many people just get the latest
@@ -115,138 +196,240 @@
but don't install it on your departmental server. Samba is typically
very stable and safe, and this is mostly due to the policy of many
public releases.
-
How the scheme works:
- 1. when major changes are made the version number is increased. For
+ 1. When major changes are made the version number is increased. For
example, the transition from 1.9.15 to 1.9.16. However, this
version number will not appear immediately and people should
continue to use 1.9.15 for production systems (see next point.)
- 2. just after major changes are made the software is considered
+ 2. Just after major changes are made the software is considered
unstable, and a series of alpha releases are distributed, for
example 1.9.16alpha1. These are for testing by those who know what
they are doing. The "alpha" in the filename will hopefully scare
off those who are just looking for the latest version to install.
-
- 3. when Andrew thinks that the alphas have stabilised to the point
+ 3. When Andrew thinks that the alphas have stabilised to the point
where he would recommend new users install it, he renames it to the
same version number without the alpha, for example 1.9.16.
- 4. inevitably bugs are found in the "stable" releases and minor patch
+ 4. Inevitably bugs are found in the "stable" releases and minor patch
levels are released which give us the pXX series, for example
1.9.16p2.
So the progression goes:
- 1.9.15p7 (production)
- 1.9.15p8 (production)
- 1.9.16alpha1 (test sites only)
- :
- 1.9.16alpha20 (test sites only)
- 1.9.16 (production)
- 1.9.16p1 (production)
+ 1.9.15p7 (production)
+ 1.9.15p8 (production)
+ 1.9.16alpha1 (test sites only)
+ :
+ 1.9.16alpha20 (test sites only)
+ 1.9.16 (production)
+ 1.9.16p1 (production)
The above system means that whenever someone looks at the samba ftp
site they will be able to grab the highest numbered release without an
- alpha in the name and be sure of getting the current recommended ver
+ alpha in the name and be sure of getting the current recommended ver-
sion.
1.5. What platforms are supported?
-
Many different platforms have run Samba successfully. The platforms
most widely used and thus best tested are Linux and SunOS.
At time of writing, the Makefile claimed support for:
- · SunOS
+ o A/UX 3.0
+
+ o AIX
+
+ o Altos Series 386/1000
- · Linux with shadow passwords
+ o Amiga
- · Linux without shadow passwords
+ o Apollo Domain/OS sr10.3
- · SOLARIS
+ o BSDI
- · SOLARIS 2.2 and above (aka SunOS 5)
+ o B.O.S. (Bull Operating System)
- · SVR4
+ o Cray, Unicos 8.0
- · ULTRIX
+ o Convex
- · OSF1 (alpha only)
+ o DGUX.
- · OSF1 with NIS and Fast Crypt (alpha only)
+ o DNIX.
- · OSF1 V2.0 Enhanced Security (alpha only)
+ o FreeBSD
- · AIX
+ o HP-UX
- · BSDI
+ o Intergraph.
- · NetBSD
+ o Linux with/without shadow passwords and quota
- · NetBSD 1.0
+ o LYNX 2.3.0
- · SEQUENT
+ o MachTen (a unix like system for Macintoshes)
- · HP-UX
+ o Motorola 88xxx/9xx range of machines
- · SGI
+ o NetBSD
- · SGI IRIX 4.x.x
+ o NEXTSTEP Release 2.X, 3.0 and greater (including OPENSTEP for
+ Mach).
- · SGI IRIX 5.x.x
+ o OS/2 using EMX 0.9b
- · FreeBSD
+ o OSF1
- · NeXT 3.2 and above
+ o QNX 4.22
- · NeXT OS 2.x
+ o RiscIX.
- · NeXT OS 3.0
+ o RISCOs 5.0B
- · ISC SVR3V4 (POSIX mode)
+ o SEQUENT.
- · ISC SVR3V4 (iBCS2 mode)
+ o SCO (including: 3.2v2, European dist., OpenServer 5)
- · A/UX 3.0
+ o SGI.
- · SCO with shadow passwords.
+ o SMP_DC.OSx v1.1-94c079 on Pyramid S series
- · SCO with shadow passwords, without YP.
+ o SONY NEWS, NEWS-OS (4.2.x and 6.1.x)
- · SCO with TCB passwords
+ o SUNOS 4
- · SCO 3.2v2 (ODT 1.1) with TCP passwords
+ o SUNOS 5.2, 5.3, and 5.4 (Solaris 2.2, 2.3, and '2.4 and later')
- · intergraph
+ o Sunsoft ISC SVR3V4
- · DGUX
+ o SVR4
- · Apollo Domain/OS sr10.3 (BSD4.3)
+ o System V with some berkely extensions (Motorola 88k R32V3.2).
+
+ o ULTRIX.
+
+ o UNIXWARE
+
+ o UXP/DS
1.6. How can I find out more about Samba?
+ There are a number of places to look for more information on Samba,
+ including:
+
+ o Two mailing lists devoted to discussion of Samba-related matters.
+
+ o The newsgroup, comp.protocols.smb, which has a great deal of
+ discussion on Samba.
+
+ o The WWW site 'SAMBA Web Pages' at
+ includes:
+
+ o Links to man pages and documentation, including this FAQ
+
+ o A comprehensive survey of Samba users.
+
+ o A searchable hypertext archive of the Samba mailing list.
+
+ o Links to Samba source code, binaries, and mirrors of both.
+
+ o The long list of topic documentation. These files can be found in
+ the 'docs' directory of the Samba source, or at
+
+
+ o Application_Serving.txt
+
+
+ o BROWSING.txt
+
+ o BUGS.txt
+
+ o DIAGNOSIS.txt
+
+ o DNIX.txt
+
+ o DOMAIN.txt
+
+ o CONTROL.txt
+
+
+ o ENCRYPTION.txt
+
+
+ o Faxing.txt
+
+ o GOTCHAS.txt
+
+ o HINTS.txt
+
+ o INSTALL.sambatar
+
+
+ o INSTALL.txt
+
+ o MIRRORS
+
+ o NetBIOS.txt
+
+ o OS2.txt
+
+ o PROJECTS
+
+ o Passwords.txt
+
+ o Printing.txt
+
+ o README.DCEDFS
+
+ o README.OS2
+
+ o README.jis
+
+ o README.sambatar
+
+
+ o SCO.txt
+
+ o SMBTAR.notes
+
+ o Speed.txt
+
+ o Support.txt
+
+ o THANKS
+
+ o Tracing.txt
+
+ o SMB.txt
+
+ o Warp.txt
+
+ o WinNT.txt
+
+ o history
+
+ o level.txt
+
+
+ o slip.htm
+
+
+ 1.7. How do I subscribe to the Samba Mailing Lists?
- There are two mailing lists devoted to discussion of Samba-related
- matters. There is also the newsgroup, comp.protocols.smb, which has a
- great deal of discussion on Samba. There is also a WWW site 'SAMBA Web
- Pages' at , under
- which there is a comprehensive survey of Samba users. Another useful
- resource is the hypertext archive of the Samba mailing list.
Send email to listproc@samba.anu.edu.au. Make sure the subject line is
blank, and include the following two lines in the body of the message:
-
subscribe samba Firstname Lastname
subscribe samba-announce Firstname Lastname
@@ -267,19 +450,17 @@
include the following two lines in the body of the message:
-
unsubscribe samba
unsubscribe samba-announce
- The From: line in your message ____ be the same address you used when
+ The From: line in your message MUST be the same address you used when
you subscribed.
- 1.7. Something's gone wrong - what should I do?
-
+ 1.8. Something's gone wrong - what should I do?
# *** IMPORTANT! *** #
@@ -290,7 +471,8 @@
Firstly, see if there are any likely looking entries in this FAQ! If
you have just installed Samba, have you run through the checklist in
DIAGNOSIS.txt ? It can
- save you a lot of time and effort.
+ save you a lot of time and effort. DIAGNOSIS.txt can also be found in
+ the docs directory of the Samba distribution.
Secondly, read the man pages for smbd, nmbd and smb.conf, looking for
topics that relate to what you are trying to do.
@@ -315,12 +497,11 @@
If you make changes to the source code, _please_ submit these patches
so that everyone else gets the benefit of your work. This is one of
the most important aspects to the maintainence of Samba. Send all
- patches to samba-bugs@samba.anu.edu.au, not Andrew Tridgell or any
- other individual and not the samba team mailing list.
+ patches to samba-bugs@samba.anu.edu.au. Do not send patches to Andrew
+ Tridgell or any other individual, they may be lost if you do.
- 1.8. Pizza supply details
-
+ 1.9. Pizza supply details
Those who have registered in the Samba survey as "Pizza Factory" will
@@ -328,6 +509,7 @@
for payment, but he does appreciate it when people give him pizza.
This calls for a little organisation when the pizza donor is twenty
thousand kilometres away, but it has been done.
+
Method 1: Ring up your local branch of an international pizza chain
and see if they honour their vouchers internationally. Pizza Hut do,
which is how the entire Canberra Linux Users Group got to eat pizza
@@ -343,6 +525,7 @@
useless but he can hang it on the wall next to the one he already has
from Germany :-)
+
Method 4: Air freight him a pizza with your favourite regional
flavours. It will probably get stuck in customs or torn apart by
hungry sniffer dogs but it will have been a noble gesture.
@@ -352,7 +535,6 @@
-
2.1. I can't see the Samba server in any browse lists!
@@ -365,7 +547,11 @@
Lan Manager you might connect to the above service as disk drive M:
thusly:
- net use M: \maryed
+
+ net use M: \\mary\fred
+
+
+
The details of how to do this and the specific syntax varies from
client to client - check your client's documentation.
@@ -375,13 +561,12 @@
view the files from my client!
-
+ See the next question.
2.3. Some files on the server show up with really wierd filenames
when I view the files from my client!
-
If you check what files are not showing up, you will note that they
are files which contain upper case letters or which are otherwise not
DOS-compatible (ie, they are not legal DOS filenames for some reason).
@@ -397,7 +582,6 @@
2.4. My client reports "cannot locate specified computer" or similar
-
This indicates one of three things: You supplied an incorrect server
name, the underlying TCP/IP layer is not working correctly, or the
name you specified cannot be resolved.
@@ -407,6 +591,7 @@
to somewhere on your network to see if TCP/IP is functioning OK. If it
is, the problem is most likely name resolution.
+
If your client has a facility to do so, hardcode a mapping between the
hosts IP and the name you want to use. For example, with Man Manager
or Windows for Workgroups you would put a suitable entry in the file
@@ -425,11 +610,10 @@
tests :-)
- 2.5. My client reports "cannot locate specified share name" or simi
+ 2.5. My client reports "cannot locate specified share name" or simi-
lar
-
This message indicates that your client CAN locate the specified
server, which is a good start, but that it cannot find a service of
the name you gave.
@@ -440,20 +624,19 @@
to specify a service name correctly), read on:
- · Many clients cannot accept or use service names longer than eight
+ o Many clients cannot accept or use service names longer than eight
characters.
- · Many clients cannot accept or use service names containing spaces.
+ o Many clients cannot accept or use service names containing spaces.
- · Some servers (not Samba though) are case sensitive with service
+ o Some servers (not Samba though) are case sensitive with service
names.
- · Some clients force service names into upper case.
+ o Some clients force service names into upper case.
- 2.6. on to the network" or similar My client reports "cannot find
- domain controller", "cannot log
-
+ 2.6. My client reports "cannot find domain controller", "cannot log
+ on to the network" or similar
Nothing is wrong - Samba does not implement the primary domain name
@@ -463,7 +646,7 @@
machines (such as users of smbclient under Unix). Having said that,
several developers are working hard on building it in to the next
major version of Samba. If you can contribute, send a message to
- samba-bugs!
+ samba-bugs@anu.edu.au !
Seeing this message should not affect your ability to mount redirected
disks and printers, which is really what all this is about.
@@ -472,10 +655,12 @@
setting the domain to STANDALONE at least gets rid of the message.
- 2.7. Printing doesn't work :-(
+ 2.7. Printing doesn't work :-(
+
+
Make sure that the specified print command for the service you are
connecting to is correct and that it has a fully-qualified path (eg.,
use "/usr/bin/lpr" rather than just "lpr").
@@ -504,7 +689,7 @@
mechanism.
- 2.8. My programs install on the server OK, but refuse to work prop
+ 2.8. My programs install on the server OK, but refuse to work prop-
erly
@@ -524,17 +709,18 @@
2.9. My "server string" doesn't seem to be recognised
- my client reports the default setting, eg. "Samba 1.9.15p4", instead
- of what I have changed it to in the smb.conf file.
+ OR My client reports the default setting, eg. "Samba 1.9.15p4",
+ instead of what I have changed it to in the smb.conf file.
+
You need to use the -C option in nmbd. The "server string" affects
- what smbd puts out and -C affects what nmbd puts out. Current
- versions of Samba (1.9.16p11 +) have combined these options into the
- "server string" field of smb.conf, -C for nmbd is now obsolete.
+ what smbd puts out and -C affects what nmbd puts out.
+ Current versions of Samba (1.9.16 +) have combined these options into
+ the "server string" field of smb.conf, -C for nmbd is now obsolete.
- 2.10. resources" My client reports "This server is not configured to
- list shared
+ 2.10. My client reports "This server is not configured to list shared
+ resources"
Your guest account is probably invalid for some reason. Samba uses the
@@ -584,16 +770,15 @@
- 3.1. Are any Macintosh clients for Samba
+ 3.1. Are there any Macintosh clients for Samba?
-
- lkcl - update 09mar97 - the answer is "Yes!". Thursby now have a CIFS
- Client / Server - see . They test it
- against Windows 95, Windows NT and samba for compatibility issues. At
- present, DAVE is at version 1.0.0. DAVE version 1.0.1 is in beta, and
- will be released in April 97 (the speed of finder copies has been
- greatly enhanced, and there are bug-fixes included).
+ Yes! Thursby now have a CIFS Client / Server called DAVE - see
+ . They test it against Windows 95, Windows
+ NT and samba for compatibility issues. At the time of writing, DAVE
+ was at version 1.0.1. The 1.0.0 to 1.0.1 update is available as a free
+ download from the Thursby web site (the speed of finder copies has
+ been greatly enhanced, and there are bug-fixes included).
Alternatives - There are two free implementations of AppleTalk for
several kinds of UNIX machnes, and several more commercial ones.
@@ -605,12 +790,9 @@
Windows users, these packages offer to Macs. For more info on these
packages, Samba, and Linux (and other UNIX-based systems) see
-
-
3.2. Session request failed (131,130)" error
-
The following answer is provided by John E. Miller:
I'll assume that you're able to ping back and forth between the
@@ -642,26 +824,24 @@
To syncronize your PC's clock with your Samba server:
+ o Copy timesync.pif to your windows directory
- · Copy timesync.pif to your windows directory
-
- · timesync.pif can be found at:
+ o timesync.pif can be found at:
- · Add timesync.pif to your 'Start Up' group/folder
+ o Add timesync.pif to your 'Start Up' group/folder
- · Open the properties dialog box for the program/icon
+ o Open the properties dialog box for the program/icon
- · Make sure the 'Run Minimized' option is set in program 'Properties'
+ o Make sure the 'Run Minimized' option is set in program 'Properties'
- · Change the command line section that reads \sambahost to reflect
+ o Change the command line section that reads \sambahost to reflect
the name of your server.
+ o Close the properties dialog box by choosing 'OK'
- · Close the properties dialog box by choosing 'OK'
-
- Each time you start your computer (or login for Win95) your PC will
- synchronize it's clock with your Samba server.
+ Each time you start your computer (or login for Win95) your PC will
+ synchronize it's clock with your Samba server.
Alternativley, if you clients support Domain Logons, you can setup
Domain Logons with Samba - see: BROWSING.txt
@@ -702,8 +882,9 @@
It means that if you run your Samba server in share level security
(the default) then things will definately break as described above.
The share level SMB security model has no provision for multiple user
- IDs on the one SMB connection. See security_level.txt in the docs for
- more info on share/user/server level security.
+ IDs on the one SMB connection. See security_level.txt
+ in the docs
+ for more info on share/user/server level security.
If you run in user or server level security then you have a chance,
but only if you have a recent version of Samba (at least 1.9.15p6). In
@@ -722,8 +903,6 @@
3.5. Problem with printers under NT
-
-
This info from Stefan Hergeth hergeth@f7axp1.informatik.fh-muenchen.de
may be useful:
@@ -789,26 +968,25 @@
strings can take the following form (with optional items in
brackets):
-
- StdOffset[Dst[Offset],Date/Time,Date/Time]
+ StdOffset[Dst[Offset],Date/Time,Date/Time]
where:
- · `Std' is the standard time designation (e.g. `PST').
+ o `Std' is the standard time designation (e.g. `PST').
- · `Offset' is the number of hours behind UTC (e.g. `8'). Prepend
+ o `Offset' is the number of hours behind UTC (e.g. `8'). Prepend
a `-' if you are ahead of UTC, and append `:30' if you are at a
half-hour offset. Omit all the remaining items if you do not
use daylight-saving time.
- · `Dst' is the daylight-saving time designation (e.g. `PDT').
+ o `Dst' is the daylight-saving time designation (e.g. `PDT').
The optional second `Offset' is the number of hours that
daylight-saving time is behind UTC. The default is 1 hour ahead
of standard time.
- · `Date/Time,Date/Time' specify when daylight-saving time starts
+ o `Date/Time,Date/Time' specify when daylight-saving time starts
and ends. The format for a date is `Mm.n.d', which specifies
the dth day (0 is Sunday) of the nth week of the mth month,
where week 5 means the last such day in the month. The format
@@ -846,7 +1024,7 @@
In the more recent versions of Samba you can now set the "printer
driver" in smb.conf. This tells the client what driver to use. For
- example, I have:
+ example:
printer driver = HP LaserJet 4L
@@ -854,8 +1032,9 @@
- and NT knows to use the right driver. You have to get this string
- exactly right.
+ with this, NT knows to use the right driver. You have to get this
+ string exactly right.
+
To find the exact string to use, you need to get to the dialog box in
your client where you select which printer driver to install. The
correct strings for all the different printers are shown in a listbox
@@ -870,20 +1049,36 @@
this is effectively what older versions of Samba did, so if that
- worked for you then give it a go. If this does work then let me know
- and I'll make it the default. Currently the default is a 0 length
- string.
+ worked for you then give it a go. If this does work then let us know
+ via samba-bugs@anu.edu.au, and we'll make it the default. Currently
+ the default is a 0 length string.
- 4. Specific client application problems
+ 3.8. I've applied NT 4.0 SP3, and now I can't access Samba shares,
+ Why?
+
+
+ As of SP3, Microsoft has decided that they will no longer default to
+ passing clear text passwords over the network. To enable access to
+ Samba shares from NT 4.0 SP3, you must do ONE of two things:
+
+ 1. Set the Samba configuration option 'security = user' and implement
+ all of the stuff detailed in ENCRYPTION.txt
+ .
+ 2. Follow Microsoft's directions for setting your NT box to allow
+ plain text passwords. see Knowledge Base Article Q166730
+
+ 4. Specific client application problems
+
- 4.1. MS Office Setup reports "Cannot change properties of "MSOF
- FICEUP.INI"
+ 4.1. MS Office Setup reports "Cannot change properties of 'MSOF-
+ FICEUP.INI'"
+
When installing MS Office on a Samba drive for which you have admin
user permissions, ie. admin users = username, you will find the setup
@@ -902,9 +1097,11 @@
+ 5.1. Is Samba Year 2000 compliant?
-
+ The CIFS protocol that Samba implements negotiates times in various
+ formats, all of which are able to cope with dates beyond 2000.
--
cgit