From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1L4n-00048D-Iv for qemu-devel@nongnu.org; Tue, 05 May 2009 09:52:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1L4i-00046g-Tr for qemu-devel@nongnu.org; Tue, 05 May 2009 09:52:53 -0400 Received: from [199.232.76.173] (port=50885 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1L4i-00046U-Oh for qemu-devel@nongnu.org; Tue, 05 May 2009 09:52:48 -0400 Received: from mx20.gnu.org ([199.232.41.8]:46440) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1L4i-0000Xq-92 for qemu-devel@nongnu.org; Tue, 05 May 2009 09:52:48 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1L4g-0001Q6-AS for qemu-devel@nongnu.org; Tue, 05 May 2009 09:52:46 -0400 Message-ID: <4A004482.80300@web.de> Date: Tue, 05 May 2009 15:52:02 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Does anyone actually use -smb References: <49FF31E4.8040106@us.ibm.com> <49FF4DC2.4020003@web.de> <20090505014744.GD12731@shareable.org> <49FFDA1A.6090408@web.de> <20090505120943.GB25328@shareable.org> In-Reply-To: <20090505120943.GB25328@shareable.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig21B990D7E513BF1DEAF1D9DF" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Anthony Liguori , "qemu-devel@nongnu.org" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig21B990D7E513BF1DEAF1D9DF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jamie Lokier wrote: > 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 beha= ve >> according to its docs. >=20 > But it does behave according to its docs. >=20 > 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. >=20 > 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. >=20 > From "man smbd", does yours not have these? >=20 > Samba stores it=B4s data in several TDB (Trivial Database) files, us= ually ^^^^= ^^^ Sounds not like it is necessarily set in stone. > located in /var/lib/samba. >=20 > (*) information persistent across restarts (but not necessarily > important to backup). >=20 > account_policy.tdb* > NT account policy settings such as pw expiration, etc... >=20 > brlock.tdb > byte range locks >=20 > browse.dat > browse lists >=20 > connections.tdb > share connections (used to enforce max connections, etc...) >=20 > gencache.tdb > generic caching db >=20 > group_mapping.tdb* > group mapping information >=20 > locking.tdb > share modes & oplocks >=20 > login_cache.tdb* > bad pw attempts >=20 > messages.tdb > Samba messaging system >=20 > netsamlogon_cache.tdb* > cache of user net_info_3 struct from net_samlogon() request (as = a > domain member) >=20 > ntdrivers.tdb* > installed printer drivers >=20 > ntforms.tdb* > installed printer forms >=20 > ntprinters.tdb* > installed printer information >=20 > printing/ > directory containing tdb per print queue of cached lpq output >=20 > registry.tdb > Windows registry skeleton (connect via regedit.exe) >=20 > sessionid.tdb > session information (e.g. support for =B4utmp =3D yes=B4) >=20 > share_info.tdb* > share acls >=20 > winbindd_cache.tdb > winbindd=B4s cache of user lists, etc... >=20 > winbindd_idmap.tdb* > winbindd=B4s local idmap db >=20 > wins.dat* > wins database when =B4wins support =3D yes=B4 This is how my /tmp/qemu-smb.x folder looks like when running "smbclient //10.0.2.4/qemu" in the guest: account_policy.tdb brlock.tdb connections.tdb gencache.tdb group_mapping.ldb locking.tdb log.smbd messages.tdb notify.tdb ntdrivers.tdb ntforms.tdb ntprinters.tdb perfmon printing registry.tdb secrets.tdb sessionid.tdb share_info.tdb smb.conf smbpasswd >=20 > Most of them correspond to features which are disabled for QEMU, but > some aren't. >=20 > 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. Would be interesting to know if that makes a difference for you. Jan --------------enig21B990D7E513BF1DEAF1D9DF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkoARIUACgkQniDOoMHTA+kzUwCfSiYwOukfcGL2BzWznqXdJvqn a94An373co5JHRZEvFMVCIw3YdlMK/FN =7Cbh -----END PGP SIGNATURE----- --------------enig21B990D7E513BF1DEAF1D9DF--