[Samba] Samba rpm and /var/*/samba directory for .tdb files

Craig White craigwhite at azapple.com
Wed Feb 15 22:06:50 GMT 2006


On Wed, 2006-02-15 at 14:42 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Don Meyer wrote:
> > At 08:24 AM 2/15/2006, Gerald (Jerry) Carter wrote:
> >> Oliver Schulze L. wrote:
> >> > Hi,
> >> > I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba
> >> > for storing the .tdb files. Then I compilled the fedora .src.rpm from
> >> > samba.org
> >> > and it points now to /var/cache/samba
> >>
> >> This was a mistake introduced into the RPM specfile during a
> >> recent set of merges.  When it was realized, the 3.0.21b-1 rpm was
> >> pulled from samba.org and a new set of RPMs posted.  The tdb files
> >> should live in /var/lib/samba/
> > 
> > Actually, stock RHEL4 rpms for their 3.0.10-1.4E.2 version use
> > /var/cache/samba/.
> > 
> > Does this change in the packaging reflect a "sea change" towards use of
> > /var/lib/samba/ for the future?    (I.E. Can we "expect" future
> > RHEL-distributed packagings to adopt use of /var/lib/samba/ as well?)
> 
> IMO.  They should have always been in /var/lib/samba/.
> I can't guess what RedHat would do, but SuSE and most other
> distros I can think of use /var/lib/samba/.  You could
> probably check the stock Fedora RPMs and see what they use.  IIRC
> they are using /var/lib/samba/ as well.
----
if this helps...

# ls -l /var/cache/samba/
total 72
-rw-------  1 root root  8192 Jun  8  2004 gencache.tdb
-rw-------  1 root root   696 Feb 14  2005 messages.tdb
-rw-------  1 root root   696 Feb 14  2005 netsamlogon_cache.tdb
-rw-------  1 root root 20172 Feb 14  2005 winbindd_cache.tdb
-rw-r--r--  1 root root  8192 Feb 14  2005 winbindd_idmap.tdb
drwxr-x---  2 root root  4096 May  2  2005 winbindd_privileged

# uname -a
Linux lin-workstation.azapple.com 2.6.15-1.1830_FC4 #1 Thu Feb 2
17:23:41 EST 2006 i686 athlon i386 GNU/Linux

# cat /etc/redhat-release
Fedora Core release 4 (Stentz)

Craig



More information about the samba mailing list