1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

240 Commits

Author SHA1 Message Date
Andrew Tridgell
11ce0f4d2d a bunch of fixes from the sflight to seattle
in particular:
 - fixed NT status code for a bunch of ops
 - fixed handling of protocol levels in ms_fnmatch
(This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-20 05:15:26 +00:00
Jeremy Allison
16afd6d2bc Added Mike Davidsons Tru64 ACL patch.
Jeremy.
(This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-10 20:48:25 +00:00
Gerald Carter
db3ad91012 merge from 2.2
(This used to be commit a7bf5e2ab84e21198a22e893e8640710a9ba2f7b)
2001-08-07 19:34:38 +00:00
Jeremy Allison
ad4144d81d Put HPUX on mmap blacklist.
Jeremy.
(This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
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 5704a9f0bb7f78c34f4141512159d0e7eb4305b8)
2001-08-02 14:33:32 +00:00
Tim Potter
a3046affa0 Reran autoconf.
(This used to be commit 7bd901b6a89e34d111609892e0fe648248c9e21e)
2001-08-01 03:19:58 +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 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-26 21:16:39 +00:00
Tim Potter
33180148ab Re-ran autoconf.
(This used to be commit 4ecc12e974cbc7edd0507cfb851f47f7f9c53d28)
2001-07-25 06:21:07 +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 cfb6e67bb92f9d73aadabebae3ea5baeb07158a0)
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 09af934c4aa295bec494740d94de76e5e4497887)
2001-07-24 23:30:13 +00:00
Richard Sharpe
5408d8bb39 Commit an updated configure, but the build_farm should run autoconf!
(This used to be commit 81e39790f64fbccc6bdd967635a22a2e0ca666cc)
2001-07-24 01:44:22 +00:00
Tim Potter
1253b8ea43 Reran autoconf.
(This used to be commit fa4901eaf23004f16c529037491c1d809efb2905)
2001-07-19 07:19:53 +00:00
Jeremy Allison
edfd138e87 Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
(This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)
2001-07-16 22:58:47 +00:00
Andrew Tridgell
81393e6fda removed remnants of libtool
(This used to be commit abe01facea99f4cda76330d1265edde32b3c0a86)
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 debb471267960e56005a741817ebd227ecfc512a)
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 016a97d71aa1ac9de782248c645aecbf22ed647b)
2001-07-03 19:34:18 +00:00
Tim Potter
f97323dc9a Reran autoconf.
(This used to be commit 547d63c60a9c0588d5263d5c0384e0198aa18be9)
2001-07-03 02:46:50 +00:00
Tim Potter
6daaa1d29e Re-ran configure.
(This used to be commit 33f668b137054f3eb768036398693a3b754158c3)
2001-07-02 09:10:15 +00:00
Andrew Bartlett
d2af8d03ab Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett
(This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-07-02 04:47:55 +00:00
Richard Sharpe
51b83860a1 Modified Makefile.in to work properly. Define BLDSHARED as a variable in the makefile now.
(This used to be commit 332f646fdc25ae4fe3797ad6c85d4637f0dba0e3)
2001-06-30 01:40:51 +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 c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
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 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8)
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 e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
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 db5b82e53a7061c4764d39ceb3df82e706aad42f)
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 d0c276c2429fa19cd95ca887654e049593de68d5)
2001-06-06 23:07:10 +00:00
Tim Potter
4ebfe75e0e Compile fix for wbinfo on solaris.
(This used to be commit cae6958f0872e0a0cc7647d14dd855caecd9114b)
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 de46428d054285f568727589537cd8520ee0f687)
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 ab2465239414853a14529f88a25f13c392aa2d3f)
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 d52bc4d219bd07e656986e7754ea6e238c626d77)
2001-05-22 21:47:11 +00:00
Andrew Tridgell
ed585b91eb - added ability for swat to run under CGI. This needs
to be setup very carefully for it not to be a security hole
- reran configure
(This used to be commit cf4e439a1e0f3fadbe08c474e5b201827866d7f5)
2001-05-17 11:45:58 +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 ded776af285baa65af151710fe7440b6c52fc409)
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 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-03 19:47:30 +00:00
Andrew Tridgell
089d8c544f added more complete C99 snprintf test
(This used to be commit 4d7565342d5b53dd038bf25dd6c6afc7132ba2aa)
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 c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28 13:49:34 +00:00
Andrew Tridgell
fd5c6d72d3 added asprintf test
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)
2001-04-28 12:35:00 +00:00
Andrew Tridgell
dfc07f6174 added test for C99 compliant vsnprintf
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)
2001-04-27 02:35:42 +00:00
Jeremy Allison
9f60d55b02 Fixed REPLACE_GETPASS test.
Jeremy.
(This used to be commit 3cfcaaca5ba54ada898680ac9943086316d262b4)
2001-04-26 18:36:38 +00:00
Jeremy Allison
ce4d3cd4fa Re-ran autoheader; autoconf to fix pam_smb build.
Jeremy.
(This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)
2001-04-25 19:03:57 +00:00
John Terpstra
c5eca67b0a Added Steve Langasek <vorlon@netexpress.net> pam_smbpass support
(This used to be commit 550cc5c182e88f742ac2052d80208da5f98e2543)
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 cf9e34c79be4c09b84d648134933b9007a06dc92)
2001-04-24 14:31:45 +00:00
Jeremy Allison
ae8418d0c4 Added smb_ prefix to all Samba wrapper pam functions.
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
(This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)
2001-04-23 04:15:35 +00:00
Jeremy Allison
8a1c2e0298 AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
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 1cfc542685f3ad6c16e922ca35043a1a9ce57f8e)
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 c23628746342b6afa28cb34b0b4eaa61189ad390)
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 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
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 fc76681812b1469208ad6c8847afdfc68bc6db49)
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 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
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 144a2906810e8d4414d627835eb80f60bd1d88a4)
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 2097298565b367157a3bc0c1178f17b1a6bbdd86)
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 0865366f6b1070a8db3d8421c37c8072b36b96e3)
2001-04-03 00:40:01 +00:00