From be5c7253dab694bc98f3906e37b6ca29ae8e8cf2 Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Sun, 1 Jun 1997 08:12:12 +0000 Subject: Updated sgml and html FAQ. Paul. --- docs/faq/sambafaq-1.html | 183 ++++++++++++++++++++---------------- docs/faq/sambafaq-2.html | 38 ++++---- docs/faq/sambafaq-3.html | 240 ++++++++++++++++++++++++++--------------------- docs/faq/sambafaq.html | 10 +- docs/faq/sambafaq.sgml | 205 ++++++++++++++++++---------------------- 5 files changed, 351 insertions(+), 325 deletions(-) diff --git a/docs/faq/sambafaq-1.html b/docs/faq/sambafaq-1.html index 8bee1a37da5..847c7586326 100644 --- a/docs/faq/sambafaq-1.html +++ b/docs/faq/sambafaq-1.html @@ -38,30 +38,21 @@ flexibility designed to make life easier for administrators.

The suite is supplied with full source (of course!) and is GPLed.

@@ -114,31 +105,39 @@ all means take the plunge and help with the testing and development - 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 +

How the scheme works: +

    +
  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 +1.9.15 for production systems (see next point.) +

  2. +
  3. 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 +are just looking for the latest version to install. +

  4. +
  5. 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 -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)

    -

    The above system means that whenever someone looks at the samba ftp +same version number without the alpha, for example 1.9.16. +

  6. +
  7. 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.
  8. +
+ +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)
+
+ +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 version.

@@ -151,40 +150,43 @@ version.

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) -* AIX -* BSDI -* NetBSD -* NetBSD 1.0 -* SEQUENT -* HP-UX -* SGI -* SGI IRIX 4.x.x -* SGI IRIX 5.x.x -* 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)

+

At time of writing, the Makefile claimed support for: +

+

1.6 How can I find out more about Samba?

@@ -195,13 +197,21 @@ most widely used and thus best tested are Linux and SunOS.

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 +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 +

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

+

+

+
+subscribe samba Firstname Lastname
+subscribe samba-announce Firstname Lastname
+
+
+

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.

@@ -210,11 +220,17 @@ regurgitates a single message containing all the messages that have 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 +listproc@samba.anu.edu.au. Make sure the subject line is blank, and 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 +

+

+
+unsubscribe samba
+unsubscribe samba-announce
+
+
+

+

The From: line in your message MUST be the same address you used when you subscribed.

@@ -223,12 +239,12 @@ you subscribed.

-

# *** IMPORTANT! *** # -DO NOT post messages on mailing lists or in newsgroups until you have +

# *** IMPORTANT! *** #

+

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.

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 @@ -249,7 +265,8 @@ I can incorporate it in the next version.

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 +patches to +samba-bugs@samba.anu.edu.au, not Andrew Tridgell or any other individual and not the samba team mailing list.

diff --git a/docs/faq/sambafaq-2.html b/docs/faq/sambafaq-2.html index f8e6bc7e9db..9f350052f6e 100644 --- a/docs/faq/sambafaq-2.html +++ b/docs/faq/sambafaq-2.html @@ -18,9 +18,10 @@

-

*** Until the FAQ can be updated, please check the file: -*** ftp://samba.anu.edu.au/pub/samba/BROWSING.txt -*** for more information on browsing.

+

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: @@ -30,14 +31,14 @@ thusly:

client to client - check your client's documentation.

-

2.2 Some files that I KNOW are on the server doesn't show up when Iview the files from my client!

+

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 whenI 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!

@@ -81,7 +82,7 @@ Two of this FAQ for more ideas.

tests :-)

-

2.5 My client reports "cannot locate specified share name" orsimilar

+

2.5 My client reports "cannot locate specified share name" or similar

@@ -93,14 +94,14 @@ the name you gave.

trying to connect to (consult your system administrator). Assuming it exists and you specified it correctly (read your client's doco on how to specify a service name correctly), read on:

-

* Many clients cannot accept or use service names longer than -eight -characters. -* Many clients cannot accept or use service names containing -spaces. -* Some servers (not Samba though) are case sensitive with service -names. -* Some clients force service names into upper case.

+

+

+

2.6 My client reports "cannot find domain controller", "cannot logon to the network" or similar

@@ -164,7 +165,8 @@ as a strictly temporary solution.

In earlier Samba versions there were some difficulties with the very latest Microsoft products, particularly Excel 5 and Word for Windows 6. These should have all been solved. If not then please let Andrew -Tridgell know.

+Tridgell know via email at +samba-bugs@anu.edu.au.

2.9 My "server string" doesn't seem to be recognised

@@ -175,9 +177,9 @@ Tridgell know.

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. In a future -version these will probably be combined and -C will be removed, but -for now use -C

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

2.10 My client reports "This server is not configured to list sharedresources"

diff --git a/docs/faq/sambafaq-3.html b/docs/faq/sambafaq-3.html index 01401017b96..4432ee52d8b 100644 --- a/docs/faq/sambafaq-3.html +++ b/docs/faq/sambafaq-3.html @@ -18,26 +18,24 @@

-

In Rob Newberry's words (rob@eats.com, Sun, 4 Dec 1994):

-

The answer is "No." Samba speaks SMB, the protocol used for Microsoft -networks. The Macintosh has ALWAYS spoken Appletalk. Even with -Microsoft "services for Macintosh", it has been a matter of making the -server speak Appletalk. It is the same for Novell Netware and the -Macintosh, although I believe Novell has (VERY LATE) released an -extension for the Mac to let it speak IPX.

-

In future Apple System Software, you may see support for other -protocols, such as SMB -- Applet is working on a new networking -architecture that will --> -- make it easier to support additional -protocols. But it's not here yet.

-

Now, the nice part is that if you want your Unix machine to speak -Appletalk, there are several options. "Netatalk" and "CAP" are free, -and available on the net. There are also several commercial options, -such as "PacerShare" and "Helios" (I think). In any case, you'll have -to look around for a server, not anything for the Mac.

-

Depending on you OS, some of these may not help you. I am currently -coordinating the effort to get CAP working with Native Ethertalk under -Linux, but we're not done yet.

- +

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 +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. +These products allow you to run file services and print services +natively to Macintosh users, with no additional support required on +the Macintosh. The two free omplementations are Netatalk, +http://www.umich.edu/~rsug/netatalk/, and CAP, +http://www.cs.mu.oz.au/appletalk/atalk.html. What Samba offers +MS Windows users, these packages offer to Macs. For more info on +these packages, Samba, and Linux (and other UNIX-based systems) +see +http://www.eats.com/linux_mac_win.html

3.2 "Session request failed (131,130)" error

@@ -76,20 +74,31 @@ it.

To syncronize your PC's clock with your Samba server:

-

* Copy timesync.pif to your windows directory -* timesync.pif can be found at: -http://samba.canberra.edu.au/pub/samba/binaries/miscellaneous/timesync.pif -* 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. -* 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.

+

Alternativley, if you clients support Domain Logons, you can setup Domain Logons with Samba +- see: +BROWSING.txt *** for more information.

+

Then add +

+
+NET TIME \\%L /SET /YES
+
+
+as one of the lines in the logon script.

3.4 Problems with WinDD, NTrigue, WinCenterPro etc

@@ -137,24 +146,25 @@ home directory. Use \\server\username instead.

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 -Matthew Harrell harrell@leech.nrl.navy.mil (see WinNT.txt)

-

1.) If a user has choosen this printer as the default printer in his +Matthew Harrell harrell@leech.nrl.navy.mil (see WinNT.txt) +

    +
  1. If a user has choosen this printer as the default printer in his NT-Session and this printer is not connected to the network (e.g. switched off) than this user has a problem with the SAMBA- -connection of his filesystems. It's very slow.

    -

    2.) If the printer is connected to the network everything works fine.

    -

    3.) When the smbd ist started with debug level 3, you can see that -the -NT spooling system try to connect to the printer many times. If -the -printer ist not connected to the network this request fails and -the -NT spooler is wasting a lot of time to connect to the printer -service. -This seems to be the reason for the slow network connection.

    -

    4.) Maybe it's possible to change this behaviour by setting different -printer properties in the Print-Manager-Menu of NT, but i didn't try -it yet.

    +connection of his filesystems. It's very slow. +
  2. +
  3. If the printer is connected to the network everything works fine. +
  4. +
  5. When the smbd ist started with debug level 3, you can see that the +NT spooling system try to connect to the printer many times. If the +printer ist not connected to the network this request fails and the +NT spooler is wasting a lot of time to connect to the printer service. +This seems to be the reason for the slow network connection. +
  6. +
  7. Maybe it's possible to change this behaviour by setting different +printer properties in the Print-Manager-Menu of NT, but i didn't try it yet.
  8. +
+

3.6 Why are my file's timestamps off by an hour, or by a few hours?

@@ -168,64 +178,70 @@ it yet.

namely, the number of seconds since 1970-01-01 00:00:00 Universal Time (or ``GMT''), not counting leap seconds.

On the server side, Samba uses the Unix TZ variable to convert -internal -timestamps to and from local time. So on the server side, there are -two -things to get right.

-

1. The Unix system clock must have the correct Universal -time. -Use the shell command "sh -c 'TZ=UTC0 date'" to check this.

-

2. The TZ environment variable must be set on the server +internal timestamps to and from local time. So on the server side, there are +two things to get right. +

    +
  1. The Unix system clock must have the correct Universal time. +Use the shell command "sh -c 'TZ=UTC0 date'" to check this. +
  2. +
  3. The TZ environment variable must be set on the server before Samba is invoked. The details of this depend on the server OS, but typically you must edit a file whose name is -/etc/TIMEZONE or /etc/default/init, or run the command `zic --l'.

    -

    3. TZ must have the correct value.

    -

    3a. If possible, use geographical time zone settings +/etc/TIMEZONE or /etc/default/init, or run the command `zic -l'. +

  4. +
  5. TZ must have the correct value. +
      +
    1. If possible, use geographical time zone settings (e.g. TZ='America/Los_Angeles' or perhaps TZ=':US/Pacific'). These are supported by most popular Unix OSes, are easier to get right, and are more accurate for historical timestamps. If your operating system has out-of-date tables, you should be able to update them from the public domain time zone -tables at URL:ftp://elsie.nci.nih.gov/pub/.

      -

      3b. If your system does not support geographical time -zone +tables at +ftp://elsie.nci.nih.gov/pub/. +

    2. +
    3. If your system does not support geographical timezone settings, you must use a Posix-style TZ strings, e.g. 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):

      -

      StdOffsetDst[Offset,Date/Time,Date/Time]

      -

      where:

      -

      `Std' is the standard time designation -(e.g. `PST').

      -

      `Offset' is the number of hours behind UTC -(e.g. `8'). +Posix TZ strings can take the following form (with optional +items in brackets): +

      +                        StdOffset[Dst[Offset],Date/Time,Date/Time]
      +
      + +where: +
        +
      • `Std' is the standard time designation (e.g. `PST'). +
      • +
      • `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').

        -

        The optional second `Offset' is the number of +daylight-saving time. +

      • +
      • `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 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 -for a -time is hh:mm[:ss], using a 24-hour clock.

        -

        Other Posix string formats are allowed but you don't -want -to know about them.

        -

        On the client side, you must make sure that your client's clock and +The default is 1 hour ahead of standard time. +

      • +
      • `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 for a +time is hh:mm[:ss], using a 24-hour clock.
      • +
      + +Other Posix string formats are allowed but you don't want +to know about them.
    4. +
    +
  6. +
+ +On the client side, you must make sure that your client's clock and time zone is also set appropriately. [I don't know how to do this.] Samba traditionally has had many problems dealing with time zones, due to the bizarre ways that Microsoft network protocols handle time @@ -241,27 +257,41 @@ and then reconnecting to it; or upgrade your Samba server to

Question: -> On NT, I opened "Printer Manager" and "Connect to Printer". -> Enter "\\ptdi270\ps1" in the box of printer. I got the -> following error message: -> -> You do not have sufficient access to your machine -> to connect to the selected printer, since a driver -> needs to be installed locally.

-

Answer:

+On NT, I opened "Printer Manager" and "Connect to Printer". +Enter "\\ptdi270\ps1" in the box of printer. I got the +following error message: +
+
+     You do not have sufficient access to your machine
+     to connect to the selected printer, since a driver
+     needs to be installed locally.
+
+
+ +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:

-

printer driver = HP LaserJet 4L

-

and NT knows to use the right driver. You have to get this string +example, I have: +

+
+     printer driver = HP LaserJet 4L
+
+
+ +and 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 in that dialog box.

-

You could also try setting the driver to NULL like this:

-

printer driver = NULL

-

this is effectively what older versions of Samba did, so if that +

You could also try setting the driver to NULL like this: +

+
+     printer driver = NULL
+
+
+ +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.

diff --git a/docs/faq/sambafaq.html b/docs/faq/sambafaq.html index a86d71320ec..9d777bd4baf 100644 --- a/docs/faq/sambafaq.html +++ b/docs/faq/sambafaq.html @@ -42,11 +42,11 @@ Table of Contents

Samba FAQ

-

Paul Blackman, ictinus@lake.canberra.edu.au

, v 0.5 +

Paul Blackman, ictinus@lake.canberra.edu.au

, v 0.7


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.16. Please send any +OS/2, Linux and others. Current to version 1.9.17. Please send any corrections to the author.

1. General Information

@@ -65,10 +65,10 @@ corrections to the author.

2. Compiling and installing Samba on a Unix host