All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Re: Does anyone actually use -smb
Date: Tue, 5 May 2009 13:09:43 +0100	[thread overview]
Message-ID: <20090505120943.GB25328@shareable.org> (raw)
In-Reply-To: <49FFDA1A.6090408@web.de>

Jan Kiszka wrote:
> OpenSUSE 11.0 with samba-3.2.4-4.3 and 11.1 with samba-3.2.7-11.2.1.
> 
> Maybe you should file a bug at your distro if its version doesn't behave
> according to its docs.

But it does behave according to its docs.

The Samba docs "man smbd" list a lot of files in /var/lib/samba, for
which there is no smb.conf option to change the path.

I've just looked at RHEL 4.6 (ancient - samba-3.0.25b) and Ubuntu 9.04
(new - samba-2:3.3.2-1ubuntu3), which I happen to have.

>From "man smbd", does yours not have these?

   Samba stores it´s data in several TDB (Trivial Database) files, usually
   located in /var/lib/samba.

   (*) information persistent across restarts (but not necessarily
   important to backup).

   account_policy.tdb*
       NT account policy settings such as pw expiration, etc...

   brlock.tdb
       byte range locks

   browse.dat
       browse lists

   connections.tdb
       share connections (used to enforce max connections, etc...)

   gencache.tdb
       generic caching db

   group_mapping.tdb*
       group mapping information

   locking.tdb
       share modes & oplocks

   login_cache.tdb*
       bad pw attempts

   messages.tdb
       Samba messaging system

   netsamlogon_cache.tdb*
       cache of user net_info_3 struct from net_samlogon() request (as a
       domain member)

   ntdrivers.tdb*
       installed printer drivers

   ntforms.tdb*
       installed printer forms

   ntprinters.tdb*
       installed printer information

   printing/
       directory containing tdb per print queue of cached lpq output

   registry.tdb
       Windows registry skeleton (connect via regedit.exe)

   sessionid.tdb
       session information (e.g. support for ´utmp = yes´)

   share_info.tdb*
       share acls

   winbindd_cache.tdb
       winbindd´s cache of user lists, etc...

   winbindd_idmap.tdb*
       winbindd´s local idmap db

   wins.dat*
       wins database when ´wins support = yes´

Most of them correspond to features which are disabled for QEMU, but
some aren't.

I'm only talking about this because I've tried to use QEMU "-smb" in
the last year and couldn't get it working.  It looked like I needed to
reconfigure and recompile Samba from source to use it.

-- Jamie

  parent reply	other threads:[~2009-05-05 12:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04 18:20 [Qemu-devel] Does anyone actually use -smb Anthony Liguori
2009-05-04 20:19 ` [Qemu-devel] " Jan Kiszka
2009-05-04 20:25   ` Jan Kiszka
2009-05-04 21:36   ` Anthony Liguori
2009-05-04 21:40     ` Jan Kiszka
2009-05-05  1:47   ` Jamie Lokier
2009-05-05  6:18     ` Jan Kiszka
2009-05-05  7:27       ` Jan Kiszka
2009-05-05 12:13         ` Alexey Eremenko
2009-05-05 12:09       ` Jamie Lokier [this message]
2009-05-05 13:52         ` Jan Kiszka
2009-05-05 15:07           ` Avi Kivity
2009-05-05 12:10       ` Jamie Lokier
2009-05-05 13:34     ` Anthony Liguori
2009-05-05 13:55       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090505120943.GB25328@shareable.org \
    --to=jamie@shareable.org \
    --cc=aliguori@us.ibm.com \
    --cc=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.