mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Updated txt faq. Paul HMM. emacs... how do i quit...
it's very dark in here ---------------------------------------------------------------------- CVS: CVS: ---------------------------------------------------------------------- (This used to be commit 7bf9582a288d670de3bba57eefe9419e44dd1e9c)
This commit is contained in:
parent
9b11bb26b1
commit
522fc5b039
@ -1,97 +1,25 @@
|
|||||||
Samba FAQ
|
Samba FAQ
|
||||||
Paul Blackman, ictinus@lake.canberra.edu.au
|
Paul Blackman, iiccttiinnuuss@@llaakkee..ccaannbbeerrrraa..eedduu..aauu
|
||||||
, v 0.5
|
, v 0.7
|
||||||
|
|
||||||
This is the Frequently Asked Questions (FAQ) document for Samba, the
|
This is the Frequently Asked Questions (FAQ) document for Samba, the
|
||||||
free and very popular SMB server product. An SMB server allows file
|
free and very popular SMB server product. An SMB server allows file
|
||||||
and printer connections from clients such as Windows, OS/2, Linux and
|
and printer connections from clients such as Windows, OS/2, Linux and
|
||||||
others. Current to version 1.9.16. Please send any corrections to the
|
others. Current to version 1.9.17. Please send any corrections to the
|
||||||
author.
|
author.
|
||||||
______________________________________________________________________
|
|
||||||
|
|
||||||
Table of Contents:
|
11.. GGeenneerraall IInnffoorrmmaattiioonn
|
||||||
|
|
||||||
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. Something's gone wrong - what should I do?
|
|
||||||
|
|
||||||
1.8. 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 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?
|
|
||||||
|
|
||||||
4. Specific client application problems
|
|
||||||
|
|
||||||
4.1. MS Office Setup reports "Cannot change properties of
|
|
||||||
"MSOFFICEUP.INI"
|
|
||||||
|
|
||||||
5. Miscellaneous
|
|
||||||
______________________________________________________________________
|
|
||||||
|
|
||||||
1. General Information
|
|
||||||
|
|
||||||
All about Samba - what it is, how to get it, related sources of
|
All about Samba - what it is, how to get it, related sources of
|
||||||
information, how to understand the version numbering scheme, pizza
|
information, how to understand the version numbering scheme, pizza
|
||||||
details
|
details
|
||||||
|
|
||||||
1.1. What is Samba?
|
|
||||||
|
11..11.. WWhhaatt iiss SSaammbbaa??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
access to a server's filespace and printers via the SMB (Server
|
||||||
@ -110,29 +38,30 @@
|
|||||||
|
|
||||||
The components of the suite are (in summary):
|
The components of the suite are (in summary):
|
||||||
|
|
||||||
o smbd, the SMB server. This handles actual connections from clients,
|
|
||||||
|
· smbd, the SMB server. This handles actual connections from clients,
|
||||||
doing all the file, permission and username work
|
doing all the file, permission and username work
|
||||||
|
|
||||||
o nmbd, the Netbios name server, which helps clients locate servers,
|
· nmbd, the Netbios name server, which helps clients locate servers,
|
||||||
doing the browsing work and managing domains as this capability is
|
doing the browsing work and managing domains as this capability is
|
||||||
being built into Samba
|
being built into Samba
|
||||||
|
|
||||||
o smbclient, the Unix-hosted client program
|
· smbclient, the Unix-hosted client program
|
||||||
|
|
||||||
o smbrun, a little 'glue' program to help the server run external
|
· smbrun, a little 'glue' program to help the server run external
|
||||||
programs
|
programs
|
||||||
|
|
||||||
o testprns, a program to test server access to printers
|
· testprns, a program to test server access to printers
|
||||||
|
|
||||||
o testparms, a program to test the Samba configuration file for
|
· testparms, a program to test the Samba configuration file for
|
||||||
correctness
|
correctness
|
||||||
|
|
||||||
o smb.conf, the Samba configuration file
|
· smb.conf, the Samba configuration file
|
||||||
|
|
||||||
o smbprint, a sample script to allow a Unix host to use smbclient to
|
· smbprint, a sample script to allow a Unix host to use smbclient to
|
||||||
print to an SMB server
|
print to an SMB server
|
||||||
|
|
||||||
o documentation! DON'T neglect to read it - you will save a great
|
· documentation! DON'T neglect to read it - you will save a great
|
||||||
deal of time!
|
deal of time!
|
||||||
|
|
||||||
The suite is supplied with full source (of course!) and is GPLed.
|
The suite is supplied with full source (of course!) and is GPLed.
|
||||||
@ -141,15 +70,21 @@
|
|||||||
versions incorporate much effort by many net.helpers. The man pages
|
versions incorporate much effort by many net.helpers. The man pages
|
||||||
and this FAQ were originally written by Karl Auer.
|
and this FAQ were originally written by Karl Auer.
|
||||||
|
|
||||||
1.2. What is the current version of Samba?
|
|
||||||
|
11..22.. WWhhaatt iiss tthhee ccuurrrreenntt vveerrssiioonn ooff SSaammbbaa??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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.16. If you want to be
|
||||||
sure check the bottom of the change-log file.
|
sure check the bottom of the change-log file.
|
||||||
<ftp://samba.anu.edu.au/pub/samba/alpha/change-log>
|
<ffttpp::////ssaammbbaa..aannuu..eedduu..aauu//ppuubb//ssaammbbaa//aallpphhaa//cchhaannggee--lloogg>
|
||||||
|
|
||||||
For more information see ``What do the version numbers mean?''
|
For more information see ``What do the version numbers mean?''
|
||||||
|
|
||||||
1.3. Where can I get it?
|
|
||||||
|
11..33.. WWhheerree ccaann II ggeett iitt??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
The Samba suite is available via anonymous ftp from samba.anu.edu.au.
|
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:
|
The latest and greatest versions of the suite are in the directory:
|
||||||
@ -167,7 +102,10 @@
|
|||||||
other sites. Recent versions of some Linux distributions, for example,
|
other sites. Recent versions of some Linux distributions, for example,
|
||||||
do contain Samba binaries for that platform.
|
do contain Samba binaries for that platform.
|
||||||
|
|
||||||
1.4. What do the version numbers mean?
|
|
||||||
|
11..44.. WWhhaatt ddoo tthhee vveerrssiioonn nnuummbbeerrss mmeeaann??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
"alpha" in its name unless you know what you are doing and are willing
|
||||||
@ -180,68 +118,140 @@
|
|||||||
|
|
||||||
How the scheme works:
|
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
|
example, the transition from 1.9.15 to 1.9.16. However, this
|
||||||
number will not appear immediately and people should continue to use
|
version number will not appear immediately and people should
|
||||||
1.9.15 for production systems (see next point.)
|
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
|
unstable, and a series of alpha releases are distributed, for
|
||||||
1.9.16alpha1. These are for testing by those who know what they are
|
example 1.9.16alpha1. These are for testing by those who know what
|
||||||
doing. The "alpha" in the filename will hopefully scare off those who
|
they are doing. The "alpha" in the filename will hopefully scare
|
||||||
are just looking for the latest version to install.
|
off those who are just looking for the latest version to install.
|
||||||
|
|
||||||
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
|
3. when Andrew thinks that the alphas have stabilised to the point
|
||||||
levels are released which give us the pXX series, for example
|
where he would recommend new users install it, he renames it to the
|
||||||
1.9.16p2.
|
same version number without the alpha, for example 1.9.16.
|
||||||
|
|
||||||
So the progression goes:
|
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
|
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
|
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
|
alpha in the name and be sure of getting the current recommended ver
|
||||||
version.
|
sion.
|
||||||
|
|
||||||
|
|
||||||
|
11..55.. WWhhaatt ppllaattffoorrmmss aarree ssuuppppoorrtteedd??
|
||||||
|
|
||||||
|
|
||||||
1.5. What platforms are supported?
|
|
||||||
|
|
||||||
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.
|
most widely used and thus best tested are Linux and SunOS.
|
||||||
|
|
||||||
At time of writing, the Makefile claimed support for:
|
At time of writing, the Makefile claimed support for:
|
||||||
|
|
||||||
* SunOS * Linux with shadow passwords * Linux without shadow passwords
|
· SunOS
|
||||||
* 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
|
· Linux with shadow passwords
|
||||||
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 *
|
· Linux without shadow passwords
|
||||||
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
|
· SOLARIS
|
||||||
passwords. * SCO with shadow passwords, without YP. * SCO with TCB
|
|
||||||
passwords * SCO 3.2v2 (ODT 1.1) with TCP passwords * intergraph * DGUX
|
· SOLARIS 2.2 and above (aka SunOS 5)
|
||||||
* Apollo Domain/OS sr10.3 (BSD4.3)
|
|
||||||
|
· 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)
|
||||||
|
|
||||||
|
|
||||||
|
11..66.. HHooww ccaann II ffiinndd oouutt mmoorree aabboouutt SSaammbbaa??
|
||||||
|
|
||||||
|
|
||||||
1.6. How can I find out more about Samba?
|
|
||||||
|
|
||||||
There are two mailing lists devoted to discussion of Samba-related
|
There are two mailing lists devoted to discussion of Samba-related
|
||||||
matters. There is also the newsgroup, comp.protocols.smb, which has a
|
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
|
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 <hhttttpp::////ssaammbbaa..ccaannbbeerrrraa..eedduu..aauu//ppuubb//ssaammbbaa//ssaammbbaa..hhttmmll>, under
|
||||||
which there is a comprehensive survey of Samba users. Another useful
|
which there is a comprehensive survey of Samba users. Another useful
|
||||||
resource is the hypertext archive of the Samba mailing list.
|
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:
|
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
|
Obviously you should substitute YOUR first name for "Firstname" and
|
||||||
YOUR last name for "Lastname"! Try not to send any signature stuff, it
|
YOUR last name for "Lastname"! Try not to send any signature stuff, it
|
||||||
@ -256,20 +266,31 @@
|
|||||||
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:
|
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 FFrroomm:: line in your message _M_U_S_T be the same address you used when
|
||||||
you subscribed.
|
you subscribed.
|
||||||
|
|
||||||
1.7. Something's gone wrong - what should I do?
|
|
||||||
|
|
||||||
# *** IMPORTANT! *** # DO NOT post messages on mailing lists or in
|
11..77.. SSoommeetthhiinngg''ss ggoonnee wwrroonngg -- wwhhaatt sshhoouulldd II ddoo??
|
||||||
newsgroups until you have carried out the first three steps given
|
|
||||||
here!
|
|
||||||
|
|
||||||
|
## ****** IIMMPPOORRTTAANNTT!! ****** ##
|
||||||
|
|
||||||
|
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
|
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
|
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 <ffttpp::////ssaammbbaa..aannuu..eedduu..aauu//ppuubb//ssaammbbaa//DDIIAAGGNNOOSSIISS..ttxxtt>? It can
|
||||||
|
save you a lot of time and effort.
|
||||||
|
|
||||||
Secondly, read the man pages for smbd, nmbd and smb.conf, looking for
|
Secondly, read the man pages for smbd, nmbd and smb.conf, looking for
|
||||||
topics that relate to what you are trying to do.
|
topics that relate to what you are trying to do.
|
||||||
@ -297,14 +318,16 @@
|
|||||||
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.
|
other individual and not the samba team mailing list.
|
||||||
|
|
||||||
1.8. Pizza supply details
|
|
||||||
|
11..88.. PPiizzzzaa ssuuppppllyy ddeettaaiillss
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
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.
|
for payment, but he does appreciate it when people give him pizza.
|
||||||
This calls for a little organisation when the pizza donor is twenty
|
This calls for a little organisation when the pizza donor is twenty
|
||||||
thousand kilometres away, but it has been done.
|
thousand kilometres away, but it has been done.
|
||||||
|
|
||||||
Method 1: Ring up your local branch of an international pizza chain
|
Method 1: Ring up your local branch of an international pizza chain
|
||||||
and see if they honour their vouchers internationally. Pizza Hut do,
|
and see if they honour their vouchers internationally. Pizza Hut do,
|
||||||
which is how the entire Canberra Linux Users Group got to eat pizza
|
which is how the entire Canberra Linux Users Group got to eat pizza
|
||||||
@ -324,13 +347,18 @@
|
|||||||
flavours. It will probably get stuck in customs or torn apart by
|
flavours. It will probably get stuck in customs or torn apart by
|
||||||
hungry sniffer dogs but it will have been a noble gesture.
|
hungry sniffer dogs but it will have been a noble gesture.
|
||||||
|
|
||||||
2. Compiling and installing Samba on a Unix host
|
|
||||||
|
|
||||||
2.1. I can't see the Samba server in any browse lists!
|
22.. CCoommppiilliinngg aanndd iinnssttaalllliinngg SSaammbbaa oonn aa UUnniixx hhoosstt
|
||||||
|
|
||||||
*** Until the FAQ can be updated, please check the file: ***
|
|
||||||
ftp://samba.anu.edu.au/pub/samba/BROWSING.txt *** for more information
|
|
||||||
on browsing.
|
|
||||||
|
22..11.. II ccaann''tt sseeee tthhee SSaammbbaa sseerrvveerr iinn aannyy bbrroowwssee lliissttss!!
|
||||||
|
|
||||||
|
|
||||||
|
See BROWSING.txt <ffttpp::////ssaammbbaa..aannuu..eedduu..aauu//ppuubb//ssaammbbaa//BBRROOWWSSIINNGG..ttxxtt> 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
|
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
|
servers, you may need to do so on the command line. For example, under
|
||||||
@ -342,11 +370,17 @@
|
|||||||
The details of how to do this and the specific syntax varies from
|
The details of how to do this and the specific syntax varies from
|
||||||
client to client - check your client's documentation.
|
client to client - check your client's documentation.
|
||||||
|
|
||||||
2.2. view the files from my client! Some files that I KNOW are on
|
|
||||||
the server doesn't show up when I
|
|
||||||
|
|
||||||
2.3. I view the files from my client! Some files on the server show
|
22..22.. SSoommee ffiilleess tthhaatt II KKNNOOWW aarree oonn tthhee sseerrvveerr ddooeessnn''tt sshhooww uupp wwhheenn II
|
||||||
up with really wierd filenames when
|
vviieeww tthhee ffiilleess ffrroomm mmyy cclliieenntt!!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
22..33.. SSoommee ffiilleess oonn tthhee sseerrvveerr sshhooww uupp wwiitthh rreeaallllyy wwiieerrdd ffiilleennaammeess
|
||||||
|
wwhheenn II vviieeww tthhee ffiilleess ffrroomm mmyy cclliieenntt!!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
are files which contain upper case letters or which are otherwise not
|
||||||
@ -359,7 +393,10 @@
|
|||||||
details of how to change this - the parameter you need to set is
|
details of how to change this - the parameter you need to set is
|
||||||
"mangled names = yes".
|
"mangled names = yes".
|
||||||
|
|
||||||
2.4. My client reports "cannot locate specified computer" or similar
|
|
||||||
|
22..44.. MMyy cclliieenntt rreeppoorrttss ""ccaannnnoott llooccaattee ssppeecciiffiieedd ccoommppuutteerr"" oorr ssiimmiillaarr
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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, the underlying TCP/IP layer is not working correctly, or the
|
||||||
@ -387,8 +424,11 @@
|
|||||||
By the way, remember to REMOVE the hardcoded mapping before further
|
By the way, remember to REMOVE the hardcoded mapping before further
|
||||||
tests :-)
|
tests :-)
|
||||||
|
|
||||||
2.5. similar My client reports "cannot locate specified share name"
|
|
||||||
or
|
22..55.. MMyy cclliieenntt rreeppoorrttss ""ccaannnnoott llooccaattee ssppeecciiffiieedd sshhaarree nnaammee"" oorr ssiimmii
|
||||||
|
llaarr
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
server, which is a good start, but that it cannot find a service of
|
||||||
@ -399,14 +439,22 @@
|
|||||||
exists and you specified it correctly (read your client's doco on how
|
exists and you specified it correctly (read your client's doco on how
|
||||||
to specify a service name correctly), read on:
|
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. on to the network" or similar My client reports "cannot find
|
· Many clients cannot accept or use service names longer than eight
|
||||||
domain controller", "cannot log
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
22..66.. oonn ttoo tthhee nneettwwoorrkk"" oorr ssiimmiillaarr MMyy cclliieenntt rreeppoorrttss ""ccaannnnoott ffiinndd
|
||||||
|
ddoommaaiinn ccoonnttrroolllleerr"",, ""ccaannnnoott lloogg
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
controller stuff for several reasons, including the fact that the
|
||||||
@ -423,7 +471,10 @@
|
|||||||
For many clients (including Windows for Workgroups and Lan Manager),
|
For many clients (including Windows for Workgroups and Lan Manager),
|
||||||
setting the domain to STANDALONE at least gets rid of the message.
|
setting the domain to STANDALONE at least gets rid of the message.
|
||||||
|
|
||||||
2.7. Printing doesn't work :-(
|
|
||||||
|
22..77.. PPrriinnttiinngg ddooeessnn''tt wwoorrkk ::--((
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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.,
|
connecting to is correct and that it has a fully-qualified path (eg.,
|
||||||
@ -452,8 +503,10 @@
|
|||||||
printing won't work. The print status is received by a different
|
printing won't work. The print status is received by a different
|
||||||
mechanism.
|
mechanism.
|
||||||
|
|
||||||
2.8. My programs install on the server OK, but refuse to work prop-
|
|
||||||
erly
|
22..88.. MMyy pprrooggrraammss iinnssttaallll oonn tthhee sseerrvveerr OOKK,, bbuutt rreeffuussee ttoo wwoorrkk pprroopp
|
||||||
|
eerrllyy
|
||||||
|
|
||||||
|
|
||||||
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
|
possibility is that your software uses locking. Make sure you are
|
||||||
@ -465,20 +518,24 @@
|
|||||||
In earlier Samba versions there were some difficulties with the very
|
In earlier Samba versions there were some difficulties with the very
|
||||||
latest Microsoft products, particularly Excel 5 and Word for Windows
|
latest Microsoft products, particularly Excel 5 and Word for Windows
|
||||||
6. These should have all been solved. If not then please let Andrew
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
22..99.. MMyy ""sseerrvveerr ssttrriinngg"" ddooeessnn''tt sseeeemm ttoo bbee rreeccooggnniisseedd
|
||||||
|
|
||||||
2.9. My "server string" doesn't seem to be recognised
|
|
||||||
|
|
||||||
my client reports the default setting, eg. "Samba 1.9.15p4", instead
|
my client reports the default setting, eg. "Samba 1.9.15p4", instead
|
||||||
of what I have changed it to in the smb.conf file.
|
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
|
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
|
what smbd puts out and -C affects what nmbd puts out. Current
|
||||||
version these will probably be combined and -C will be removed, but
|
versions of Samba (1.9.16p11 +) have combined these options into the
|
||||||
for now use -C
|
"server string" field of smb.conf, -C for nmbd is now obsolete.
|
||||||
|
|
||||||
|
|
||||||
|
22..1100.. rreessoouurrcceess"" MMyy cclliieenntt rreeppoorrttss ""TThhiiss sseerrvveerr iiss nnoott ccoonnffiigguurreedd ttoo
|
||||||
|
lliisstt sshhaarreedd
|
||||||
|
|
||||||
|
|
||||||
2.10. resources" My client reports "This server is not configured to
|
|
||||||
list shared
|
|
||||||
|
|
||||||
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
|
guest account for browsing in smbd. Check that your guest account is
|
||||||
@ -486,7 +543,9 @@
|
|||||||
|
|
||||||
See also 'guest account' in smb.conf man page.
|
See also 'guest account' in smb.conf man page.
|
||||||
|
|
||||||
2.11. Log message "you appear to have a trapdoor uid system"
|
|
||||||
|
22..1111.. LLoogg mmeessssaaggee ""yyoouu aappppeeaarr ttoo hhaavvee aa ttrraappddoooorr uuiidd ssyysstteemm""
|
||||||
|
|
||||||
|
|
||||||
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
|
or gid of 65535 or -1. This is a VERY bad idea, and is a big security
|
||||||
@ -519,29 +578,38 @@
|
|||||||
no error) uid changes to -1. This means any daemon attempting to run
|
no error) uid changes to -1. This means any daemon attempting to run
|
||||||
as uid 65535 will actually run as root. This is not good!
|
as uid 65535 will actually run as root. This is not good!
|
||||||
|
|
||||||
3. Common client questions
|
|
||||||
|
|
||||||
3.1. Are any Macintosh clients for Samba
|
33.. CCoommmmoonn cclliieenntt qquueessttiioonnss
|
||||||
|
|
||||||
lkcl - update 09mar97 - the answer is "Yes!". Thursby now have a
|
|
||||||
CIFS Client / Server - see 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,
|
33..11.. AArree aannyy MMaacciinnttoosshh cclliieennttss ffoorr SSaammbbaa
|
||||||
and will be released in April 97 (the speed of finder copies has
|
|
||||||
been greatly enhanced, and there are bug-fixes included).
|
|
||||||
|
|
||||||
|
lkcl - update 09mar97 - the answer is "Yes!". Thursby now have a CIFS
|
||||||
|
Client / Server - see <hhttttpp::////wwwwww..tthhuurrssbbyy..ccoomm//>. 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
|
Alternatives - There are two free implementations of AppleTalk for
|
||||||
several kinds of UNIX machnes, and several more commercial ones.
|
several kinds of UNIX machnes, and several more commercial ones.
|
||||||
These products allow you to run file services and print services
|
These products allow you to run file services and print services
|
||||||
natively to Macintosh users, with no additional support required on
|
natively to Macintosh users, with no additional support required on
|
||||||
the Macintosh. The two free omplementations are Netatalk,
|
the Macintosh. The two free omplementations are Netatalk,
|
||||||
http://www.umich.edu/~rsug/netatalk/, and CAP,
|
<hhttttpp::////wwwwww..uummiicchh..eedduu//~~rrssuugg//nneettaattaallkk//>, and CAP,
|
||||||
http://www.cs.mu.oz.au/appletalk/atalk.html. What Samba offers
|
<hhttttpp::////wwwwww..ccss..mmuu..oozz..aauu//aapppplleettaallkk//aattaallkk..hhttmmll>. What Samba offers MS
|
||||||
MS Windows users, these packages offer to Macs. For more info on
|
Windows users, these packages offer to Macs. For more info on these
|
||||||
these packages, Samba, and Linux (and other UNIX-based systems)
|
packages, Samba, and Linux (and other UNIX-based systems) see
|
||||||
see http://www.eats.com/linux_mac_win.html
|
<hhttttpp::////wwwwww..eeaattss..ccoomm//lliinnuuxx__mmaacc__wwiinn..hhttmmll>
|
||||||
|
|
||||||
|
|
||||||
|
33..22.. SSeessssiioonn rreeqquueesstt ffaaiilleedd ((113311,,113300))"" eerrrroorr
|
||||||
|
|
||||||
|
|
||||||
3.2. Session request failed (131,130)" error
|
|
||||||
|
|
||||||
The following answer is provided by John E. Miller:
|
The following answer is provided by John E. Miller:
|
||||||
|
|
||||||
@ -568,28 +636,50 @@
|
|||||||
your Scope ID is configured as the string 'SomeStr' in Win95 then
|
your Scope ID is configured as the string 'SomeStr' in Win95 then
|
||||||
you'd have to use smbclient -iSomeStr otherparms in connecting to it.
|
you'd have to use smbclient -iSomeStr otherparms in connecting to it.
|
||||||
|
|
||||||
3.3. How do I synchronise my PC's clock with my Samba server?
|
|
||||||
|
33..33.. HHooww ddoo II ssyynncchhrroonniissee mmyy PPCC''ss cclloocckk wwiitthh mmyy SSaammbbaa sseerrvveerr??
|
||||||
|
|
||||||
|
|
||||||
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:
|
· Copy timesync.pif to your windows directory
|
||||||
http://samba.canberra.edu.au/pub/samba/binaries/miscellaneous/timesync.pif
|
|
||||||
* Add timesync.pif to your 'Start Up' group/folder * Open the
|
· timesync.pif can be found at:
|
||||||
properties dialog box for the program/icon * Make sure the 'Run
|
<hhttttpp::////ssaammbbaa..ccaannbbeerrrraa..eedduu..aauu//ppuubb//ssaammbbaa//bbiinnaarriieess//mmiisscceellllaanneeoouuss//ttiimmeessyynncc..ppiiff>
|
||||||
Minimized' option is set in program * Change the command line section
|
|
||||||
that reads \sambahost to reflect the name of your server. * Close the
|
· Add timesync.pif to your 'Start Up' group/folder
|
||||||
properties dialog box by choosing 'OK'
|
|
||||||
|
· 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
|
Each time you start your computer (or login for Win95) your PC will
|
||||||
synchronize it's clock with your Samba server.
|
synchronize it's clock with your Samba server.
|
||||||
|
|
||||||
Alternatively, you can set up domain logons - see:
|
Alternativley, if you clients support Domain Logons, you can setup
|
||||||
ftp://samba.anu.edu.au/pub/samba/BROWSING.txt *** for more information.
|
Domain Logons with Samba - see: BROWSING.txt
|
||||||
|
<ffttpp::////ssaammbbaa..aannuu..eedduu..aauu//ppuubb//ssaammbbaa//ddooccss//BBRROOWWSSIINNGG..ttxxtt> *** for more
|
||||||
|
information.
|
||||||
|
|
||||||
Then, add NET TIME \\%L /SET /YES as one of the lines in the logon script.
|
Then add
|
||||||
|
|
||||||
|
|
||||||
|
NET TIME \\%L /SET /YES
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
as one of the lines in the logon script.
|
||||||
|
|
||||||
|
33..44.. PPrroobblleemmss wwiitthh WWiinnDDDD,, NNTTrriigguuee,, WWiinnCCeenntteerrPPrroo eettcc
|
||||||
|
|
||||||
3.4. Problems with WinDD, NTrigue, WinCenterPro etc
|
|
||||||
|
|
||||||
All of the above programs are applications that sit on an NT box and
|
All of the above programs are applications that sit on an NT box and
|
||||||
allow multiple users to access the NT GUI applications from remote
|
allow multiple users to access the NT GUI applications from remote
|
||||||
@ -628,7 +718,11 @@
|
|||||||
products like these, as otherwise all users will end up with the same
|
products like these, as otherwise all users will end up with the same
|
||||||
home directory. Use \serversername instead.
|
home directory. Use \serversername instead.
|
||||||
|
|
||||||
3.5. Problem with printers under NT
|
|
||||||
|
33..55.. PPrroobblleemm wwiitthh pprriinntteerrss uunnddeerr NNTT
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This info from Stefan Hergeth hergeth@f7axp1.informatik.fh-muenchen.de
|
This info from Stefan Hergeth hergeth@f7axp1.informatik.fh-muenchen.de
|
||||||
may be useful:
|
may be useful:
|
||||||
@ -637,24 +731,27 @@
|
|||||||
via our UNIX-Fileserver (SAMBA-Server), like the configuration told by
|
via our UNIX-Fileserver (SAMBA-Server), like the configuration told by
|
||||||
Matthew Harrell harrell@leech.nrl.navy.mil (see WinNT.txt)
|
Matthew Harrell harrell@leech.nrl.navy.mil (see WinNT.txt)
|
||||||
|
|
||||||
1.) If a user has choosen this printer as the default printer in his
|
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.
|
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
|
switched off) than this user has a problem with the SAMBA-
|
||||||
of his filesystems. It's very slow.
|
connection of his filesystems. It's very slow.
|
||||||
|
|
||||||
2.) If the printer is connected to the network everything works fine.
|
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
|
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
|
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
|
printer ist not connected to the network this request fails and the
|
||||||
spooler is wasting a lot of time to connect to the printer service.
|
NT spooler is wasting a lot of time to connect to the printer
|
||||||
This seems to be the reason for the slow network connection.
|
service. This seems to be the reason for the slow network
|
||||||
|
connection.
|
||||||
|
|
||||||
4.) Maybe it's possible to change this behaviour by setting different
|
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
|
printer properties in the Print-Manager-Menu of NT, but i didn't
|
||||||
it yet.
|
try it yet.
|
||||||
|
|
||||||
|
|
||||||
|
33..66.. WWhhyy aarree mmyy ffiillee''ss ttiimmeessttaammppss ooffff bbyy aann hhoouurr,, oorr bbyy aa ffeeww hhoouurrss??
|
||||||
|
|
||||||
3.6. Why are my file's timestamps off by an hour, or by a few hours?
|
|
||||||
|
|
||||||
This is from Paul Eggert eggert@twinsun.com.
|
This is from Paul Eggert eggert@twinsun.com.
|
||||||
|
|
||||||
@ -668,70 +765,82 @@
|
|||||||
internal timestamps to and from local time. So on the server side,
|
internal timestamps to and from local time. So on the server side,
|
||||||
there are two things to get right.
|
there are two things to get right.
|
||||||
|
|
||||||
1. The Unix system clock must have the correct Universal time. Use
|
1. The Unix system clock must have the correct Universal time. Use
|
||||||
the shell command "sh -c 'TZ=UTC0 date'" to check this.
|
the shell command "sh -c 'TZ=UTC0 date'" to check this.
|
||||||
|
|
||||||
2. The TZ environment variable must be set on the server before Samba
|
2. The TZ environment variable must be set on the server before Samba
|
||||||
is invoked. The details of this depend on the server OS, but
|
is invoked. The details of this depend on the server OS, but
|
||||||
typically you must edit a file whose name is /etc/TIMEZONE or
|
typically you must edit a file whose name is /etc/TIMEZONE or
|
||||||
/etc/default/init, or run the command `zic -l'.
|
/etc/default/init, or run the command `zic -l'.
|
||||||
|
|
||||||
3. TZ must have the correct value.
|
3. TZ must have the correct value.
|
||||||
|
|
||||||
3a. If possible, use geographical time zone settings (e.g.
|
a. If possible, use geographical time zone settings (e.g.
|
||||||
TZ='America/Los_Angeles' or perhaps TZ=':US/Pacific'). These are
|
TZ='America/Los_Angeles' or perhaps TZ=':US/Pacific'). These
|
||||||
supported by most popular Unix OSes, are easier to get right, and are
|
are supported by most popular Unix OSes, are easier to get
|
||||||
more accurate for historical timestamps. If your operating system has
|
right, and are more accurate for historical timestamps. If your
|
||||||
out-of-date tables, you should be able to update them from the public
|
operating system has out-of-date tables, you should be able to
|
||||||
domain time zone tables at URL:ftp://elsie.nci.nih.gov/pub/.
|
update them from the public domain time zone tables at
|
||||||
|
<ffttpp::////eellssiiee..nnccii..nniihh..ggoovv//ppuubb//>.
|
||||||
|
|
||||||
3b. If your system does not support geographical time zone settings,
|
b. If your system does not support geographical timezone settings,
|
||||||
you must use a Posix-style TZ strings, e.g.
|
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
|
TZ='PST8PDT,M4.1.0/2,M10.5.0/2' for US Pacific time. Posix TZ
|
||||||
can take the following form (with optional items in brackets):
|
strings can take the following form (with optional items in
|
||||||
|
brackets):
|
||||||
|
|
||||||
StdOffsetDst[Offset,Date/Time,Date/Time]
|
|
||||||
|
|
||||||
where:
|
StdOffset[Dst[Offset],Date/Time,Date/Time]
|
||||||
|
|
||||||
`Std' is the standard time designation (e.g. `PST').
|
|
||||||
|
|
||||||
`Offset' is the number of hours behind UTC (e.g. `8'). Prepend a `-'
|
where:
|
||||||
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').
|
· `Std' is the standard time designation (e.g. `PST').
|
||||||
|
|
||||||
The optional second `Offset' is the number of hours that daylight-
|
· `Offset' is the number of hours behind UTC (e.g. `8'). Prepend
|
||||||
saving time is behind UTC. The default is 1 hour ahead of standard
|
a `-' if you are ahead of UTC, and append `:30' if you are at a
|
||||||
time.
|
half-hour offset. Omit all the remaining items if you do not
|
||||||
`Date/Time,Date/Time' specify when daylight-saving time starts and
|
use daylight-saving time.
|
||||||
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
|
· `Dst' is the daylight-saving time designation (e.g. `PDT').
|
||||||
about them.
|
|
||||||
|
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
|
||||||
|
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 zones. A common symptom is for file timestamps to be
|
||||||
|
off by an hour. To work around the problem, try disconnecting from
|
||||||
|
your Samba server and then reconnecting to it; or upgrade your
|
||||||
|
Samba server to 1.9.16alpha10 or later.
|
||||||
|
|
||||||
|
|
||||||
|
33..77.. HHooww ddoo II sseett tthhee pprriinntteerr ddrriivveerr nnaammee ccoorrrreeccttllyy??
|
||||||
|
|
||||||
|
|
||||||
|
Question: On NT, I opened "Printer Manager" and "Connect to Printer".
|
||||||
|
Enter "\ptdi270s1"
|
||||||
|
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.
|
||||||
|
|
||||||
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
|
|
||||||
zones. A common symptom is for file timestamps to be off by an hour.
|
|
||||||
To work around the problem, try disconnecting from your Samba server
|
|
||||||
and then reconnecting to it; or upgrade your Samba server to
|
|
||||||
1.9.16alpha10 or later.
|
|
||||||
|
|
||||||
3.7. How do I set the printer driver name correctly?
|
|
||||||
|
|
||||||
Question: > On NT, I opened "Printer Manager" and "Connect to
|
|
||||||
Printer". > Enter "\ptdi270s1"
|
|
||||||
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:
|
Answer:
|
||||||
|
|
||||||
@ -739,11 +848,14 @@
|
|||||||
driver" in smb.conf. This tells the client what driver to use. For
|
driver" in smb.conf. This tells the client what driver to use. For
|
||||||
example, I have:
|
example, I have:
|
||||||
|
|
||||||
printer driver = HP LaserJet 4L
|
|
||||||
|
printer driver = HP LaserJet 4L
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
and NT knows to use the right driver. You have to get this string
|
and NT knows to use the right driver. You have to get this string
|
||||||
exactly right.
|
exactly right.
|
||||||
|
|
||||||
To find the exact string to use, you need to get to the dialog box in
|
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
|
your client where you select which printer driver to install. The
|
||||||
correct strings for all the different printers are shown in a listbox
|
correct strings for all the different printers are shown in a listbox
|
||||||
@ -751,17 +863,27 @@
|
|||||||
|
|
||||||
You could also try setting the driver to NULL like this:
|
You could also try setting the driver to NULL like this:
|
||||||
|
|
||||||
printer driver = NULL
|
|
||||||
|
printer driver = NULL
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this is effectively what older versions of Samba did, so if that
|
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
|
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
|
and I'll make it the default. Currently the default is a 0 length
|
||||||
string.
|
string.
|
||||||
|
|
||||||
4. Specific client application problems
|
|
||||||
|
|
||||||
4.1. MS Office Setup reports "Cannot change properties of "MSOF-
|
44.. SSppeecciiffiicc cclliieenntt aapppplliiccaattiioonn pprroobblleemmss
|
||||||
FICEUP.INI"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
44..11.. MMSS OOffffiiccee SSeettuupp rreeppoorrttss ""CCaannnnoott cchhaannggee pprrooppeerrttiieess ooff ""MMSSOOFF
|
||||||
|
FFIICCEEUUPP..IINNII""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
user permissions, ie. admin users = username, you will find the setup
|
||||||
@ -775,5 +897,28 @@
|
|||||||
You just have to install as a non-admin user and then use "chown -R"
|
You just have to install as a non-admin user and then use "chown -R"
|
||||||
to fix the owner.
|
to fix the owner.
|
||||||
|
|
||||||
5. Miscellaneous
|
|
||||||
|
55.. MMiisscceellllaanneeoouuss
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user