From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1JTB-0006e4-Gm for qemu-devel@nongnu.org; Tue, 05 May 2009 08:09:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1JT6-0006dK-FO for qemu-devel@nongnu.org; Tue, 05 May 2009 08:09:56 -0400 Received: from [199.232.76.173] (port=33159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1JT5-0006dF-1Y for qemu-devel@nongnu.org; Tue, 05 May 2009 08:09:51 -0400 Received: from mail2.shareable.org ([80.68.89.115]:46023) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1JT4-000300-JH for qemu-devel@nongnu.org; Tue, 05 May 2009 08:09:50 -0400 Date: Tue, 5 May 2009 13:09:43 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: Does anyone actually use -smb Message-ID: <20090505120943.GB25328@shareable.org> References: <49FF31E4.8040106@us.ibm.com> <49FF4DC2.4020003@web.de> <20090505014744.GD12731@shareable.org> <49FFDA1A.6090408@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49FFDA1A.6090408@web.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , "qemu-devel@nongnu.org" 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