1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

308 Commits

Author SHA1 Message Date
Jim McDonough
55d55e311e Delay gssapi header checking until after kerberos has been located. Wasn't working on RedHat systems because of /usr/kerberos install location. -
Martin Pool
d7853d9937 (merge 1.130.4.93) Display results of checks for shared libraries. -
Andrew Tridgell
838fbac7a0 check for gssapi_generic.h -
Andrew Tridgell
435fdf276a added internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm -
Herb Lewis
83ec4c0f4d merge from 2.2
don't set WINBIND variables unless configure was run --with-winbind
-
Herb Lewis
646b5ae752 dont add -I./popt to CFLAGS it really belongs in FLAGS1 with other include
paths. This make it hard to use a script that overrides CFLAGS options.
-
Andrew Tridgell
93a652b705 we need to look for liblber before libldap -
Jeremy Allison
ce099faf6c XFS quota patch for Linux.
Jeremy.
-
Andrew Bartlett
4e212f728c Fix up the ./configure tests for kerberos. This ensures a more consistant
behaviour no matter if kerberos was found automatically, found in the
/usr/kerberos path or was specified.
-
Andrew Bartlett
1e4fc749ad Allow kerberos to work on RedHat and other non /usr systems again
the configure test uses the CPPFLAGS when checking that krb5.h exists
-
Andrew Tridgell
17e2f38973 added test for krb5.h
this was causing the kerberos stuff to fail compilation on several
platforms
-
Andrew Tridgell
0120dea7f0 automatically look for /usr/kerberos to make redhat happy -
Andrew Tridgell
d7216424d9 check for liblber separately -
Andrew Tridgell
c7f6116919 added the beginnings of ADS support in smbd -
Martin Pool
b792c9317a Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the moment
this is only to get the cast right, but it might help with other parts
of the API that changed later.
-
Jeremy Allison
d70674312d Fixed detection of RedHat headers. Removed another file !
Jeremy.
-
Jeremy Allison
a55a63a4ca Fix detection of RedHat 7.2.
Remove unused old file.
Test 42 byte reply to SMBntcreate (W2K does this).
Jeremy.
-
Jeremy Allison
b14ac75666 Fix compile on RedHat 7.2 systems with broken system headers.
Jeremy.
-
Martin Pool
87d27265a5 Cosmetic fix for libpopt-checking test. -
Andrew Bartlett
3235880b41 Remove built-in support for clear-text kerberos authentication.
This should remove some confusion from the ./configure, but does not affect the
'real' kerberos support currently residing in smbd/sesssetup.c.

This code is vunerable to a spoofed KDC, and is best replaced by --with-pam and
the pam_krb5 module.  This module includes measures to prevent such spoofing.

Andrew Bartlett
-
Jim McDonough
2cd33e88eb Fix popt library checking -
Jim McDonough
df34e11d84 Add popt for parsing commandline options -
Andrew Tridgell
672df66296 - fixed link order of krb5 libs
- accept a wide range of principal names in session setup
-
Andrew Tridgell
a899086a51 don't need KRB5_DIR define -
Andrew Tridgell
2667dea146 fix linking of k5crypto library on openbsd -
Andrew Tridgell
7bb99a9e89 fixed finding the resolv library -
Andrew Tridgell
dd3ad91724 include more libs needed for kerberos5 on some systems (eg. solaris)
removed some no longer needed i18n stuff from configure.in
-
Andrew Tridgell
5a6774c438 fixed the --with-krb5=dir option.
thanks to monyo for pointing out the problem
-
Andrew Tridgell
ab7f67677a first step in converting the head branch to use lang_tdb.c instead
of gettext for internationalisation support. There is more to do
-
Andrew Tridgell
d330575856 initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To
activate you need to:

- install krb5 libraries
- run configure
- build smbclient
- run kinit to get a TGT
- run smbclient with the -k option to choose kerberos auth
-
Jeremy Allison
4c5158d1e5 Fixed CUPS detection - patch from Michael Sweet.
Jeremy.
-
Gerald Carter
efc6df5a39 OpenSSL merge from 2.2 -
Andrew Bartlett
0b9e13530d Finish Jeremy's passdb merge :-).
(fix up configure.in for default (smbpasswd) option)

Rerun autoconf.
-
Jeremy Allison
611bf806d5 Fixup passdb stuff to add new nisplus and ldap backends.
Jeremy.
-
Motonobu Takahashi
9ec2d5e96e now --with-i18n-swat works to install some international files
used by SWAT into $swatdir/$ln/{help,images,include}

we have still points which needs to discuss, that is how to archive
and install lots of HTML help files and Using Samba files.

-- monyo
-
Andrew Bartlett
cad971f4c3 Fix up the ./configure for the BSDs:
Subject:
         Re: bugs in installman.sh script
    Date:
         Tue, 25 Sep 2001 16:02:11 +0200 (CEST)
   From:
         Rafal Szczesniak <mimir@spin.ict.pwr.wroc.pl>
     To:
         Andrew Bartlett <abartlet@pcug.org.au>
     CC:
         <samba-technical@lists.samba.org>

On Tue, 25 Sep 2001, Andrew Bartlett wrote:

> Its broken for BSDs and was broken for many others.  You might want to
> re-checkout.  Any fixes appricatiated.

OK. Here's the patch for configure.in. Replaces illegal, under [t]csh,
substitution with more general sed construction. Apply it, please, and
I'll see if I can clean up the installman.sh further.
-
Andrew Bartlett
23173125cd Change ./configure.developer to stay in effect across a
'./config.status --recheck' by making it a real configure option.

reran autoconf
-
Motonobu Takahashi
486b79a6fc Added SWAT i18n feature:
TO enable configure with --with-i18n-swat
  to support this gettext is integrated
  and a new directories name "po" and "intl" are created.

  now these languages are supported:

  en - English (default)
  ja - Japanese
  po - Polish
  tr - Turkish

  To add your language,
  to create ${your_language}.po by translating source/po/en.po
  into your language is needed.

  some of html and image files of various language version are not
  included yet, though message catalogue files are installed.
  you need to copy files manually under
  ${swatdir}/lang/$ln/{help,images,included,using_samba}


And also added a option to intall manual pages:
of various lang version
  To enable configure with --with-manlangs
  but manual pages themself are not included yet.
-
Andrew Tridgell
e78d0a3615 fixed the Makefile so we don't rebuild libsmbclient and build_env.h
(and thus smbd) every time
-
Jeremy Allison
59a4684201 Attempt to make quotas work with RH7.1, and with other Linuxen... This is
*HARD*, dammit !
Jeremy.
-
Jeremy Allison
73ec939239 smbmount fixes from Urban.
Jeremy.
-
Andrew Bartlett
beff1d2bea Add the ability to display Samba's build options with smbd -b and as a level 4
DEBUG().  Also included are details like build date/time, location and
compiler.

This should get most of the options we set, except those that don't affect
smbd, like WITH_PAM_SMBPASSWD or WITH_WINBINDD.

This work due to Vance Lankhaar <vlankhaar@hotmail.com>

Some work needs to be done to make it only rebuild when needed (ie smbd being
rebuilt) but its in pretty good shape already.

Also fix up some printf() -> d_printf().

Andrew Bartlett
-
Jeremy Allison
36516b2ca9 Fixed up Solaris 64 bit configure.
Jeremy.
-
Gerald Carter
b619458dde merges from 2.2 -
Andrew Tridgell
b8651acb9c - enable MSDFS by default, there seems no reason not to have it enabled
by default in Samba 3.x

- got rid of some unused parameters in Makefile.in

- declare DEBUGLEVEL in debug.h rather than in each file
-
Richard Sharpe
d3758404d4 Tweak the building rules under Solaris with CC. -
Richard Sharpe
ec6c5da124 Some small changes to configure to remove things like -X4 etc on compiles. -
Andrew Bartlett
bbda3dd742 Change the description on --with-pam_smbpass to make it clearer - some peope
seem to think you need this module for normal samba/PAM operation.

rerun autoconf
rerun autoheader

(Note that --with-pam_smbpass still doesn't build, but at least when it does
again only people who actually need it will select it).
-
Herb Lewis
28fba1ba48 variable name changed to --with-profiling-data -
Andrew Tridgell
24f9ab683d the next step in our error code handling change
- added WERROR for win32 error codes
- added a configure test for immediate structures

still lots to do, so its not enabled by default, but the main
structure is there
-