Samba FAQ
- Paul Blackman, i\bic\bct\bti\bin\bnu\bus\bs@\b@l\bla\bak\bke\be.\b.c\bca\ban\bnb\bbe\ber\brr\bra\ba.\b.e\bed\bdu\bu.\b.a\bau\bu
+ Paul Blackman, ictinus@lake.canberra.edu.au
, v 0.7
This is the Frequently Asked Questions (FAQ) document for Samba, the
others. Current to version 1.9.17. Please send any corrections to the
author.
- 1\b1.\b. G\bGe\ben\bne\ber\bra\bal\bl I\bIn\bnf\bfo\bor\brm\bma\bat\bti\bio\bon\bn
+ 1. General Information
details
- 1\b1.\b.1\b1.\b. W\bWh\bha\bat\bt i\bis\bs S\bSa\bam\bmb\bba\ba?\b?
+ 1.1. What is Samba?
and this FAQ were originally written by Karl Auer.
- 1\b1.\b.2\b2.\b. W\bWh\bha\bat\bt i\bis\bs t\bth\bhe\be c\bcu\bur\brr\bre\ben\bnt\bt v\bve\ber\brs\bsi\bio\bon\bn o\bof\bf S\bSa\bam\bmb\bba\ba?\b?
+ 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
sure check the bottom of the change-log file.
- <f\bft\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.a\ban\bnu\bu.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/a\bal\blp\bph\bha\ba/\b/c\bch\bha\ban\bng\bge\be-\b-l\blo\bog\bg>
+ <ftp://samba.anu.edu.au/pub/samba/alpha/change-log>
For more information see ``What do the version numbers mean?''
- 1\b1.\b.3\b3.\b. W\bWh\bhe\ber\bre\be c\bca\ban\bn I\bI g\bge\bet\bt i\bit\bt?\b?
+ 1.3. Where can I get it?
do contain Samba binaries for that platform.
- 1\b1.\b.4\b4.\b. W\bWh\bha\bat\bt d\bdo\bo t\bth\bhe\be v\bve\ber\brs\bsi\bio\bon\bn n\bnu\bum\bmb\bbe\ber\brs\bs m\bme\bea\ban\bn?\b?
+ 1.4. What do the version numbers mean?
sion.
- 1\b1.\b.5\b5.\b. W\bWh\bha\bat\bt p\bpl\bla\bat\btf\bfo\bor\brm\bms\bs a\bar\bre\be s\bsu\bup\bpp\bpo\bor\brt\bte\bed\bd?\b?
+ 1.5. What platforms are supported?
· Apollo Domain/OS sr10.3 (BSD4.3)
- 1\b1.\b.6\b6.\b. H\bHo\bow\bw c\bca\ban\bn I\bI f\bfi\bin\bnd\bd o\bou\but\bt m\bmo\bor\bre\be a\bab\bbo\bou\but\bt S\bSa\bam\bmb\bba\ba?\b?
+ 1.6. How can I find out more about Samba?
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 <h\bht\btt\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.c\bca\ban\bnb\bbe\ber\brr\bra\ba.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/s\bsa\bam\bmb\bba\ba.\b.h\bht\btm\bml\bl>, 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.
- The F\bFr\bro\bom\bm:\b: line in your message _\bM_\bU_\bS_\bT be the same address you used when
+ The From: line in your message ____ be the same address you used when
you subscribed.
- 1\b1.\b.7\b7.\b. S\bSo\bom\bme\bet\bth\bhi\bin\bng\bg'\b's\bs g\bgo\bon\bne\be w\bwr\bro\bon\bng\bg -\b- w\bwh\bha\bat\bt s\bsh\bho\bou\bul\bld\bd I\bI d\bdo\bo?\b?
+ 1.7. Something's gone wrong - what should I do?
- #\b# *\b**\b**\b* I\bIM\bMP\bPO\bOR\bRT\bTA\bAN\bNT\bT!\b! *\b**\b**\b* #\b#
+ # *** 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 <f\bft\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.a\ban\bnu\bu.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/D\bDI\bIA\bAG\bGN\bNO\bOS\bSI\bIS\bS.\b.t\btx\bxt\bt>? It can
+ DIAGNOSIS.txt <ftp://samba.anu.edu.au/pub/samba/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
other individual and not the samba team mailing list.
- 1\b1.\b.8\b8.\b. P\bPi\biz\bzz\bza\ba s\bsu\bup\bpp\bpl\bly\by d\bde\bet\bta\bai\bil\bls\bs
+ 1.8. Pizza supply details
hungry sniffer dogs but it will have been a noble gesture.
- 2\b2.\b. C\bCo\bom\bmp\bpi\bil\bli\bin\bng\bg a\ban\bnd\bd i\bin\bns\bst\bta\bal\bll\bli\bin\bng\bg S\bSa\bam\bmb\bba\ba o\bon\bn a\ba U\bUn\bni\bix\bx h\bho\bos\bst\bt
+ 2. Compiling and installing Samba on a Unix host
- 2\b2.\b.1\b1.\b. I\bI c\bca\ban\bn'\b't\bt s\bse\bee\be t\bth\bhe\be S\bSa\bam\bmb\bba\ba s\bse\ber\brv\bve\ber\br i\bin\bn a\ban\bny\by b\bbr\bro\bow\bws\bse\be l\bli\bis\bst\bts\bs!\b!
+ 2.1. I can't see the Samba server in any browse lists!
- See BROWSING.txt <f\bft\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.a\ban\bnu\bu.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/B\bBR\bRO\bOW\bWS\bSI\bIN\bNG\bG.\b.t\btx\bxt\bt> for
+ See BROWSING.txt <ftp://samba.anu.edu.au/pub/samba/BROWSING.txt> for
more information on browsing. Browsing.txt can also be found in the
docs directory of the Samba source.
client to client - check your client's documentation.
- 2\b2.\b.2\b2.\b. S\bSo\bom\bme\be f\bfi\bil\ble\bes\bs t\bth\bha\bat\bt I\bI K\bKN\bNO\bOW\bW a\bar\bre\be o\bon\bn t\bth\bhe\be s\bse\ber\brv\bve\ber\br d\bdo\boe\bes\bsn\bn'\b't\bt s\bsh\bho\bow\bw u\bup\bp w\bwh\bhe\ben\bn I\bI
- v\bvi\bie\bew\bw t\bth\bhe\be f\bfi\bil\ble\bes\bs f\bfr\bro\bom\bm m\bmy\by c\bcl\bli\bie\ben\bnt\bt!\b!
+ 2.2. Some files that I KNOW are on the server doesn't show up when I
+ view the files from my client!
- 2\b2.\b.3\b3.\b. S\bSo\bom\bme\be f\bfi\bil\ble\bes\bs o\bon\bn t\bth\bhe\be s\bse\ber\brv\bve\ber\br s\bsh\bho\bow\bw u\bup\bp w\bwi\bit\bth\bh r\bre\bea\bal\bll\bly\by w\bwi\bie\ber\brd\bd f\bfi\bil\ble\ben\bna\bam\bme\bes\bs
- w\bwh\bhe\ben\bn I\bI v\bvi\bie\bew\bw t\bth\bhe\be f\bfi\bil\ble\bes\bs f\bfr\bro\bom\bm m\bmy\by c\bcl\bli\bie\ben\bnt\bt!\b!
+ 2.3. Some files on the server show up with really wierd filenames
+ when I view the files from my client!
"mangled names = yes".
- 2\b2.\b.4\b4.\b. M\bMy\by c\bcl\bli\bie\ben\bnt\bt r\bre\bep\bpo\bor\brt\bts\bs "\b"c\bca\ban\bnn\bno\bot\bt l\blo\boc\bca\bat\bte\be s\bsp\bpe\bec\bci\bif\bfi\bie\bed\bd c\bco\bom\bmp\bpu\but\bte\ber\br"\b" o\bor\br s\bsi\bim\bmi\bil\bla\bar\br
+ 2.4. My client reports "cannot locate specified computer" or similar
tests :-)
- 2\b2.\b.5\b5.\b. M\bMy\by c\bcl\bli\bie\ben\bnt\bt r\bre\bep\bpo\bor\brt\bts\bs "\b"c\bca\ban\bnn\bno\bot\bt l\blo\boc\bca\bat\bte\be s\bsp\bpe\bec\bci\bif\bfi\bie\bed\bd s\bsh\bha\bar\bre\be n\bna\bam\bme\be"\b" o\bor\br s\bsi\bim\bmi\bi\b
- l\bla\bar\br
+ 2.5. My client reports "cannot locate specified share name" or simi
+ lar
· Some clients force service names into upper case.
- 2\b2.\b.6\b6.\b. o\bon\bn t\bto\bo t\bth\bhe\be n\bne\bet\btw\bwo\bor\brk\bk"\b" o\bor\br s\bsi\bim\bmi\bil\bla\bar\br M\bMy\by c\bcl\bli\bie\ben\bnt\bt r\bre\bep\bpo\bor\brt\bts\bs "\b"c\bca\ban\bnn\bno\bot\bt f\bfi\bin\bnd\bd
- d\bdo\bom\bma\bai\bin\bn c\bco\bon\bnt\btr\bro\bol\bll\ble\ber\br"\b",\b, "\b"c\bca\ban\bnn\bno\bot\bt l\blo\bog\bg
+ 2.6. on to the network" or similar My client reports "cannot find
+ domain controller", "cannot log
setting the domain to STANDALONE at least gets rid of the message.
- 2\b2.\b.7\b7.\b. P\bPr\bri\bin\bnt\bti\bin\bng\bg d\bdo\boe\bes\bsn\bn'\b't\bt w\bwo\bor\brk\bk :\b:-\b-(\b(
+ 2.7. Printing doesn't work :-(
mechanism.
- 2\b2.\b.8\b8.\b. M\bMy\by p\bpr\bro\bog\bgr\bra\bam\bms\bs i\bin\bns\bst\bta\bal\bll\bl o\bon\bn t\bth\bhe\be s\bse\ber\brv\bve\ber\br O\bOK\bK,\b, b\bbu\but\bt r\bre\bef\bfu\bus\bse\be t\bto\bo w\bwo\bor\brk\bk p\bpr\bro\bop\bp\b
- e\ber\brl\bly\by
+ 2.8. My programs install on the server OK, but refuse to work prop
+ erly
There are numerous possible reasons for this, but one MAJOR
Tridgell know via email at samba-bugs@anu.edu.au.
- 2\b2.\b.9\b9.\b. M\bMy\by "\b"s\bse\ber\brv\bve\ber\br s\bst\btr\bri\bin\bng\bg"\b" d\bdo\boe\bes\bsn\bn'\b't\bt s\bse\bee\bem\bm t\bto\bo b\bbe\be r\bre\bec\bco\bog\bgn\bni\bis\bse\bed\bd
+ 2.9. My "server string" doesn't seem to be recognised
my client reports the default setting, eg. "Samba 1.9.15p4", instead
"server string" field of smb.conf, -C for nmbd is now obsolete.
- 2\b2.\b.1\b10\b0.\b. r\bre\bes\bso\bou\bur\brc\bce\bes\bs"\b" M\bMy\by c\bcl\bli\bie\ben\bnt\bt r\bre\bep\bpo\bor\brt\bts\bs "\b"T\bTh\bhi\bis\bs s\bse\ber\brv\bve\ber\br i\bis\bs n\bno\bot\bt c\bco\bon\bnf\bfi\big\bgu\bur\bre\bed\bd t\bto\bo
- l\bli\bis\bst\bt s\bsh\bha\bar\bre\bed\bd
+ 2.10. resources" My client reports "This server is not configured to
+ list shared
See also 'guest account' in smb.conf man page.
- 2\b2.\b.1\b11\b1.\b. L\bLo\bog\bg m\bme\bes\bss\bsa\bag\bge\be "\b"y\byo\bou\bu a\bap\bpp\bpe\bea\bar\br t\bto\bo h\bha\bav\bve\be a\ba t\btr\bra\bap\bpd\bdo\boo\bor\br u\bui\bid\bd s\bsy\bys\bst\bte\bem\bm"\b"
+ 2.11. Log message "you appear to have a trapdoor uid system"
This can have several causes. It might be because you are using a uid
as uid 65535 will actually run as root. This is not good!
- 3\b3.\b. C\bCo\bom\bmm\bmo\bon\bn c\bcl\bli\bie\ben\bnt\bt q\bqu\bue\bes\bst\bti\bio\bon\bns\bs
+ 3. Common client questions
- 3\b3.\b.1\b1.\b. A\bAr\bre\be a\ban\bny\by M\bMa\bac\bci\bin\bnt\bto\bos\bsh\bh c\bcl\bli\bie\ben\bnt\bts\bs f\bfo\bor\br S\bSa\bam\bmb\bba\ba
+ 3.1. Are any Macintosh clients for Samba
lkcl - update 09mar97 - the answer is "Yes!". Thursby now have a CIFS
- Client / Server - see <h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.t\bth\bhu\bur\brs\bsb\bby\by.\b.c\bco\bom\bm/\b/>. They test it
+ 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
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,
- <h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.u\bum\bmi\bic\bch\bh.\b.e\bed\bdu\bu/\b/~\b~r\brs\bsu\bug\bg/\b/n\bne\bet\bta\bat\bta\bal\blk\bk/\b/>, and CAP,
- <h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.c\bcs\bs.\b.m\bmu\bu.\b.o\boz\bz.\b.a\bau\bu/\b/a\bap\bpp\bpl\ble\bet\bta\bal\blk\bk/\b/a\bat\bta\bal\blk\bk.\b.h\bht\btm\bml\bl>. What Samba offers MS
+ <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
- <h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.e\bea\bat\bts\bs.\b.c\bco\bom\bm/\b/l\bli\bin\bnu\bux\bx_\b_m\bma\bac\bc_\b_w\bwi\bin\bn.\b.h\bht\btm\bml\bl>
+ <http://www.eats.com/linux_mac_win.html>
- 3\b3.\b.2\b2.\b. S\bSe\bes\bss\bsi\bio\bon\bn r\bre\beq\bqu\bue\bes\bst\bt f\bfa\bai\bil\ble\bed\bd (\b(1\b13\b31\b1,\b,1\b13\b30\b0)\b)"\b" e\ber\brr\bro\bor\br
+ 3.2. Session request failed (131,130)" error
you'd have to use smbclient -iSomeStr otherparms in connecting to it.
- 3\b3.\b.3\b3.\b. H\bHo\bow\bw d\bdo\bo I\bI s\bsy\byn\bnc\bch\bhr\bro\bon\bni\bis\bse\be m\bmy\by P\bPC\bC'\b's\bs c\bcl\blo\boc\bck\bk w\bwi\bit\bth\bh m\bmy\by S\bSa\bam\bmb\bba\ba s\bse\ber\brv\bve\ber\br?\b?
+ 3.3. How do I synchronise my PC's clock with my 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:
- <h\bht\btt\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.c\bca\ban\bnb\bbe\ber\brr\bra\ba.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/b\bbi\bin\bna\bar\bri\bie\bes\bs/\b/m\bmi\bis\bsc\bce\bel\bll\bla\ban\bne\beo\bou\bus\bs/\b/t\bti\bim\bme\bes\bsy\byn\bnc\bc.\b.p\bpi\bif\bf>
+ <http://samba.canberra.edu.au/pub/samba/binaries/miscellaneous/timesync.pif>
· Add timesync.pif to your 'Start Up' group/folder
Alternativley, if you clients support Domain Logons, you can setup
Domain Logons with Samba - see: BROWSING.txt
- <f\bft\btp\bp:\b:/\b//\b/s\bsa\bam\bmb\bba\ba.\b.a\ban\bnu\bu.\b.e\bed\bdu\bu.\b.a\bau\bu/\b/p\bpu\bub\bb/\b/s\bsa\bam\bmb\bba\ba/\b/d\bdo\boc\bcs\bs/\b/B\bBR\bRO\bOW\bWS\bSI\bIN\bNG\bG.\b.t\btx\bxt\bt> *** for more
+ <ftp://samba.anu.edu.au/pub/samba/docs/BROWSING.txt> *** for more
information.
Then add
as one of the lines in the logon script.
- 3\b3.\b.4\b4.\b. P\bPr\bro\bob\bbl\ble\bem\bms\bs w\bwi\bit\bth\bh W\bWi\bin\bnD\bDD\bD,\b, N\bNT\bTr\bri\big\bgu\bue\be,\b, W\bWi\bin\bnC\bCe\ben\bnt\bte\ber\brP\bPr\bro\bo e\bet\btc\bc
+ 3.4. Problems with WinDD, NTrigue, WinCenterPro etc
All of the above programs are applications that sit on an NT box and
home directory. Use \serversername instead.
- 3\b3.\b.5\b5.\b. P\bPr\bro\bob\bbl\ble\bem\bm w\bwi\bit\bth\bh p\bpr\bri\bin\bnt\bte\ber\brs\bs u\bun\bnd\bde\ber\br N\bNT\bT
+ 3.5. Problem with printers under NT
try it yet.
- 3\b3.\b.6\b6.\b. W\bWh\bhy\by a\bar\bre\be m\bmy\by f\bfi\bil\ble\be'\b's\bs t\bti\bim\bme\bes\bst\bta\bam\bmp\bps\bs o\bof\bff\bf b\bby\by a\ban\bn h\bho\bou\bur\br,\b, o\bor\br b\bby\by a\ba f\bfe\bew\bw h\bho\bou\bur\brs\bs?\b?
+ 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.
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
- <f\bft\btp\bp:\b:/\b//\b/e\bel\bls\bsi\bie\be.\b.n\bnc\bci\bi.\b.n\bni\bih\bh.\b.g\bgo\bov\bv/\b/p\bpu\bub\bb/\b/>.
+ <ftp://elsie.nci.nih.gov/pub/>.
b. If your system does not support geographical timezone settings,
you must use a Posix-style TZ strings, e.g.
Samba server to 1.9.16alpha10 or later.
- 3\b3.\b.7\b7.\b. H\bHo\bow\bw d\bdo\bo I\bI s\bse\bet\bt t\bth\bhe\be p\bpr\bri\bin\bnt\bte\ber\br d\bdr\bri\biv\bve\ber\br n\bna\bam\bme\be c\bco\bor\brr\bre\bec\bct\btl\bly\by?\b?
+ 3.7. How do I set the printer driver name correctly?
Question: On NT, I opened "Printer Manager" and "Connect to Printer".
string.
- 4\b4.\b. S\bSp\bpe\bec\bci\bif\bfi\bic\bc c\bcl\bli\bie\ben\bnt\bt a\bap\bpp\bpl\bli\bic\bca\bat\bti\bio\bon\bn p\bpr\bro\bob\bbl\ble\bem\bms\bs
+ 4. Specific client application problems
- 4\b4.\b.1\b1.\b. M\bMS\bS O\bOf\bff\bfi\bic\bce\be S\bSe\bet\btu\bup\bp r\bre\bep\bpo\bor\brt\bts\bs "\b"C\bCa\ban\bnn\bno\bot\bt c\bch\bha\ban\bng\bge\be p\bpr\bro\bop\bpe\ber\brt\bti\bie\bes\bs o\bof\bf "\b"M\bMS\bSO\bOF\bF\b
- F\bFI\bIC\bCE\bEU\bUP\bP.\b.I\bIN\bNI\bI"\b"
+ 4.1. MS Office Setup reports "Cannot change properties of "MSOF
+ FICEUP.INI"
to fix the owner.
- 5\b5.\b. M\bMi\bis\bsc\bce\bel\bll\bla\ban\bne\beo\bou\bus\bs
+ 5. Miscellaneous
+