Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48871 - requesting ebuild for Samba 3.0.4
Summary: requesting ebuild for Samba 3.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Highest enhancement (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords: EBUILD
: 50547 (view as bug list)
Depends on:
Blocks: 30151 31208 33806 36465 38190 41796 42557 49463
  Show dependency tree
 
Reported: 2004-04-24 05:09 UTC by Carsten Lohrke (RETIRED)
Modified: 2004-07-07 16:05 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Samba 3.0.4 ebuild (samba-3.0.4.ebuild,11.61 KB, text/plain)
2004-05-09 03:51 UTC, Ronald Moesbergen
Details
rediffed Python setup patch (place in files subdir) (samba-3.0.4-python-setup.patch,833 bytes, patch)
2004-05-09 03:52 UTC, Ronald Moesbergen
Details | Diff
samba-3.0.4.ebuild (obsoletes previous) (samba-3.0.4.ebuild,12.32 KB, text/plain)
2004-05-12 02:51 UTC, Christian Andreetta (RETIRED)
Details
init script (to be placed in ./files dir) (samba-init,867 bytes, text/plain)
2004-05-12 02:52 UTC, Christian Andreetta (RETIRED)
Details
init script config (to be placed in ./files dir) (samba-conf,1.18 KB, text/plain)
2004-05-12 02:52 UTC, Christian Andreetta (RETIRED)
Details
samba-3.0.4.ebuild (obsoletes previous) (samba-3.0.4.ebuild,12.22 KB, text/plain)
2004-05-12 03:17 UTC, Christian Andreetta (RETIRED)
Details
samba-3.0.4.ebuild (obsoletes previous) (samba-3.0.4.ebuild,12.29 KB, text/plain)
2004-05-12 04:33 UTC, Christian Andreetta (RETIRED)
Details
samba-3.0.4.ebuild (obsoletes previous) (samba-3.0.4.ebuild,12.33 KB, text/plain)
2004-05-17 03:51 UTC, Christian Andreetta (RETIRED)
Details
samba-3.0.4.ebuild (obsoletes previous) (samba-3.0.4.ebuild,12.33 KB, text/plain)
2004-05-18 01:43 UTC, Christian Andreetta (RETIRED)
Details
patched samba-3.0.4 ebuild (samba-vscan support is now ok) (samba-3.0.4.ebuild,12.45 KB, text/plain)
2004-05-25 06:39 UTC, Alessandro Pisani
Details
samba-3.0.4 + (samba-vscan | post-3.0.4 patches) (samba-3.0.4.ebuild,12.58 KB, text/plain)
2004-05-27 09:16 UTC, kfm
Details
Gerald Carter's post-3.0.4 patchset (samba-3.0.4.patch,7.90 KB, patch)
2004-05-27 09:18 UTC, kfm
Details | Diff
samba-3.0.4-r1.ebuild (libs location change, install rewritten) (samba-3.0.4-r1.ebuild,10.70 KB, text/plain)
2004-05-31 02:36 UTC, Christian Andreetta (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2004-04-24 05:09:03 UTC
.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-05-07 12:28:37 UTC
(29th Apr, 2004) Samba 3.0.3 Available for Download
Comment 2 Ronald Moesbergen 2004-05-09 03:51:44 UTC
Created attachment 31035 [details]
Samba 3.0.4 ebuild

Something to work with until a 'real' ebuild is ready. works4me.
Comment 3 Ronald Moesbergen 2004-05-09 03:52:26 UTC
Created attachment 31036 [details, diff]
rediffed Python setup patch (place in files subdir)
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-05-10 00:25:16 UTC
*** Bug 50547 has been marked as a duplicate of this bug. ***
Comment 5 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 02:50:10 UTC
I'm committing a new ebuild for samba 3.0.4, along with new initscripts.
Should resolve bugs 30151, 31208, 36465, 33806, 38190, 41796, 42557, 49463.
Ldap and kerberos latest bugs in proceedings, though i should need more feedback on them...
Comment 6 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 02:51:25 UTC
Created attachment 31248 [details]
samba-3.0.4.ebuild (obsoletes previous)
Comment 7 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 02:52:21 UTC
Created attachment 31249 [details]
init script (to be placed in ./files dir)
Comment 8 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 02:52:49 UTC
Created attachment 31250 [details]
init script config (to be placed in ./files dir)
Comment 9 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 03:17:35 UTC
Created attachment 31251 [details]
samba-3.0.4.ebuild (obsoletes previous)

this one should resolve also #43019
Comment 10 Christian Andreetta (RETIRED) gentoo-dev 2004-05-12 04:33:15 UTC
Created attachment 31253 [details]
samba-3.0.4.ebuild (obsoletes previous)

'xml2' global use flag support is now active (previously, only 'xml' had
effect)
Comment 11 Ronald Moesbergen 2004-05-16 03:49:21 UTC
Could you add this to the ebuild:

        # to work transparently with the standard 'mount' command..
        dodir /sbin
        dosym /usr/bin/smbmount /sbin/mount.smbfs
+       dosym /usr/bin/mount.cifs /sbin/mount.cifs

        # make the smb backend symlink for cups printing support..
        if use cups; then

It will fix part of bug #46680 and make mounting cifs from fstab work.
Thanks.
Comment 12 Christian Andreetta (RETIRED) gentoo-dev 2004-05-17 03:51:29 UTC
Created attachment 31575 [details]
samba-3.0.4.ebuild (obsoletes previous)

As per #11: added part of cifs mount support. Thanks
Comment 13 Christian Andreetta (RETIRED) gentoo-dev 2004-05-18 01:43:12 UTC
Created attachment 31640 [details]
samba-3.0.4.ebuild (obsoletes previous)

only some minor tweaks in docs install. krb5 (heimdal/mit-krb5) works for me.
Ldap still to be tested properly. did anyone try it?
Comment 14 Martin Holzer (RETIRED) gentoo-dev 2004-05-22 03:32:53 UTC
should someone commit this ?
Comment 15 Ricardo Nuno 2004-05-24 17:35:42 UTC
I'm having some problems with this ebuild with ldap backend

minho sbin # pdbedit -Lv teste
Failed to load /usr/lib/upcase.dat - No such file or directory
Failed to load /usr/lib/lowcase.dat - No such file or directory
creating lame upcase table
creating lame lowcase table
Failed to load /usr/lib/valid.dat - No such file or directory
creating default valid table
Comment 16 Glenn Morse 2004-05-24 18:40:06 UTC
Something's broken for me now...it worked for a day or two, but no longer. When samba starts, the smbd starts OK, but nmbd and winbind report red exclamation marks. I don't know how to get more detailed error messages, sorry. I can see processes for both smbd and nmbd running, but /etc/init.d/samba stop says that samba is not running. How can I find out what errors are being generated?
Comment 17 Hans-Christian Armingeon 2004-05-25 05:16:01 UTC
I am looking forward for a stable ebuild on amd64, is anyone already testing on that platform?

Johnny
Comment 18 FieldySnuts 2004-05-25 05:33:22 UTC
I can try to take care of this, however it will be difficult for me to find time. I may not be able to simply because of time. I will do my best.
Comment 19 Alessandro Pisani 2004-05-25 05:55:28 UTC
please wait a bit before mergin this... this ebuild as is now currently cause
samba+samba_vscan+clamav to give fatal error on startup... i'm investigating this with the samba_vscan mantainer trying some patches he sent me... 
i'll let you know

bye,
alessandro
Comment 20 Alessandro Pisani 2004-05-25 06:37:05 UTC
Okay, here it is: clamav now works fine with samba (attaching new ebuild)
Thanks to Rainer Link (samba-vscan maintainer) for his help!

PS: I'm going also to open a new bug for samba-3.0.2a-rX ebuilds which have the same bug
Comment 21 Alessandro Pisani 2004-05-25 06:39:21 UTC
Created attachment 32005 [details]
patched samba-3.0.4 ebuild (samba-vscan support is now ok)

patched samba-3.0.4 ebuild (samba-vscan support is now ok)
obsoletes ebuild dated 2004-05-18 01:43 PST
Comment 22 Christian Andreetta (RETIRED) gentoo-dev 2004-05-26 04:58:37 UTC
this will become a forum :)

in reply to #16 (Glenn Morse): basically, log locations are configured via your log manager (syslog, syslog-ng, metalog, whatever). Usually most interesting notices concerning daemon<->system aspects are recorded in /var/log/messages, /var/log/debug or /var/log/syslog. Samba keeps his own internal logs under /var/log/samba/*. To 'regain control' of a not properly started init script, just do '/etc/init.d/<script> zap'. Then, after having manally stopped all daemonic :) instances, '/etc/init.d/<script> start' should behave correctly.

in reply to #15 (Ricardo Nuno): as Alessandro Pisani shows for oav support, 3.x ebuilds compile and install manually all aspects of all the packages: this will be difficult to maintain in future. I'm doing a major rewriting of compile and install sections in the ebuild to benefit of the package own install feature, along with some testing. I expect it done in this weekend
Comment 23 FieldySnuts 2004-05-26 05:46:35 UTC
In regard to #18, I regret that I no longer have an amd64 system to test with. This may change in a few weeks.
Comment 24 kfm 2004-05-27 09:13:54 UTC
Gerald Carter released an important post-3.0.4 patchset which fixes these bugs:

* BUG 1315 - wbinfo -t unsuccessful on 3.0.4
* BUG 1319 - Cannot write to a share with write-list users
* BUG 1345 - Macromedia Homesite cannot connect anymore 
             after upgrade to 3.0.4

In view of that, I'm attaching an updated ebuild, and the corresponding patch which should go into ${FILESDIR}.

The patch was sourced from: http://samba.org/~jerry/patches/post-3.0.4/samba-3.0.4.patch

I should also add that I haven't tested 3.0.4 in any capacity (yet).
Comment 25 kfm 2004-05-27 09:16:11 UTC
Created attachment 32147 [details]
samba-3.0.4 + (samba-vscan | post-3.0.4 patches)

This supercedes the last supplied samba-3.0.4 ebuild (attachment 32005 [details]), adding
Gerald Carter's post-3.0.4 patchset.
Comment 26 kfm 2004-05-27 09:18:39 UTC
Created attachment 32148 [details, diff]
Gerald Carter's post-3.0.4 patchset

This should be placed in ${FILESDIR} with regard to the ebuild supplied in
attachment 32147 [details]. Obtained from:
http://samba.org/~jerry/patches/post-3.0.4/samba-3.0.4.patch.
Comment 27 kfm 2004-05-27 09:27:47 UTC
I've just read reports that samba_bug 1345 was also causing problems for users of Arcserve agent and the robocopy tool from the Win2K/XP resource kits, so that bug is obviously more irksome than it initially sounds ;)
Comment 28 Richard Freeman gentoo-dev 2004-05-28 13:17:12 UTC
This ebuild works fine for me on amd64 - I'm using samba as a PDC for XP professional...
Comment 29 Hans-Christian Armingeon 2004-05-28 15:09:27 UTC
@#28
Sounds good.
How about printing? in 3.0.4 were a few options for cups newly introduced.

I am having the Problem, that printing is possible, but users can't change the properties of a printer, and they can't modify / delete their jobs. But they are authentificated correcrly.

Well, I switched to native cups, as in our Network are only 2 WIN98 Clients left.

Johnny
Comment 30 Christian Andreetta (RETIRED) gentoo-dev 2004-05-31 02:36:07 UTC
Created attachment 32370 [details]
samba-3.0.4-r1.ebuild (libs location change, install rewritten)

proposing some fixes in compile and install sections. file hierarchy standard
is not well supported in some subcomponents, causing errors in loading libs not
located in /usr/lib or /lib (most notably, this happens with data files in
/usr/lib/samba).
all contribs in this bug are included. Revision number increased due to change
in lib position and call to samba install method
Comment 31 Christian Andreetta (RETIRED) gentoo-dev 2004-06-11 07:29:39 UTC
commit in cvs
Comment 32 Hans-Christian Armingeon 2004-07-07 09:38:02 UTC
Is anybody using samba 3.0.4 on a amd64, or, can we mark samba amd64 stable without headaches?

Johnny
Comment 33 Richard Freeman gentoo-dev 2004-07-07 16:05:08 UTC
It is working fine for me - as already indicated...  I'm running 3.0.4-r1.