----- Forwarded message from Mail Delivery System <[EMAIL PROTECTED]>
-----
>From cwoods Tue Apr 23 15:08:11 2002
Delivered-To: [EMAIL PROTECTED]
Date: Tue, 23 Apr 2002 15:08:11 -0500 (CDT)
From: [EMAIL PROTECTED] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [EMAIL PROTECTED]
Content-Description: Notification
This is the Postfix program at host mandrake.trismegistus.net.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<[EMAIL PROTECTED]>: host smtp.mandrax.org[63.209.80.242] said: 554
<[EMAIL PROTECTED]>: Recipient address rejected: Relay access
denied
Content-Description: Delivery error report
Reporting-MTA: dns; mandrake.trismegistus.net
Arrival-Date: Tue, 23 Apr 2002 15:07:59 -0500 (CDT)
Final-Recipient: rfc822; [EMAIL PROTECTED]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host smtp.mandrax.org[63.209.80.242] said: 554
<[EMAIL PROTECTED]>: Recipient address rejected: Relay access
denied
Content-Description: Undelivered Message
Date: Tue, 23 Apr 2002 15:07:59 -0500
From: "J. Craig Woods" <[EMAIL PROTECTED]>
To: Sylvestre Taburet <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: AW: [expert] samba and ACls in 8.2
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.3.27i
Sylvestre,
I am not the poster that originally posted that Samba came without ACL
support but my question to you still stands *UN*answered. Although you
were unable or unwilling to answer the question, I asked a very simple
question: where is this "samba.spec" file your refer to? While doing an
install of 8.2, I chose to have Samba installed. Now, my installed has
completed, and there is no samba.spec file. I realize that if, after my
OS installation, I decided to build and intall Samba, I would then find
a "samba.spec" file. BUT after doing a complete OS installation with
Samba selected, where is the samba.spec file? I contend that there is
no such file. So how would I know what "--configure-with" options have
been used on Samba?
The originator of this thread stated that no ACL support was compiled
into the Samba that was installed while doing the system install. I
think I hear you saying, "yes, it was". Again, my question is very
simple, "how would I know what samba is compiled with since no
samba.spec will exist on the system"?
BTW why is this thread not directed to the expert list?
Craig Woods
On Tue, Apr 23, 2002 at 01:26:41PM +0200, Sylvestre Taburet wrote:
> Le Mardi 23 Avril 2002 12:47, vous avez �crit :
> > Sylvestre Taburet wrote:
> > > Okay.
> > > Check the samba.spec and you'll see that the samba RPM provided with 8.2
> > > was compiled with that option.
> >
> > Ok, Sly, I give up. I installed Samba during a clean install of LMDK8.2.
> > Where would I find the samba.spec file?
> >
> > Dr John
> > The Night Tripper
>
> Here it is. We set up macros and flags for building the rpm with specific
> options for 8.0, 8.1...
>
> I compiled it "for 8.2", that is with ACLs, winbind and nss_wins enabled. The
> only thing that isn't enabled is ldap. If someone wants it, one could always
> rebuild the SRPM by typing "rpm --rebuild samba-xxx.src.rpm --with ldap"
>
> That's why I was a bit upset to read in the news that I didn't enable XFS
> ACLs in my package. I enabled and tested it myself, and other developpers
> also tested it, in fact, and it worked fine.
>
> Now what is exactly the issue that is bothering you?
>
> Cheers
>
> samba.spec
> -------------------------------
>
> %define ver 2.2.3a
> %define rel 10mdk
>
> #choose one of the following (by making it 1)
> %define build_cooker 0
> %define build_mdk82 1
> %define build_mdk81 0
> %define build_mdk80 0
> %define build_mdk72 0
> %define build_non_default 0
>
> # Allow commandline option overrides (borrowed from Vince's qmail srpm):
> # To use it, do rpm [-ba|--rebuild] --with 'xxx'
> # The default distro is currently mdk82, so any other commandlinue must
> # %define mdk82 0
> %{?_with_cooker: %{expand: %%define build_cooker 1}}
> %{?_with_cooker: %{expand: %%define build_mdk82 0}}
> %{?_with_mdk82: %{expand: %%define build_mdk82 1}}
> #%{?_with_mdk82: %{expand: %%define build_cooker 0}}
> %{?_with_mdk81: %{expand: %%define build_mdk81 1}}
> %{?_with_mdk81: %{expand: %%define build_mdk82 0}}
> %{?_with_mdk80: %{expand: %%define build_mdk80 1}}
> %{?_with_mdk80: %{expand: %%define build_mdk82 0}}
> %{?_with_mdk72: %{expand: %%define build_mdk72 1}}
> %{?_with_mdk72: %{expand: %%define build_mdk82 0}}
>
> # Check to see if we are building for a non-default distro. This needs o
> # be updated on occasion:
> %if !%build_mdk82
> %define build_non_default 1
> %endif
>
> # Set defaults for each version
> %if %build_cooker
> %define build_acl 1
> %define build_winbind 1
> %define build_wins 1
> %define build_ldap 1
> %endif
>
> %if %build_mdk82
> %define build_acl 1
> %define build_winbind 1
> %define build_wins 1
> %define build_ldap 0
> %endif
>
> %if %build_mdk81
> %define build_acl 1
> %define build_winbind 0
> %define build_wins 0
> %define build_ldap 0
> %endif
>
> %if %build_mdk80
> %define build_acl 0
> %define build_winbind 0
> %define build_wins 0
> %define build_ldap 0
> %endif
>
> %if %build_mdk72
> %define build_acl 0
> %define build_winbind 0
> %define build_wins 0
> %define build_ldap 0
> %endif
>
> # Allow commandline option overrides (borrowed from Vince's qmail srpm):
> # To use it, do rpm [-ba|--rebuild] --with 'xxx'
> # Check if the rpm was built with the defaults, otherwise we inform the user
> %{?_with_acl: %{expand: %%define build_acl 1}}
> %{?_with_acl: %{expand: %%define build_non_default 1}}
> %{?_without_acl: %{expand: %%define build_acl 0}}
> %{?_without_acl: %{expand: %%define build_non_default 1}}
> %{?_with_winbind: %{expand: %%define build_winbind 1}}
> %{?_with_winbind: %{expand: %%define build_non_default 1}}
> %{?_without_winbind: %{expand: %%define build_winbind 0}}
> %{?_without_winbind: %{expand: %%define build_non_default 1}}
> %{?_with_wins: %{expand: %%define build_wins 1}}
> %{?_with_wins: %{expand: %%define build_non_default 1}}
> %{?_without_wins: %{expand: %%define build_wins 0}}
> %{?_without_wins: %{expand: %%define build_non_default 1}}
> %{?_with_ldap: %{expand: %%define build_ldap 1}}
> %{?_with_ldap: %{expand: %%define build_non_default 1}}
> %{?_without_ldap: %{expand: %%define build_ldap 0}}
> %{?_without_ldap: %{expand: %%define build_non_default 1}}
>
> Summary: Samba SMB server.
> Name: samba
> Version: %{ver}
> Release: %{rel}
> License: GPL
> Group: System/Servers
> Source: ftp://samba.org/pub/samba/samba-%{version}.tar.bz2
> Source1: samba.log
> Source2: mount.smb
> Source3: samba.xinetd
> Source4: swat_48.xpm.bz2
> Source5: swat_32.xpm.bz2
> Source6: swat_16.xpm.bz2
> Source7: README.samba-%{ver}-%{rel}
> #The japanese language patches are large, ignoring them now
> #Patch100: samba-j.patch.bz2
> # For some reason this won't apply as part of the -j patch
> # Seems to have been applied in samba-2.2.3
> #Patch111: samba-2.2.0-ook.patch.bz2
> #Patch200: samba-j-2.patch.bz2
> Patch: samba-2.2.0-makefilepath.patch.bz2
> Patch1: smbw.patch.bz2
> Patch2: samba-glibc21.patch.bz2
> #Patch3: network-recycle_bin.patch.bz2
> Patch4: samba-nsl.patch.bz2
> Patch5: samba-2.2.0-gawk.patch.bz2
> Patch6: system-auth-winbind.pamd.patch.bz2
> Patch7: samba-2.2.3a-init.patch.bz2
> Patch11: samba-2.0.7-smbspool-guest.patch.bz2
> Patch12: samba-2.2.0-buildroot.patch.bz2
> #Patch16: samba-mkdir.patch.bz2
> Patch17: smbmount-sbin.patch.bz2
> Patch18: samba-2.2.2-XFS-quota.patch.bz2
> Patch19: samba-2.2.2-smb.conf.patch.bz2
> Patch20: samba-2.2.3a-LDAP-schema.patch.bz2
> Patch21: samba-2.2.3a-cli_spoolss_notify.patch.bz2
> Patch22: samba-2.2.3a-pam_smbpass.patch.bz2
> Patch23: samba-2.2.3a-srv_spoolss_nt.patch.bz2
> Requires: pam >= 0.64, samba-common = %{version}
> BuildRequires: pam-devel autoconf
> %if %build_acl
> BuildRequires: libacl-devel
> %endif
> %if %build_mdk72
> BuildRequires: cups-devel
> %else
> BuildRequires: libcups-devel
> %endif
> %if %build_ldap
> BuildRequires: libldap-devel
> %endif
> BuildRoot: %{_tmppath}/%{name}-root
> Prefix: /usr
> Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
> Prereq: fileutils sed /bin/grep
>
> %description
> Samba provides an SMB server which can be used to provide
> network services to SMB (sometimes called "Lan Manager")
> clients, including various versions of MS Windows, OS/2,
> and other Linux machines. Samba also provides some SMB
> clients, which complement the built-in SMB filesystem
> in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
> and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
> protocol.
>
> Samba-2.2 features working NT Domain Control capability and
> includes the SWAT (Samba Web Administration Tool) that
> allows samba's smb.conf file to be remotely managed using your
> favourite web browser. For the time being this is being
> enabled on TCP port 901 via xinetd. SWAT is now included in
> it's own subpackage, samba-swat.
>
> Users are advised to use Samba-2.2 as a Windows NT4
> Domain Controller only on networks that do NOT have a Windows
> NT Domain Controller. This release does NOT as yet have
> Backup Domain control ability.
>
> Please refer to the WHATSNEW.txt document for fixup information.
> This binary release includes encrypted password support.
>
> Please read the smb.conf file and ENCRYPTION.txt in the
> docs directory for implementation details.
>
> NOTE: Mandrake Linux uses PAM which has integrated support
> for Shadow passwords and quotas. Do NOT recompile with the
> SHADOW_PWD option enabled
>
> %if %build_non_default
> WARNING: This RPM was built with command-line options. Please
> see README.samba-%{ver}-%{rel} in the documentation for
> more information.
> %endif
>
> %package client
> Summary: Samba (SMB) client programs.
> Group: Networking/Other
> Requires: samba-common = %{version}
> Obsoletes: smbfs
>
> %description client
> Samba-client provides some SMB clients, which complement the built-in
> SMB filesystem in Linux. These allow the accessing of SMB shares, and
> printing to SMB printers.
>
> %package common
> Summary: Files used by both Samba servers and clients.
> Group: System/Servers
>
> %description common
> Samba-common provides files necessary for both the server and client
> packages of Samba.
>
> %package doc
> Summary: Documentation for Samba servers and clients.
> Group: System/Servers
> Requires: samba-common = %{version}
>
> %description doc
> Samba-doc provides documentation files for both the server and client
> packages of Samba.
>
> %package swat
> Summary: The Samba Web Administration Tool.
> Group: System/Servers
> Requires: samba = %{version} xinetd
>
> %description swat
> SWAT (the Samba Web Administration Tool) allows samba's smb.conf file
> to be remotely managed using your favourite web browser. For the time
> being this is being enabled on TCP port 901 via xinetd. Note that
> SWAT does not use SSL encryption, nor does it preserve comments in
> your smb.conf file. Webmin uses SSL encryption by default, and
> preserves comments in configuration files, even if it does not display
> them, and is therefore the preferred method for remotely managing
> Samba.
>
>
> %if %build_winbind
> %package winbind
> Summary: Samba-winbind daemon, utilities and documentation
> Group: System/Servers
> Requires: samba-common = %{version}
> %description winbind
> Provides the winbind daemon and testing tools to allow authentication
> and group/user enumeration from a Windows or Samba domain controller.
> %endif
>
> %if %build_wins
> %package -n nss_wins
> Summary: Name Service Switch service for WINS
> Group: System/Servers
> Requires: samba-common = %{version}
> PreReq: glibc
> %description -n nss_wins
> Provides the libnss_wins shared library which resolves NetBIOS names to
> IP addresses.
> %endif
>
> %prep
> # Build a summary of how this RPM was built:
> %if %build_cooker
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with cooker"
> %endif
> %if %build_mdk81
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with mdk81"
> %endif
> %if %build_mdk80
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with mdk80"
> %endif
> %if %build_mdk72
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with mdk72"
> %endif
> %if %build_acl
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with acl"
> %else
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without acl"
> %endif
> %if %build_winbind
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with winbind"
> %else
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without winbind"
> %endif
> %if %build_wins
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with wins"
> %else
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without wins"
> %endif
> %if %build_ldap
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --with ldap"
> %else
> RPM_EXTRA_OPTIONS="$RPM_EXTRA_OPTIONS --without ldap"
> %endif
>
> %if %build_non_default
> echo "Building a non-default rpm with the following command-line arguments:"
> echo "$RPM_EXTRA_OPTIONS"
> echo "This rpm was built with non-default options, thus, to build ">%{SOURCE7}
> echo "an identical rpm, you need to supply the following options">>%{SOURCE7}
> echo "at build time: $RPM_EXTRA_OPTIONS">>%{SOURCE7}
> %else
> echo "This rpm was built with default options">%{SOURCE7}
> %endif
>
> %setup -q
> #%patch111 -p1
> %patch1 -p1 -b .smbw
> #%patch3 -p1 -b .net-r_bin
> %patch4 -p1 -b .nsl
> %patch5 -p1 -b .gawk
> #%patch6 -p1
> %patch7 -p1
> %patch11 -p0 -b .smbspool
> %patch12 -p1 -b .buildroot
> %patch17 -p1
> #%patch18 -p1 -b .xfs
> #%patch19 -p1
> %patch20 -p1
> %patch21 -p1
> %patch22 -p1
> %patch23 -p1
>
> cp %{SOURCE7} .
>
> %build
> #%serverbuild
> cd source
> autoconf
> CPPFLAGS="-I/usr/include/openssl"; export CPPFLAGS
> CFLAGS="$RPM_OPT_FLAGS"
> %configure --prefix=%{prefix} \
> --with-fhs \
> --libdir=/etc/samba \
> --sysconfdir=/etc/samba \
> --localstatedir=/var \
> --with-configdir=/etc/samba \
> --with-codepagedir=/var/lib/samba/codepages \
> --with-privatedir=/etc/samba \
> --with-swatdir=%{prefix}/share/swat \
> --with-smbmount \
> --with-syslog \
> --with-automount \
> --with-pam \
> --with-pam_smbpass \
> --with-vfs \
> --with-utmp \
> --with-msdfs \
> --with-smbwrapper \
> %if %build_acl
> --with-acl-support \
> %endif
> %if %build_ldap
> --with-ldapsam \
> %endif
> --with-quotas
> [...]
> ----------------------------------------
> --
> Sylvestre Taburet - Project Manager
> Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE
> +33 (1) 40 41 00 41 - http://www.linux-mandrake.com
----- End forwarded message -----
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com