qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Does anyone actually use -smb


From: Jan Kiszka
Subject: Re: [Qemu-devel] Re: Does anyone actually use -smb
Date: Tue, 05 May 2009 15:52:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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 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
                                                                     ^^^^^^^
Sounds not like it is necessarily set in stone.

>    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´

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

> 
> 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.

Would be interesting to know if that makes a difference for you.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]