home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / contrib / samba / samba-1.8 / samba-1 / samba-1.8.05 / samba.faq < prev    next >
Encoding:
Text File  |  1994-10-27  |  15.4 KB  |  362 lines

  1.  
  2.  
  3.                         Frequently Asked Questions
  4.    
  5.                                  about the 
  6.  
  7.                                 SAMBA Suite 
  8.  
  9.                  (FAQ version 1.00, Samba version 1.7.00)
  10.  
  11.  
  12.  
  13.  
  14. FAQ prepared by Karl Auer (Karl.Auer@anu.edu.au) with lots of help from
  15. bitter experience, good luck and just plain bloody-mindedness, not to mention
  16. numerous net.helpers. Special thanks however to Andrew Tridgell for being
  17. patiently prepared to explain, no matter how long it took or how often I
  18. asked!
  19.  
  20. Note: This FAQ is (and probably always will be) under construction. Some 
  21. sections exist only as optimistic entries in the Contents page.
  22.  
  23. ===============================================================================
  24.                                  Contents
  25.                              ----------------
  26.  
  27. SECTION ONE: General information
  28.  
  29.    All about Samba - what it is, how to get it, related sources of information.
  30.  
  31. SECTION TWO: Compiling and installing Samba on a Unix host
  32.  
  33.    Common problems that arise when building and installing Samba under Unix.
  34.  
  35. SECTION THREE: Common client problems
  36.  
  37.    Common problems that arise when trying to communicate from a client
  38.    computer to a Samba server. All problems which have symptoms you see at
  39.    the client end will be in this section.
  40.  
  41. SECTION FOUR: Specific client problems
  42.  
  43.    This section covers problems that are specific to certain clients, such as
  44.    Windows for Workgroups or Windows NT. Please check Section Three first!
  45.  
  46. SECTION FIVE: Specific client application problems
  47.  
  48.    This section covers problems that are specific to certain products, such as
  49.    Windows for Workgroups or Windows NT. Please check Sections Three and Four
  50.    first!
  51.  
  52. SECTION SIX: Miscellaneous
  53.  
  54.    All the questions that aren't classifiable into any other section.
  55.  
  56. ===============================================================================
  57. SECTION ONE: General information
  58. -------------------------------------------------------------------------------
  59. 1: What is Samba?
  60.  
  61.    Samba is a suite of programs which work together to allow clients to access
  62.    Unix filespace and printers via the SMB (Session Message Block) protocol.
  63.  
  64.    In practice, this means that you can redirect disks and printers to Unix
  65.    disks and printers from Lan Manager clients, Windows for Workgroups 3.11
  66.    clients, Windows NT clients and OS/2 clients. There is also a Unix client
  67.    program supplied as part of the suite which allows Unix users to use an 
  68.    ftp-like interface to access filespace and printers on any other SMB
  69.    servers.
  70.  
  71.    The components of the suite are (in summary):
  72.  
  73.       smbd       the SMB server. This handles actual connections from clients
  74.       nmbd       the Netbios name server, which helps clients locate servers
  75.       smbclient  the Unix-hosted client program
  76.       smbrun     a little 'glue' program to help the server run external 
  77.                  programs
  78.       testprns   a program to test server access to printers
  79.       testparms  a program to test the Samba configuration file for correctness
  80.       smb.conf   the Samba configuration file
  81.       smbprint   a sample script to allow a Unix host to use smbclient to print
  82.                  to an SMB server
  83.    
  84.    The suite is supplied with full source (of course!) and is GPLed.
  85.  
  86.    The primary creator of the Samba suite is Andrew Tridgell. Later versions
  87.    incorporate much effort by many net.helpers. The man pages and this FAQ
  88.    were written by Karl Auer.
  89.  
  90. -------------------------------------------------------------------------------
  91. 2: What is the current version of Samba?
  92.  
  93.    At time of writing, the current version was 1.7.08.
  94.  
  95. -------------------------------------------------------------------------------
  96. 3: Where can I get it?
  97.  
  98.    The Samba suite is available via anonymous ftp from nimbus.anu.edu.au.
  99.  
  100.    The latest and greatest versions of the suite are in the directory:
  101.  
  102.       /pub/tridge/samba/
  103.  
  104.    Development (read "alpha") versions, which are NOT necessarily stable and
  105.    which do NOT necessarily have accurate documentation, are available in
  106.    the directory:
  107.  
  108.       /pub/tridge/samba/alpha
  109.  
  110.    Note that binaries are NOT included in any of the above. Samba is 
  111.    distributed ONLY in source form, though binaries may be available from 
  112.    other sites. Recent versions of some Linux distributions, for example,
  113.    do contain Samba binaries for that platform.
  114.  
  115. -------------------------------------------------------------------------------
  116. 4: What platforms are supported?
  117.  
  118.    Many different platforms have run Samba successfully. The platforms
  119.    most widely used and thus best tested are Linux and SunOS.
  120.  
  121.    At time of writing, the Makefile claimed support for:
  122.  
  123.       SunOS
  124.       Linux with shadow passwords
  125.       Linux without shadow passwords
  126.       SOLARIS
  127.       SOLARIS 2.2
  128.       SVR4
  129.       ULTRIX
  130.       OSF1 (alpha only - not well tested)
  131.       AIX
  132.       BSDI
  133.       NetBSD
  134.       NetBSD 1.0
  135.       SEQUENT
  136.       HP-UX
  137.       SGI
  138.       SGI IRIX 4.x.x
  139.       SGI IRIX 5.x.x
  140.       FreeBSD
  141.       NeXT 3.2 and above
  142.       NeXT OS 2.x
  143.       NeXT OS 3.0
  144.       ISC SVR3V4
  145.       SCO with shadow passwords.
  146.       SCO with shadow passwords, without YP.
  147.       SCO with TCB passwords
  148.       intergraph
  149.       DGUX
  150.  
  151. -------------------------------------------------------------------------------
  152. 5: How can I find out more about Samba?
  153.  
  154.    There are two mailing lists devoted to discussion of Samba-related matters.
  155.    There is soon to be a newsgroup, if all goes well.
  156.  
  157.    Send email to listproc@anu.edu.au. Make surethe subject line is blank, and
  158.    include the following two lines in the body of the message:
  159.  
  160.       subscribe samba Firstname Lastname
  161.       subscribe samba-announce Firstname Lastname
  162.  
  163.    Obviously you should substitute YOUR first name for "Firstname" and YOUR
  164.    last name for "Lastname"! Try not to send any signature stuff, it 
  165.    sometimes confuses the list processor.
  166.  
  167.    The samba list is a digest list - every eight hours or so it regurgitates
  168.    a single message containing all the messages that have been received by the
  169.    list since the last time and sends a copy of this message to all
  170.    subscribers.
  171.  
  172.    If you stop being interested in Samba, please send another email to 
  173.    listproc@anu.edu.au. Make sure the subject line is blank, and include the 
  174.    following two lines in the body of the message:
  175.  
  176.       unsubscribe samba
  177.       unsubscribe samba-announce
  178. -------------------------------------------------------------------------------
  179. 6: Something's gone wrong - what should I do?
  180.  
  181.                         *** IMPORTANT! ***
  182.              DO NOT post messages on mailing lists or 
  183.              in newsgroups until you have carried out
  184.              the first three steps given here!
  185.  
  186. Firstly, see if there are any likely looking entries in this FAQ!
  187.  
  188. Secondly, read the man pages for smbd, nmbd and smb.conf, looking for topics
  189. that relate to what you are trying to do.
  190.  
  191. Thirdly, if there is no obvious solution to hand, try to get a look at the log
  192. files for smbd and/or nmbd for the period during which you were having 
  193. problems. You may need to reconfigure the servers to provide more extensive
  194. debugging information - usually level 2 or level 3 provide ample debugging
  195. info. Inspect these logs closely, looking particularly for the string "Error:".
  196.  
  197. If you successfully solve a problem, please mail me a succinct description of
  198. the symptom, the problem and the solution, so I can incorporate it in the next
  199. version of the FAQ.
  200.  
  201. ===============================================================================
  202. SECTION TWO: Compiling and installing Samba on a Unix host
  203. -------------------------------------------------------------------------------
  204.  
  205. ===============================================================================
  206. SECTION THREE: Common client problems
  207. -------------------------------------------------------------------------------
  208. 1: I can't see the Samba server in any browse lists!
  209.  
  210. This is normal - Samba servers are not browsable. You need to type the
  211. server and service name in 'manually'. For example, to connect to the service
  212. "fred" on the host "mary" you would typically specify something like:
  213.  
  214.    \\mary\fred
  215.  
  216. If your GUI client does not permit you to select non-browsable servers, you may
  217. need to do so on the command line. For example, under Lan Manager you might 
  218. connect to the above service as disk drive M: thusly:
  219.  
  220.    net use M: \\mary\fred
  221.  
  222. The details of how to do this and the specific syntax varies from client to 
  223. client - check your client's documentation.
  224. -------------------------------------------------------------------------------
  225. 2: Some files that I KNOW are on the server doesn't show up when I view the
  226.    directories from my client!
  227.  
  228. If you check what files are not showing up, you will note that they are files
  229. which contain upper case letters or which are otherwise not DOS-compatible
  230. (ie, they are not legal DOS filenames for some reason).
  231.  
  232. The Samba server can be configured either to ignore such files completely, or
  233. to present them to the client in "mangled" form. If you are not seeing the
  234. files at all, the Samba server has most likely been configured to ignore them.
  235. Consult the man page smb.conf(5) for details of how to change this - the
  236. parameter you need to set is "mangled names = yes".
  237. -------------------------------------------------------------------------------
  238. 3: Some files on the server show up with really wierd filenames when I view the
  239.    directories from my client!
  240.  
  241. If you check what files are showing up wierd, you will note that they are files
  242. which contain upper case letters or which are otherwise not DOS-compatible
  243. (ie, they are not legal DOS filenames for some reason).
  244.  
  245. The Samba server can be configured either to ignore such files completely, or
  246. to present them to the client in "mangled" form. If you are seeing strange
  247. file names, they are most likely "mangled". If you would prefer to have such
  248. files ignored rather than presented in "mangled" form, consult the man page
  249. smb.conf(5) for details of how to change the server configuration - the
  250. parameter you need to set is "mangled names = no".
  251. -------------------------------------------------------------------------------
  252. 4: My client reports "cannot locate specified computer" or similar.
  253.  
  254. This indicates one of three things: You supplied an incorrect server name,
  255. the underlying TCP/IP layer is not working correctly, or the name you
  256. specified cannot be resolved.
  257.  
  258. After carefully checking that the name you typed is the name you should have
  259. typed, try doing things like pinging a host or telnetting to somewhere on your
  260. network to see if TCP/IP is functioning OK. If it is, the problem is most
  261. likely name resolution.
  262.  
  263. If your client has a facility to do so, hardcode a mapping between the hosts IP
  264. and the name you want to use. For example, with Man Manager or Windows for
  265. Workgroups you would put a suitable entry in the file LMHOSTS. If this works,
  266. the problem is in the communication between your client and the netbios name
  267. server. If it does not work, then there is something fundamental wrong with
  268. your naming and the solution is beyond the scope of this document.
  269.  
  270. If you do not have any server on your subnet supplying netbios name resolution,
  271. hardcoded mappings are your only option. If you DO have a netbios name server
  272. running (such as the Samba suite's nmbd program), the problem probably lies
  273. in the way it is set up. Refer to Section Two of this FAQ for more ideas.
  274.  
  275. By the way, remember to REMOVE the hardcoded mapping before further tests :-)
  276. -------------------------------------------------------------------------------
  277. 5: My client reports "cannot locate specified share name" or similar.
  278.  
  279. This message indicates that your client CAN locate the specified server, which
  280. is a good start, but that it cannot find a service of the name you gave.
  281.  
  282. The first step is to check the exact name of the service you are trying to 
  283. connect to (consult your system administrator). Assuming it exists and
  284. you specified it correctly (read your client's doco on how to specify a
  285. service name correctly), read on:
  286.  
  287. Many clients cannot accept or use service names longer than eight characters.
  288. Many clients cannot accept or use service names containing spaces.
  289. Some servers (not Samba though) are case sensitive with service names.
  290. Some clients force service names into upper case.
  291. -------------------------------------------------------------------------------
  292. 6: My client reports "cannot find domain controller", "cannot log on to the
  293.    network" or similar.
  294.  
  295. Nothing is wrong - Samba does not implement the primary domain name controller
  296. stuff for several reasons, including the fact that the whole concept of a
  297. primary domain controller and "logging in to a network" doesn't fit well with
  298. clients possibly running on multiuser machines (such as users of smbclient
  299. under Unix).
  300.  
  301. Seeing this message should not affect your ability to mount redirected disks
  302. and printers, which is really what all this is about.
  303.  
  304. For many clients (including Windows for Workgroups and Lan Manager), setting
  305. the domain to STANDALONE at least gets rid of the message.
  306. -------------------------------------------------------------------------------
  307. 7: Printing doesn't work :-(
  308.  
  309. Make sure that the specified print command for the service you are connecting
  310. to is correct and that it has a fully-qualified path (eg., use "/usr/bin/lpr"
  311. rather than just "lpr").
  312.  
  313. Make sure that the spool directory specified for the service is
  314. writable by the user connected to the service. In particular the user
  315. "nobody" often has problems with printing, even if it worked with an
  316. earlier version of Samba. Try creating another guest user other than
  317. "nobody".
  318.  
  319. Make sure that the user specified in the service is permitted to use the
  320. printer.
  321.  
  322. Check the debug log produced by smbd. Search for the printer name and see if
  323. the log turns up any clues. Note that error messages to do with a service ipc$
  324. are meaningless - they relate to the way the client attempts to retrieve
  325. status information when using the LANMAN1 protocol.
  326.  
  327. If using WfWg then you need to set the default protocol to TCP/IP, not
  328. Netbeui. This is a WfWg bug.
  329.  
  330. If using the Lanman1 protocol (the default) then try switching to
  331. coreplus. Also not that print status error messages don't mean
  332. printing won't work. The print status is received by a different
  333. mechanism.
  334. -------------------------------------------------------------------------------
  335. 8: My programs install on the server OK, but refuse to work properly.
  336.  
  337. There are numerous possible reasons for this, but one MAJOR possibility is that
  338. your software uses locking. Make sure you are using Samba 1.6.11 or later. It
  339. may also be possible to work around the problem by setting "locking=no" in
  340. the Samba configuration file for the service the software is installed on. This
  341. should be regarded as a strictly temporary solution.
  342.  
  343. In earlier Samba versions there were some difficulties with the very
  344. latest Microsoft products, particularly Excel 5 and Word for Windows
  345. 6. Thse should have all been solved. If not then please let Andrew
  346. Tridgell know.
  347.  
  348. ===============================================================================
  349. SECTION FOUR: Specific client problems
  350. -------------------------------------------------------------------------------
  351.  
  352. ===============================================================================
  353. SECTION FIVE: Specific client application problems
  354. -------------------------------------------------------------------------------
  355.  
  356. ===============================================================================
  357. SECTION SIX: Miscellaneous
  358. -------------------------------------------------------------------------------
  359.  
  360.  
  361.  
  362.