Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: gbl on June 28, 2003, 08:04:12 PM

Title: Samba
Post by: gbl on June 28, 2003, 08:04:12 PM
I ask it again -

Is Samba compiled in SM5.6 & 6.0 with the --with-winbind options?
If no, where is a "howto" so that I can recompile it?
Title: Re: Samba
Post by: Nick on July 17, 2003, 06:37:35 PM
I just had a look at the .spec file for the samba 2.2.7a esmith specific file (the one for upgrade4 for 5.6), and it says this:

 Fri Jun 14 2002 Trond Eivind Glomsrød 2.2.4-5
- Move the post/preun of winbind into the -common subpackage,
  where the script is (#66128)

and this :

%post common
/sbin/chkconfig --add winbind

%preun common
if [ $1 = 0 ] ; then
    /sbin/chkconfig --del winbind
    /sbin/service winbind stop >/dev/null 2>&1
fi
exit 0

So I'd say yes.
Title: Re: Samba
Post by: Nick on July 17, 2003, 08:07:03 PM
Btw if you're looking to do NTLM authorization through squid, you're going to have to recompile samba, they included winbind, but not --with-winbind-auth-challenge.
Title: Oh yes ...
Post by: gbl on July 17, 2003, 09:23:53 PM
... that´s what i´m looking for!

Is there a complete Howto for recompiling SAMBA inluding RPM´s for SME 5.6 (later time 6.0).

Or can you do thet for me?


THX
Guenter
Title: Re: Oh yes ...
Post by: Nick on July 17, 2003, 09:40:48 PM
I'm trying right now, but rpmbuild keeps telling me I don't have a valid C compiler in my path, even though I have Gcc 3.0, and it is in the path. /usr/bin/gcc3.0


if I get it going, I'll let you know.