Oliver Schulze L.
2006-Feb-06 18:27 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
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 I will build tonight the .rpm from the .tar.gz and see which directory samba choose for the .tdb files in CentOS4. Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba ? Many thanks Oliver -- Oliver Schulze L. <oliver@samera.com.py>
Josh Kelley
2006-Feb-06 18:38 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
On 2/6/06, Oliver Schulze L. <oliver@samera.com.py> wrote:> 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/sambaI noticed this too (and it tripped me up until I noticed it).> Anyone can confirm this list of distro/.tdb directory: > Fedora: /var/cache/samba > CentOS4: /var/lib/samba > RH9: /var/lib/sambaUnless I'm missing something, samba-3.0.10-1.4E.2.i386.rpm, as included with CentOS 4.2, uses /var/cache/samba. Older Fedora .src.rpms from the Samba site used /var/lib/samba, so if you're upgrading from there, that explains the change. Josh Kelley
Dimitri Yioulos
2006-Feb-06 18:48 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
On Monday February 06 2006 1:08 pm, 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 > > I will build tonight the .rpm from the .tar.gz and see which directory > samba choose for the .tdb files in CentOS4. > > Anyone can confirm this list of distro/.tdb directory: > Fedora: /var/cache/samba > CentOS4: /var/lib/samba > RH9: /var/lib/samba > ? > > Many thanks > Oliver >I can't speak to RH9, but I'm running CentOS 3 and 4, and FC2 boxes here. As to those, the tdb files are stored as you suspected: Fedora: /var/cache/samba CentOS4: /var/lib/samba HTH. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Gerald (Jerry) Carter
2006-Feb-15 16:54 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 > > I will build tonight the .rpm from the .tar.gz and see which directory > samba > choose for the .tdb files in CentOS4. > > Anyone can confirm this list of distro/.tdb directory: > Fedora: /var/cache/samba > CentOS4: /var/lib/samba > RH9: /var/lib/sambaThis 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/ cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD8zmdIR7qMdg1EfYRAqCJAKDubh6E9futdVB4de1NpNbsdwVMaACfVHxq UZcmgIqx9gAvNnVtI2Vqn6w=Cb8+ -----END PGP SIGNATURE-----
Oliver Schulze L.
2006-Feb-15 18:34 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
Gerald (Jerry) Carter wrote:> 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/ >Thanks for the explanation Jerry, I noted that 3.0.21b-3 src.rpm for fedora is out, will compile it in RHEL4(CentOS4) and test it. BTW, the rpms for RHEL4 from http://ftp.sernet.de/pub/samba/rhel/rhel4/ have more pakages and different names that the .rpm shipped in RHEL4. For example, the packages are called samba3-* and in RHEL4 are called samba-* Also, packages libsmbclient and libsmbclient-devel does not exits in RHEL4, so, upgrading is not straightforward. Regards, Oliver -- Oliver Schulze L. <oliver@samera.com.py>
Gerald (Jerry) Carter
2006-Feb-15 18:40 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oliver Schulze L. wrote:> Gerald (Jerry) Carter wrote: >> 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/ >> > Thanks for the explanation Jerry, > I noted that 3.0.21b-3 src.rpm for fedora is out, will compile it in > RHEL4(CentOS4) and test it. > > BTW, the rpms for RHEL4 from http://ftp.sernet.de/pub/samba/rhel/rhel4/ > have > more pakages and different names that the .rpm shipped in RHEL4. > For example, the packages are called samba3-* and in RHEL4 are called > samba-* > Also, packages libsmbclient and libsmbclient-devel does not exits in RHEL4, > so, upgrading is not straightforward.Those packages are specifically handled by SerNet. So you would need to discuss any concerns or questions with them. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD83XBIR7qMdg1EfYRAjwQAKDbyVzVNXIOtdbRO7Yl1p3b4+m4PgCgupEE lFLIFPxMc+mzHKWSNb9I+4I=wozF -----END PGP SIGNATURE-----
Don Meyer
2006-Feb-15 19:34 UTC
[Samba] Samba rpm and /var/*/samba directory for .tdb files
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?) -D Don Meyer <dlmeyer@uiuc.edu> Network Manager, ACES Academic Computing Facility Technical System Manager, ACES TeleNet System UIUC College of ACES, Information Technology and Communication Services "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty or safety." -- Benjamin Franklin, 1759