1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

448 Commits

Author SHA1 Message Date
Jeremy Allison
8c1f1034fa Ensure VFS modules will build correctly by adding defines for CPPFLAGS
defines into acconfig.h - only defined if seen.
Jeremy.
(This used to be commit 9f2753a149)
2002-04-11 00:37:31 +00:00
Tim Potter
fbbc63f93c Use m4-mode when editinging configure.in under emacs.
Use $CC instead of $SHLD for the "test whether building a shared library
actually works".  At the moment this is failing as $SHLD (and $LDSHFLAGS -
look at the value this is set to for Solaris) are designed to be used from
a Makefile and not within configure so this test will always fail!

Tridge has suggested moving to libtool^H^H^H^H^H a shell script that
invokes the right linker with the right args and solves this problem
nicely.
(This used to be commit 4caf71d5b2)
2002-04-04 05:47:41 +00:00
Tim Potter
5614a72b78 Add -D__INSURE__ to the CPPFLAGS if CC=insure.
(This used to be commit fb80ff968c)
2002-04-04 02:30:54 +00:00
Andrew Tridgell
9dc5b31936 not all versions of gcc support -rdynamic
for example, gcc 2.95.2 on sco1 doesn't
(This used to be commit aa7eab7245)
2002-04-01 09:52:36 +00:00
Andrew Tridgell
b0f405d825 try to get the summary test working on OpenBSD
(This used to be commit 63702ca3a4)
2002-04-01 07:29:43 +00:00
Jeremy Allison
7d7c594644 Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
(This used to be commit ac1baba35d)
2002-03-27 03:00:39 +00:00
Andrew Bartlett
657a24f476 Various winbind updates:
- pam_winbind updates from vance, fixing a typo and making some the options
  work properly.

- Extra parinoia in the winbind connection loop

- Allow pam_winbind to compile on HP-UX (Don Mcall, more work to do).

- Fix up configure.in to use the same method for building the test .so
  as the Makefile uses.

Andrew Bartlett
(This used to be commit 8e705dd921)
2002-03-23 08:28:19 +00:00
Jeremy Allison
ffadd471b9 Sync up vfs changes from 2.2.x.
Jeremy.
(This used to be commit ad1e858d8e)
2002-03-19 02:32:39 +00:00
Tim Potter
52b3390ca6 Fixed typo for winbind on solaris and hpux.
I have to say that having to link in winbind_nss_solaris.o for hpux is
slightly dodgy...
(This used to be commit fd172ec603)
2002-03-03 22:49:08 +00:00
Jeremy Allison
3afe4729a2 Fixed EXTRA vs EXTGRA typo. Thanks Mike :-).
Jeremy.
(This used to be commit 56b1252ebc)
2002-03-01 19:30:34 +00:00
Jeremy Allison
2853554cdb Attempt to fix Solaris winbind nss build.
Jeremy.
(This used to be commit 10e3e6855b)
2002-03-01 01:03:06 +00:00
Andrew Bartlett
06a31c9b3b We can't build shared libs on sco, so no point attempting to export dynamic
symbols.  In any case, it broke the build :-(

Andrew Bartlett
(This used to be commit 8c22ff75d7)
2002-02-22 04:38:28 +00:00
Andrew Bartlett
1d3560bd4c Get rid of the unused WL variable from the previous patch. I think these were
meant to be DYNEXP, but I'll confirm that with the original contributor.

Thanks to vance for spotting this!

Andrew Bartlett
(This used to be commit cf9cae48e6)
2002-02-22 03:29:13 +00:00
Andrew Bartlett
527aaf6def Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.
This allow the user to select
'passdb backend = plugin : /path/to/plugin.so : pluging args'

And load any arbitary plugin.  Apparently Jelmer has a mysql plugin in the
works - hence this patch.

We probably need to rework the interface a bit before 3.0 (add versioning of
some kind) but this is a good start.

Andrew Bartlett
(This used to be commit d6d18b70f0)
2002-02-22 02:47:53 +00:00
Andrew Bartlett
5f65fc0318 Try to catch the compilers that don't handle immidiate structures as well as we
would like.  We use them to initialise other struct (lookup) tables, so test
that as well.

Also try not to segfault during our snprintf tests - test both with a 0 len
buffer and without any buffer at all.

Andrew Bartlett
(This used to be commit 2d80ab7122)
2002-02-22 01:54:17 +00:00
Andrew Tridgell
287d8da0a0 fixed the gssapi lib configure test to not do the test twice
(This used to be commit 1ce762e96b)
2002-02-20 05:33:47 +00:00
Herb Lewis
57cfadcbbd fix for IRIX toolroot builds
(This used to be commit dc3fb2e6dc)
2002-02-06 00:53:00 +00:00
Andrew Bartlett
1a74d8d1f0 This is another *BIG* change...
Samba now features a pluggable passdb interface, along the same lines as the
one in use in the auth subsystem.  In this case, only one backend may be active
at a time by the 'normal' interface, and only one backend per passdb_context is
permitted outside that.

This pluggable interface is designed to allow any number of passdb backends to
be compiled in, with the selection at runtime.  The 'passdb backend' paramater
has been created (and documented!) to support this.

As such, configure has been modfied to allow (for example) --with-ldap and the
old smbpasswd to be selected at the same time.

This patch also introduces two new backends:  smbpasswd_nua and tdbsam_nua.
These two backends accept 'non unix accounts', where the user does *not* exist
in /etc/passwd.  These accounts' don't have UIDs in the unix sense, but to
avoid conflicts in the algroitmic mapping of RIDs, they use the values
specified in the 'non unix account range' paramter - in the same way as the
winbind ranges are specifed.

While I was at it, I cleaned up some of the code in pdb_tdb (code copied
directly from smbpasswd and not really considered properly).  Most of this was
to do with % macro expansion on stored data.  It isn't easy to get the macros
into the tdb, and the first password change will 'expand' them.  tdbsam needs
to use a similar system to pdb_ldap in this regard.

This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I
don't have the test facilities for these.  I plan to incoroprate at least
pdb_ldap into this scheme after consultation with Jerry.

Each (converted) passdb module now no longer has any 'static' variables, and
only exports 1 init function outside its .c file.

The non-unix-account support in this patch has been proven!  It is now possible
to join a win2k machine to a Samba PDC without an account in /etc/passwd!

Other changes:

Minor interface adjustments:
pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*.

pdb_update_sam_account() no longer takes the 'override' argument that was being
ignored so often (every other passdb backend).  Extra checks have been added in
some places.

Minor code changes:
smbpasswd no longer attempts to initialise the passdb at startup, this is
now done on first use.

pdbedit has lost some of its 'machine account' logic, as this behaviour is now
controlled by the passdb subsystem directly.

The samr subsystem no longer calls 'local password change', but does the pdb
interactions directly.  This allow the ACB_ flags specifed to be transferred
direct to the backend, without interference.

Doco:

I've updated the doco to reflect some of the changes, and removed some paramters
no longer applicable to HEAD.
(This used to be commit ff354c99c5)
2002-01-20 14:30:58 +00:00
Andrew Bartlett
6894c42b91 I like --enable-developer, but I find it rather usless when all it gets me is a
screen-full of kerberos warnings.

This is almost as good, and I can actually see the Samba warnings.

Andrew Bartlett
(This used to be commit 35a6275e18)
2002-01-14 22:11:01 +00:00
Jeremy Allison
09571aa76d We need to test for major/minor macros.
Jeremy.
(This used to be commit ee8c8add7f)
2002-01-10 01:49:09 +00:00
Jeremy Allison
3454945146 Getting ready to add UNIX extensions in HEAD also.
Jeremy
(This used to be commit 6210d4aa19)
2002-01-10 00:28:09 +00:00
Jeremy Allison
3375267106 Added tests for st_blocks in struct stat, and added a (hateful) constant
the specifies the units that st_blocks is in. The reason for this is
that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm)
uses 512 byte units.
Needed for the CIFS UNIX extensions - coming to a Samba server near
you soon.... :-).
Jeremy.
(This used to be commit 38cfffea5f)
2002-01-09 21:30:37 +00:00
Martin Pool
f5bc0e92a6 Better explanation message for dmalloc.
Also more insertion of parenthesis to handle struct members called
'free'.

You can now get useful dmalloc output, as long as it is compatible
with your C library.  On RH7.1 it looks like you have to rebuild
dmalloc to allow free(0) by default, because something in libcrypt
does that. (sigh)
(This used to be commit 391cbb6901)
2002-01-09 07:52:51 +00:00
Martin Pool
a8389eaeb5 With --enable-dmalloc, also use dmalloc's wrappers around routines
like strcat
(This used to be commit fb8ab69b6f)
2002-01-09 06:38:22 +00:00
Andrew Tridgell
1803e9cc0f - fixed my breakage of CPPFLAGS
- allow winbindd and wbinfo to build without shared libraries
(This used to be commit d5db2518be)
2002-01-08 04:44:15 +00:00
Andrew Tridgell
6c14b8c387 - use CFLAGS when linking shared libs (for things like -64 on irix)
- don't attempt to build winbindd if we can't do shared libs
(This used to be commit c98158f3f8)
2002-01-07 11:42:12 +00:00
Tim Potter
0094af05ed Spelling fix.
(This used to be commit dfcc97a158)
2002-01-07 02:58:31 +00:00
Martin Pool
c3a5645121 Add instructions on using dmalloc.
(This used to be commit ee6d33a8db)
2002-01-03 03:04:35 +00:00
Andrew Tridgell
1425c6ec32 try to handle broken const in headers on cray unicos
(This used to be commit 8143052e69)
2002-01-01 06:55:33 +00:00
Andrew Tridgell
927e860477 added a simple test to see whether building shared libraries actually
works
(This used to be commit 3aeefbca4f)
2001-12-31 22:10:24 +00:00
Andrew Tridgell
162a6606bd cope with systems that don't have full gssapi libs
(This used to be commit c4d928e55f)
2001-12-31 14:31:13 +00:00
Andrew Bartlett
34037e2479 Make Samba compile on RH 6.2 again.
We now include the libber.h file if required, but currently we just don't use
ldap.  (I'll chase this up).

In the meantime, I've moved the ads_status code about, its now in its own file,
and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP
caused HAVE_ADS to be undefined. (I hope its not too ugly).

Andrew Bartlett
(This used to be commit 14407c87e2)
2001-12-30 05:59:43 +00:00
Jeremy Allison
bb81e23e17 When running interactive we want to set our own process group for
signal management.
Jeremy.
(This used to be commit fffae94dd5)
2001-12-30 01:46:38 +00:00
Herb Lewis
e674581416 merge IRIX winbind support from Samba 2.2 branch
(This used to be commit 20c5f042e3)
2001-12-22 00:51:32 +00:00
Andrew Tridgell
65ad38f6f7 updated ldap test to test for less common function
(This used to be commit 831f25a9a7)
2001-12-21 11:20:59 +00:00
Martin Pool
cc0846f967 Add --enable-dmalloc to link against the dmalloc malloc debugger.
It's not as strong as Insure, but it's free, reasonably efficient and
works on every platform.
(This used to be commit e76d27fcdb)
2001-12-20 04:01:44 +00:00
Jeremy Allison
2fe6d5d5a1 Added AC_CHECK_FUNCS(syslog vsyslog).
nsswitch code uses vsyslog without checking for it.
Provide replacement for vsyslog in lib/snprintf if not found by configure.
Jeremy.
(This used to be commit ab2e55cdb3)
2001-12-19 19:18:37 +00:00
Jeremy Allison
ce1b141ec0 Added HPUX ACL code.
Jeremy.
(This used to be commit 6d03184f8c)
2001-12-15 02:40:16 +00:00
Jeremy Allison
968e2a2976 Updated Solaris link options from DaveCB.
Jeremy.
(This used to be commit 064a3e0fc4)
2001-12-14 16:31:41 +00:00
Herb Lewis
ed7caa2ecf allow IRIX to build nsswitch/libnss_wins.so
(This used to be commit 564bfd7728)
2001-12-12 16:08:32 +00:00
Jim McDonough
3bc9ef34b1 Delay gssapi header checking until after kerberos has been located. Wasn't working on RedHat systems because of /usr/kerberos install location.
(This used to be commit 55d55e311e)
2001-12-10 18:07:17 +00:00
Martin Pool
5e22f65d00 (merge 1.130.4.93) Display results of checks for shared libraries.
(This used to be commit d7853d9937)
2001-12-10 04:29:14 +00:00
Andrew Tridgell
09b01cdcbd check for gssapi_generic.h
(This used to be commit 838fbac7a0)
2001-12-08 12:06:08 +00:00
Andrew Tridgell
5d378a280f 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
(This used to be commit 435fdf276a)
2001-12-08 11:18:56 +00:00
Herb Lewis
549e904d3f merge from 2.2
don't set WINBIND variables unless configure was run --with-winbind
(This used to be commit 83ec4c0f4d)
2001-12-05 21:08:17 +00:00
Herb Lewis
f3e6f2d953 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.
(This used to be commit 646b5ae752)
2001-12-05 19:45:30 +00:00
Andrew Tridgell
3756055ea1 we need to look for liblber before libldap
(This used to be commit 93a652b705)
2001-11-30 22:45:52 +00:00
Jeremy Allison
a9750b2006 XFS quota patch for Linux.
Jeremy.
(This used to be commit ce099faf6c)
2001-11-30 21:50:02 +00:00
Andrew Bartlett
210711c6a0 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.
(This used to be commit 4e212f728c)
2001-11-29 06:23:43 +00:00
Andrew Bartlett
299edaa854 Allow kerberos to work on RedHat and other non /usr systems again
the configure test uses the CPPFLAGS when checking that krb5.h exists
(This used to be commit 1e4fc749ad)
2001-11-28 06:52:33 +00:00
Andrew Tridgell
a7ac992b12 added test for krb5.h
this was causing the kerberos stuff to fail compilation on several
platforms
(This used to be commit 17e2f38973)
2001-11-27 22:37:25 +00:00
Andrew Tridgell
3dc6fe1fe4 automatically look for /usr/kerberos to make redhat happy
(This used to be commit 0120dea7f0)
2001-11-27 01:45:08 +00:00
Andrew Tridgell
e9595e5517 check for liblber separately
(This used to be commit d7216424d9)
2001-11-25 12:26:40 +00:00
Andrew Tridgell
6464bb0ae5 added the beginnings of ADS support in smbd
(This used to be commit c7f6116919)
2001-11-20 08:54:15 +00:00
Martin Pool
b99209cce4 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.
(This used to be commit b792c9317a)
2001-11-19 04:18:45 +00:00
Jeremy Allison
355124adaf Fixed detection of RedHat headers. Removed another file !
Jeremy.
(This used to be commit d70674312d)
2001-11-16 23:22:49 +00:00
Jeremy Allison
5302dc1218 Fix detection of RedHat 7.2.
Remove unused old file.
Test 42 byte reply to SMBntcreate (W2K does this).
Jeremy.
(This used to be commit a55a63a4ca)
2001-11-15 01:18:10 +00:00
Jeremy Allison
50005ee3ad Fix compile on RedHat 7.2 systems with broken system headers.
Jeremy.
(This used to be commit b14ac75666)
2001-11-14 23:00:37 +00:00
Martin Pool
6654c29138 Cosmetic fix for libpopt-checking test.
(This used to be commit 87d27265a5)
2001-11-14 01:18:41 +00:00
Andrew Bartlett
7de42a4faf 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
(This used to be commit 3235880b41)
2001-11-11 10:42:07 +00:00
Jim McDonough
053f21feda Fix popt library checking
(This used to be commit 2cd33e88eb)
2001-10-23 17:12:30 +00:00
Jim McDonough
be6edf50c4 Add popt for parsing commandline options
(This used to be commit df34e11d84)
2001-10-23 14:16:22 +00:00
Andrew Tridgell
fba157123e - fixed link order of krb5 libs
- accept a wide range of principal names in session setup
(This used to be commit 672df66296)
2001-10-22 05:04:33 +00:00
Andrew Tridgell
f26677441a don't need KRB5_DIR define
(This used to be commit a899086a51)
2001-10-20 06:27:48 +00:00
Andrew Tridgell
9a2ce008e9 fix linking of k5crypto library on openbsd
(This used to be commit 2667dea146)
2001-10-16 11:40:09 +00:00
Andrew Tridgell
06a6db53fa fixed finding the resolv library
(This used to be commit 7bb99a9e89)
2001-10-16 01:05:49 +00:00
Andrew Tridgell
179cf90db7 include more libs needed for kerberos5 on some systems (eg. solaris)
removed some no longer needed i18n stuff from configure.in
(This used to be commit dd3ad91724)
2001-10-15 01:54:39 +00:00
Andrew Tridgell
8732ff135a fixed the --with-krb5=dir option.
thanks to monyo for pointing out the problem
(This used to be commit 5a6774c438)
2001-10-14 14:04:55 +00:00
Andrew Tridgell
8cec5cf35f first step in converting the head branch to use lang_tdb.c instead
of gettext for internationalisation support. There is more to do
(This used to be commit ab7f67677a)
2001-10-11 08:40:42 +00:00
Andrew Tridgell
81f56139b6 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
(This used to be commit d330575856)
2001-10-11 07:42:52 +00:00
Jeremy Allison
bf1697bc88 Fixed CUPS detection - patch from Michael Sweet.
Jeremy.
(This used to be commit 4c5158d1e5)
2001-09-28 18:07:11 +00:00
Gerald Carter
2c4d1d39b1 OpenSSL merge from 2.2
(This used to be commit efc6df5a39)
2001-09-26 17:29:53 +00:00
Andrew Bartlett
48fb51809a Finish Jeremy's passdb merge :-).
(fix up configure.in for default (smbpasswd) option)

Rerun autoconf.
(This used to be commit 0b9e13530d)
2001-09-26 00:22:54 +00:00
Jeremy Allison
6ddcd8a3bc Fixup passdb stuff to add new nisplus and ldap backends.
Jeremy.
(This used to be commit 611bf806d5)
2001-09-25 20:21:21 +00:00
Motonobu Takahashi
1817c231c7 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
(This used to be commit 9ec2d5e96e)
2001-09-25 17:40:12 +00:00
Andrew Bartlett
cc96a00014 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.
(This used to be commit cad971f4c3)
2001-09-25 14:11:28 +00:00
Andrew Bartlett
2bfd6d56cd Change ./configure.developer to stay in effect across a
'./config.status --recheck' by making it a real configure option.

reran autoconf
(This used to be commit 23173125cd)
2001-09-25 05:08:05 +00:00
Motonobu Takahashi
96db4b1ba3 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.
(This used to be commit 486b79a6fc)
2001-09-24 15:55:09 +00:00
Andrew Tridgell
b192746e77 fixed the Makefile so we don't rebuild libsmbclient and build_env.h
(and thus smbd) every time
(This used to be commit e78d0a3615)
2001-09-22 07:50:08 +00:00
Jeremy Allison
d76dfbb879 Attempt to make quotas work with RH7.1, and with other Linuxen... This is
*HARD*, dammit !
Jeremy.
(This used to be commit 59a4684201)
2001-09-21 22:06:03 +00:00
Jeremy Allison
b54692bea7 smbmount fixes from Urban.
Jeremy.
(This used to be commit 73ec939239)
2001-09-20 21:06:02 +00:00
Andrew Bartlett
6794b58a8c 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
(This used to be commit beff1d2bea)
2001-09-19 09:44:12 +00:00
Jeremy Allison
ab35704cc0 Fixed up Solaris 64 bit configure.
Jeremy.
(This used to be commit 36516b2ca9)
2001-09-15 00:29:54 +00:00
Gerald Carter
a3203a7b16 merges from 2.2
(This used to be commit b619458dde)
2001-09-14 15:33:09 +00:00
Andrew Tridgell
39d7983a47 - 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
(This used to be commit b8651acb9c)
2001-09-12 03:08:51 +00:00
Richard Sharpe
8e80cb0e34 Tweak the building rules under Solaris with CC.
(This used to be commit d3758404d4)
2001-09-11 04:29:25 +00:00
Richard Sharpe
4353ea7d25 Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124)
2001-09-11 03:10:29 +00:00
Andrew Bartlett
ed8883c5dd 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).
(This used to be commit bbda3dd742)
2001-09-07 23:56:54 +00:00
Herb Lewis
c36dd96b90 variable name changed to --with-profiling-data
(This used to be commit 28fba1ba48)
2001-09-05 17:39:51 +00:00
Andrew Tridgell
fd6ea43161 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
(This used to be commit 24f9ab683d)
2001-09-03 08:50:59 +00:00
Gerald Carter
76f76c9572 fixed typo
(This used to be commit 3b1454691b)
2001-08-26 05:13:49 +00:00
Gerald Carter
0c371318f7 typo
(This used to be commit 11605ea38a)
2001-08-24 20:34:57 +00:00
Gerald Carter
1399170a77 /tmp/cvsVTEaY5
(This used to be commit 55f222236f)
2001-08-24 19:58:28 +00:00
Tim Potter
d1f53e4044 Fixed detection of CUPS. We need to check for the presence of the cups
header files as well as libcups.
(This used to be commit 2dbb41a7b8)
2001-08-23 19:06:20 +00:00
Jeremy Allison
16afd6d2bc Added Mike Davidsons Tru64 ACL patch.
Jeremy.
(This used to be commit 8c5e5f8c84)
2001-08-10 20:48:25 +00:00
Gerald Carter
db3ad91012 merge from 2.2
(This used to be commit a7bf5e2ab8)
2001-08-07 19:34:38 +00:00
Richard Sharpe
c2316f4c2d Stop HP/UX building shared libraries for the moment ...
(This used to be commit 8878a44868)
2001-08-06 08:52:39 +00:00
Jeremy Allison
ad4144d81d Put HPUX on mmap blacklist.
Jeremy.
(This used to be commit 4d5fe9ed4f)
2001-08-02 20:52:57 +00:00
Gerald Carter
b930ed5195 changed --with-profile to --with-profiling-data to "stop the madness!"
of people somehow thinking this was related to user profiles.
Hope this is ok Herb.




jerry
(This used to be commit 5704a9f0bb)
2001-08-02 14:33:32 +00:00
Tim Potter
4b1310c307 Rewrite of winbind autoconf fragment.
- can now use --with-winbind to force compilation on systems that are
   not linux or solaris (-:

 - don't compile winbind if the unix domain socket test fails

 - compile right number of bits if --with-pam used
(This used to be commit d77295ee70)
2001-08-01 02:30:33 +00:00
Jeremy Allison
08138a3244 Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.
Digital UNIX).
Jeremy.
(This used to be commit 324ba0512e)
2001-07-26 21:16:39 +00:00
Andrew Tridgell
7879d999ab a better test for unix domain sockets
(This used to be commit 7b3d030e1f)
2001-07-25 03:28:45 +00:00
Andrew Tridgell
950d274bd9 added a --with-libiconv=BASEDIR/ option to allow easier use of an
alternative iconv library
(This used to be commit cfb6e67bb9)
2001-07-25 03:05:00 +00:00
Tim Potter
bec370b079 Store winbindd in the sbin directory. Make the winbind pam module also as
a sbin program.

Currently the pam and nss modules are installed into @prefix@/sbin - I'm
not sure whether this is a good idea or not.  Perhaps they should be left
in the build tree and copied across as needed by hand or a packaging tool.
(This used to be commit 09af934c4a)
2001-07-24 23:30:13 +00:00
Richard Sharpe
a4947d1f45 Another fine mess, err, fine tune to the Slowaris build ...
(This used to be commit e8ee01eb77)
2001-07-24 00:34:45 +00:00
Richard Sharpe
15f3232da1 Make the Slowaris build a bit nicer with cc
(This used to be commit ea1a70fb42)
2001-07-24 00:18:20 +00:00
Richard Sharpe
7867341747 Fix some fscked up things that I added to the Solaris CC build of shared libs
(This used to be commit f214f6b5d5)
2001-07-23 14:13:19 +00:00
Richard Sharpe
6b42464172 One more possible fix for Solaris CC and GCC
(This used to be commit 98e5e02231)
2001-07-23 12:22:08 +00:00
Richard Sharpe
022db351e8 Fix the POOBAD_CC on Slowaris so we can handle things correctly ...
Lets see how this goes.
(This used to be commit d63b03f753)
2001-07-23 11:22:29 +00:00
Richard Sharpe
6a3132d876 Try and build shared on SCO. Assume that it is like others, but uses
-KPIC, which it does!
(This used to be commit bc03176782)
2001-07-23 07:22:11 +00:00
Richard Sharpe
36d3a9d5dd OK, I think I have fscking IRIX figured out for building PIC code.
You have to check which fsking compiler is used and do different things!
(This used to be commit f38b5ba194)
2001-07-23 07:18:03 +00:00
Richard Sharpe
aefa7e1c3f Fix the PIC flag for IRIX
(This used to be commit 6a7645f90b)
2001-07-18 02:58:19 +00:00
Jeremy Allison
edfd138e87 Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
(This used to be commit 956e2a4e37)
2001-07-16 22:58:47 +00:00
Richard Sharpe
57673d585a A few tweaks around linking libsmbclient
(This used to be commit 83334fc474)
2001-07-14 02:52:41 +00:00
Richard Sharpe
4f36668949 Fix a stupid error in passing options to CC under AIX
(This used to be commit b8b5603e0f)
2001-07-12 07:23:14 +00:00
Richard Sharpe
be11842e79 A serious set of changes to build libsmbclienmt. Copied much ofthis from
CUPS.
(This used to be commit 7b392f9f68)
2001-07-11 01:58:37 +00:00
Richard Sharpe
cb5de0e176 Change the order of the -fPIC and -KPIC tests to ensure that UnixWare
is handled.
(This used to be commit 7631bade9c)
2001-07-10 07:14:24 +00:00
Andrew Tridgell
81393e6fda removed remnants of libtool
(This used to be commit abe01facea)
2001-07-08 19:18:06 +00:00
Andrew Tridgell
87fbb7092b The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
(This used to be commit debb471267)
2001-07-04 07:15:53 +00:00
Jeremy Allison
7ede14a3a7 Removed the default addition of /include to the directory given in
--with-sslinc. Should allow building on RH7.1 when set correctly.
Jeremy.
(This used to be commit 016a97d71a)
2001-07-03 19:34:18 +00:00
Tim Potter
8f186886aa Fixed quoting bug - shell programming sucks.
(This used to be commit 60d4261841)
2001-07-03 02:27:17 +00:00
Tim Potter
e3284c5c12 Only build the pam_winbind module if --with-pam used.
Replaced extra shell variable with_pam_for_crypto with a check against
$with_pam
(This used to be commit 9db0332954)
2001-07-02 08:58:57 +00:00
Andrew Bartlett
d2af8d03ab Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett
(This used to be commit aa5708de69)
2001-07-02 04:47:55 +00:00
Richard Sharpe
7e7c258e0b These changes cause the libsmbclient stuff to always build a non-shared library and to build a shared library only for the four OSes that we currently like.
I will probably add HP/UX and AIX support based on the CUPS stuff soon ...
(This used to be commit 9585529455)
2001-06-29 23:30:01 +00:00
Jeremy Allison
e2ced932db Ensured all the system calls in msdfs.c go through the vfs layer.
Added vfs calls to symlink() and readlink() with appropriate configure
checks.
Jeremy.
(This used to be commit c24e6b41ea)
2001-06-29 22:32:24 +00:00
Martin Pool
21fd0a0f62 Add check for working AF_LOCAL sockets, which are borken
on RH7.0 with _LARGEFILE64_SOURCE, and probably not
present on non-Unix systems like VMS.
(This used to be commit 8b0a5bc436)
2001-06-26 07:44:02 +00:00
Andrew Tridgell
b95a294a08 fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef instead of a define
(This used to be commit e2ecff419f)
2001-06-25 02:53:13 +00:00
Jeremy Allison
809c025878 Added patches to remove Linux specific XFS ACLs. These are now handled by the
generic Linux ACL code.
rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created.
Jeremy.
(This used to be commit db5b82e53a)
2001-06-18 20:27:35 +00:00
Jeremy Allison
11b2de50fc Added getconf flags for RH7.1 lfs support. Changed while() to a for()
loop in Simo's code (removes much grp = gep->next code).
Jeremy.
(This used to be commit d0c276c242)
2001-06-06 23:07:10 +00:00
Tim Potter
4ebfe75e0e Compile fix for wbinfo on solaris.
(This used to be commit cae6958f08)
2001-06-04 02:23:08 +00:00
Tim Potter
f991e9b9d1 Added a --with/without winbind option to configure. The default is to
compile winbind on supported systems but this may be disabled using
--without-winbind.  Using --with-winbind on unsupported systems has
no effect.
(This used to be commit de46428d05)
2001-06-01 11:53:48 +00:00
Andrew Tridgell
05d0841472 - added AC_HAVE_DECL() macro to aclocal.m4, so we can easily add
tests for a fn or variable being defined in headers
- used this to add prototypes for asprintf and vasprintf on systems
  that don't have them
(This used to be commit ab24652394)
2001-05-30 12:28:13 +00:00
Jeremy Allison
d222a3f28d Try to fix build by adding autoconf tests for pam headers.
Jeremy.
(This used to be commit d52bc4d219)
2001-05-22 21:47:11 +00:00
Richard Sharpe
94f68abb7c Ohh boy, I should be working on lots of other things, but I am pissed off, so
I needed to get down and dirty and do some coding etc ...

Change -fpic to -fPIC ... Many people suggest that this is better ...
(This used to be commit 26eda1f2b0)
2001-05-17 02:52:42 +00:00
Tim Potter
84913375cc Added winbind programs to build for supported systems (i.e linux and
solaris) so the autobuilder can have a crack at it.

Cosmetic fix for large file support ./configure output.
(This used to be commit ded776af28)
2001-05-16 02:32:34 +00:00
Jeremy Allison
548d16869a Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
and using autoconf tests.
Added "restrict acl with mask" parameter.
Jeremy.
(This used to be commit 7792e32ba7)
2001-05-03 19:47:30 +00:00
Andrew Tridgell
089d8c544f added more complete C99 snprintf test
(This used to be commit 4d7565342d)
2001-05-01 04:16:28 +00:00
Andrew Tridgell
d095b5249c - added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
(This used to be commit c7aeb2254d)
2001-04-28 13:49:34 +00:00
Andrew Tridgell
fd5c6d72d3 added asprintf test
(This used to be commit 8bda86c0bf)
2001-04-28 12:35:00 +00:00
Andrew Tridgell
dfc07f6174 added test for C99 compliant vsnprintf
(This used to be commit 9ebd90904e)
2001-04-27 02:35:42 +00:00
Andrew Tridgell
9d32e3a528 fixed typo
(This used to be commit ed9d93c9c3)
2001-04-27 02:11:47 +00:00
Jeremy Allison
9f60d55b02 Fixed REPLACE_GETPASS test.
Jeremy.
(This used to be commit 3cfcaaca5b)
2001-04-26 18:36:38 +00:00
John Terpstra
c5eca67b0a Added Steve Langasek <vorlon@netexpress.net> pam_smbpass support
(This used to be commit 550cc5c182)
2001-04-24 21:13:48 +00:00
Gerald Carter
4c94cfa13f updating changes with 2.2 (comment lines in ./configure --help)
(This used to be commit cf9e34c79b)
2001-04-24 14:31:45 +00:00
Andrew Tridgell
410ad56594 merge from 2_2
(This used to be commit 5e9a2084bf)
2001-04-19 13:47:12 +00:00
Jeremy Allison
8a1c2e0298 AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f077)
2001-04-17 05:41:07 +00:00
Jeremy Allison
8c0a1c61cc Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
(This used to be commit 1cfc542685)
2001-04-16 07:10:55 +00:00
Jeremy Allison
ed449b8ca7 Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
a bit to use AC_TRY_LINK to ensure functions are available for link
instead of AC_TRY_COMPILE.
Jeremy.
(This used to be commit c236287463)
2001-04-14 19:46:28 +00:00
Jeremy Allison
53850c51ca configure:
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Also - in removing the tmpdir param in smbrun an extra NULL parameter
was missed in each print_run_command() call (which is a varargs fn.).
Now fixed.
Jeremy.
(This used to be commit 32397e5bc6)
2001-04-14 00:19:12 +00:00
Jeremy Allison
2ef68c7e92 Merge of Andrew's changes in 2.2.
Jeremy.
(This used to be commit fc76681812)
2001-04-13 19:12:06 +00:00
Jeremy Allison
6578fd8742 To stop people complaining about the mktemp call, move it into lib/util.c. Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.
(This used to be commit 9b32b8a8cf)
2001-04-11 23:19:08 +00:00
Jeremy Allison
91e97f9091 Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS.
Jeremy.
(This used to be commit 144a290681)
2001-04-11 02:02:45 +00:00
Herb Lewis
a01d164a12 keep cflags from being duplicated if defined in environment
(This used to be commit 2097298565)
2001-04-06 18:37:55 +00:00
Jeremy Allison
a6d201a8d7 Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy.
(This used to be commit 0865366f6b)
2001-04-03 00:40:01 +00:00
Jeremy Allison
92368833fa configure configure.in include/config.h.in lib/replace.c: Added test and replacement
for setlinebuf which apparantly doesn't exist on HPUX 11.
include/byteorder.h:
rpc_parse/parse_prs.c:
Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted
all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h.
They were macros that included macros that had conditional macros included.
No one understood them (they were the cause of most of the bigendian issue
bugs). Finally, I went into parse_prs.c and inlined all of that stuff with
regular function calls. They're understandable, they're easy to edit and
they don't include macros !
JF - please look at the one comment I added (JF PLEASE CHECK). I have
tested this partly with IRIX (a bigendian system) running with AS/U on
a Solaris box in SGI's lab, and I've also confirmed these new changes
work with W2K (vmware) but there may be the odd bug lurking. Herb, if
you could re-checkout and test again with this code that would help.

Extra.  Fixed bug spotted by the sharp eyes of JF - big endian unicode
packet would cause a early truncate of string parsing as we were checking for a char *
0, not a uint16 * 0.

Jeremy.
(This used to be commit 13765eca71)
2001-03-31 19:06:45 +00:00
Jeremy Allison
fcd0808776 standards.h only exists on IRIX 6.x and above (Herb please check !).
Jeremy.
(This used to be commit 80ce12d953)
2001-03-27 01:41:50 +00:00
Andrew Tridgell
9c4927d362 much better readline support from Simo Sorce, with some mods from me
to make it a bit simpler
(This used to be commit e1487eb2c4)
2001-03-18 13:24:57 +00:00
Jeremy Allison
61b28a3aba Added patch from Urban Widmark <urban@teststation.com> modified by me to
enable large file support on Linux if glibc >= 2.2 and kernel >= 2.4.
Jeremy.
(This used to be commit c59a5db9c2)
2001-02-27 03:37:29 +00:00
Jeremy Allison
f93bb0801c rpc_client/cli_netlogon.c: Fixed incorrect printf.
Added Solaris ACL support.
Jeremy.
(This used to be commit f0d11b6997)
2001-02-25 00:24:54 +00:00
Jeremy Allison
62dc55a432 configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero permission W2K profiles.
libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim.
Jeremy.
(This used to be commit 3ded1e6bd5)
2001-02-16 00:24:43 +00:00
Jeremy Allison
cffc311b8a Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected.
Jeremy
(This used to be commit 523c919356)
2001-01-11 23:41:33 +00:00
Tim Potter
693f23a5cc Cosmetic fixups for large file support message.
(This used to be commit 671be48221)
2000-12-08 03:44:52 +00:00
Jeremy Allison
c31211167b Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
Jeremy.
(This used to be commit da6ae57501)
2000-12-07 06:23:01 +00:00
Jeremy Allison
423227d7ca Working code to read POSIX ACLs on a Linux system using the bestbits
ACL patch from http://acl.bestbits.at/.
configure support needs more work (just assumes correct headers at
the moment). ACL writing needs adding.
Jeremy.
(This used to be commit 6ae63e502e)
2000-12-07 05:38:01 +00:00
Jeremy Allison
7e4c4721b4 Changed to sourceforge tdb code. This includes spinlocks (so we now have
a --with-spinlocks option to configure, this does mean the on-disk tdb
format has changed, so 2.2alphaX sites will need to re-create their
tdb's. The upside is no more tdb fragmentation and a +5% on netbench.
Swings and roundabouts....
Jeremy.
(This used to be commit 9dea7b7c25)
2000-12-06 00:05:15 +00:00
Gerald Carter
0dcbafe2b9 Another large patch for the passdb rewrite.
o added BOOL own_memory flag in SAM_ACCOUNT so we could
    use static memory for string pointer assignment or
    allocate a new string

  o added a reference TDB passdb backend.  This is only a reference
    and should not be used in production because
	- RID's are generated using the same algorithm as with smbpasswd
 	- a TDB can only have one key (w/o getting into problems) and we
	  need three.  Therefore the pdb_sam-getpwuid() and
	  pdb_getsampwrid() functions are interative searches :-(

    we need transaction support, multiple indexes, and a nice open
    source DBM.  The Berkeley DB (from sleepycat.com seems to fit
    this criteria now)

  o added a new parameter "private dir" as many places in the code were
    using lp_smb_passwd_file() and chopping off the filename part.
    This makes more sense to me and I will docuement it in the man pages

  o Ran through Insure-lite and corrected memory leaks.  Need for
    a public flogging this time Jeremy (-:



-- jerry
(This used to be commit 4792029a29)
2000-11-21 05:55:16 +00:00
Gerald Carter
01e0d3879e TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>
Marked as an experimental compile time option (defaults to off) for now.





jerry
(This used to be commit 0435af4417)
2000-10-26 03:31:41 +00:00
Jeremy Allison
d199eebcf7 Fixes from David Lee for utmp handling.
Jeremy.
(This used to be commit 70cecfefc8)
2000-10-21 01:47:25 +00:00
Jeremy Allison
f601ecdda2 Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
(This used to be commit 44ed8abb2a)
2000-10-07 00:26:04 +00:00
Andrew Tridgell
d52d29f1b3 simpler configure test
(This used to be commit 7752c14c31)
2000-06-29 08:23:56 +00:00
Jeremy Allison
a69d47640c Fixes for IRIX kernel oplocks and systems that don't have nss.h
Jeremy.
(This used to be commit 711f15ac23)
2000-06-20 00:32:32 +00:00
Andrew Tridgell
f94f053b76 added support for kernel level share modes. These are a (small) hack,
I suspect we will either get rid of them or do them properly at some
stage.
(This used to be commit fabe1f350e)
2000-06-15 09:35:37 +00:00
Andrew Tridgell
1896c721fb fixed autoconf test for kernel change notify support
(This used to be commit 92d0382c9e)
2000-06-14 07:10:15 +00:00
Andrew Tridgell
b2d01bd2db totally rewrote the async signal, notification and oplock notification
handling in Samba. This was needed due to several limitations and
races in the previous code - as a side effect the new code is much
cleaner :)

in summary:

- changed sys_select() to avoid a signal/select race condition. It is a
  rare race but once we have signals doing notification and oplocks it
  is important.

- changed our main processing loop to take advantage of the new
  sys_select semantics

- split the notify code into implementaion dependent and general
  parts. Added the following structure that defines an implementation:

struct cnotify_fns {
	void * (*register_notify)(connection_struct *conn, char *path, uint32 flags);
	BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t);
	void (*remove_notify)(void *data);
};


then I wrote two implementations, one using hash/poll (like our old
code) and the other using the new Linux kernel change notify. It
should be easy to add other change notify implementations by creating
a sructure of the above type.

- fixed a bug in change notify where we were returning the wrong error
  code.

- rewrote the core change notify code to be much simpler

- moved to real-time signals for leases and change notify

Amazingly, it all seems to work. I was very surprised!
(This used to be commit 44766c39e0)
2000-06-12 15:53:31 +00:00
Andrew Tridgell
a9a512192d continued the split of the kernel level oplocks code into a more
modular form. In this pass I added oplock_irix.c and added a "struct
kernel_oplocks" that describes a kernel oplock implementation.

I also removed the maintainence mode from the Makefile. It was causing
too much trouble. If someone really likes it they can keep a patch
around to enable it themselves.
(This used to be commit fbeb980434)
2000-06-10 13:35:20 +00:00
Andrew Tridgell
844d3b512d the Linux F_GETLEASE value has changed
(This used to be commit 2a3c994a96)
2000-06-09 06:55:25 +00:00
Andrew Tridgell
bda48b3824 - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
(This used to be commit 0368f68529)
2000-06-08 07:40:55 +00:00
Shirish Kalele
8a86541e28 Changed MS_DFS to WITH_MSDFS throughout.
Fixed trans2 calls on IPC$ to let dfs referral calls through.
(This used to be commit e0965a80bd)
2000-05-26 17:10:40 +00:00
Andrew Tridgell
814f37a5e3 we don't need fnmatch.c any more
(This used to be commit e23f43e7d3)
2000-04-30 11:15:27 +00:00
Andrew Tridgell
d99bec7170 got rid of some more old configure tests and includes
(This used to be commit f137648504)
2000-04-17 06:11:08 +00:00
Andrew Tridgell
98825661dd removed some obsolete configure tests (sysv ipc etc)
(This used to be commit e8905a557a)
2000-04-17 05:56:49 +00:00
Andrew Tridgell
4a12fb79c0 The following series of commits are for the new tdb based printing
backend. This completely replaces our old printing backend.

Major changes include:

- all print ops are now done in printing/*.c rather than scattered all
  over the place
- system job ids are decoupled from SMB job ids
- the lpq parsers don't need to be nearly so smart, they only need to
  parse the filename, the status and system job id
- we can store lots more info about a job, including the full job name
- the queue cache control is much better

I also added a new utility routine file_lines_load() that loads a text
file and parses it into lines. This is used in out lpq parsing and I
also want to use it to replace all of our fgets() based code in other
places.
(This used to be commit 0b68660159)
2000-04-16 06:17:59 +00:00
Herb Lewis
42796c4347 fixes for broken IRIX header file merged from 2.0 branch
(This used to be commit 351b25727e)
2000-03-31 22:30:13 +00:00
Jeremy Allison
15bb28ccd2 IRIX include fixes.
Jeremy.
(This used to be commit 3a39acd353)
2000-03-31 20:44:55 +00:00
Jeremy Allison
332013e09e Added check for LL suffix to long long ints needed by AIX 4.3.x compiler
to allow successful build.
Jeremy.
(This used to be commit 567713a07c)
2000-03-29 23:03:48 +00:00
Jeremy Allison
8f1620125d acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.
include/byteorder.h: Added alignment macros.
include/nameserv.h: Added defines for msg_type field options - from rfc1002.
lib/time.c: Typo fix.
lib/util_unistr.c: Updates from UNICODE branch.
printing/nt_printing.c: bzero -> memset.
smbd/connection.c: Added check for UT_SYSLEN for utmp code.

Other fixes : Rollback of unapproved commit from Luke.
Please *ask* next time before doing large changes to HEAD.

Jeremy.
(This used to be commit f02999dbf7)
2000-03-22 19:03:12 +00:00
Tim Potter
191566780e Adding libtool support to HEAD branch. We're going to need this for
various things yet to be merged from TNG.  The smbwrapper stuff should
probably be ported across too.
(This used to be commit b183c24220)
2000-03-13 23:20:01 +00:00
Shirish Kalele
952799d9af dded Microsoft Dfs services.
* added a new msdfs/ directory under source/
* added msdfs sources under this directory.
* modified configure setup to add a --with-msdfs configure time option

 Modified Files:
 	Makefile.in acconfig.h configure configure.in
 	include/config.h.in include/includes.h include/proto.h
 	include/smb.h include/smb_macros.h param/loadparm.c
 	smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c
 	smbd/server.c smbd/trans2.c
 Added Files:
 	include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c
 	msdfs/parse_dfs_map.c
 ----------------------------------------------------------------------
(This used to be commit 4684b4a188)
2000-03-08 22:14:30 +00:00
Jeremy Allison
3cf31a194f Added replacement functions sys_popen and sys_pclose. These are based
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
(This used to be commit b52e92b09d)
2000-02-15 19:36:47 +00:00
Jeremy Allison
868c81eefa Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
(This used to be commit 773d6e504b)
2000-02-07 14:27:04 +00:00
Tim Potter
79601327cb Backed out -rdynamic linker option. It seems to be GNU ld specific.
Need a platform independant way of exporting symbols for dlopen().
Perhaps this is only needed for certain platforms anyway...
(This used to be commit 8b26be1e82)
2000-02-03 05:55:11 +00:00
Tim Potter
71604bb213 Add -rdynamic to LDFLAGS if libdl found.
(This used to be commit 4c14a343d1)
2000-02-03 05:07:06 +00:00
Jeremy Allison
21df01ff7d Wrapped popen calls in HAVE_POPEN - needed if we are to add the
env patch.
Jeremy.
(This used to be commit 94c075faee)
2000-01-29 00:23:40 +00:00
Jeremy Allison
1e2f92af55 Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.
Jeremy.
(This used to be commit 95d37a1d25)
2000-01-12 03:09:17 +00:00
Jeremy Allison
5983a77020 Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.
configure configure.in include/config.h.in: Added <sys/un.h> autoconf
code for Luke's UNIX domain sockets code.
Jeremy.
(This used to be commit 210d61db08)
2000-01-05 23:46:47 +00:00
Jeremy Allison
211697ee6c Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.
Jeremy.
(This used to be commit 1ba42aca21)
1999-12-29 02:00:38 +00:00
Andrew Tridgell
3db52feb1f first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
(This used to be commit 453a822a76)
1999-12-13 13:27:58 +00:00
Luke Leighton
6281c5d7a9 moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.h
(This used to be commit b2ea37a8f1)
1999-12-08 22:57:34 +00:00
Tim Potter
59bd1de1a5 Put back in GNU readline support for smbclient accidentally trashed by
tridge in the clientgen.c to clientutil.c conversion.
(This used to be commit 26d66071fb)
1999-07-09 03:34:09 +00:00
Tim Potter
06ab791616 Fixed spelling typo in Kerberos configure option.
(This used to be commit e8fa4fbf8b)
1999-04-04 22:58:44 +00:00