1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

338 Commits

Author SHA1 Message Date
Martin Pool
b2536ccfdd Python's setup.py does not need to be munged by configure.in -- it is
sufficient to just pass the relevant variables to Python from the
Makefile.  Therefore, remove setup.py.in.
(This used to be commit 8bebe9ee2b)
2002-09-09 07:49:25 +00:00
Martin Pool
01e7afadd6 Add --with-python=PYTHONNAME configure option, so that the libraries
get linked for the appropriate version.
(This used to be commit 2ea647bbfa)
2002-09-09 06:05:39 +00:00
Martin Pool
b15ffb766a Merge tpot's Python patch. ./configure now writes to the Python
makefile-equivalent (setup.py).  Remember to do "cvs update -d" to get
the new directory.
(This used to be commit 87396c559b)
2002-09-09 05:54:11 +00:00
Simo Sorce
ec4f2af04a configure.in:
reflect the new example/VFS/ directory organization

lib/substitue.c:
added helper functions needed by recycle bin
(This used to be commit 29b4b9a2b5)
2002-09-07 04:08:03 +00:00
Andrew Bartlett
337668fd88 Make it possible to actually build these modules - process the Makefile.in at
the end of configure.
(This used to be commit 6953db6a98)
2002-09-06 13:05:04 +00:00
Andrew Bartlett
69b9cbf327 Detect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype for
syslog() since Paul Green's POSIX patch.
(This used to be commit d3b29b0b2d)
2002-09-06 10:00:24 +00:00
Jelmer Vernooij
2b2b0f7119 Put in intermediate version of new SAM system. It's not stable yet, code
might be ugly, etc - please don't blame me for anything but instead try to fix
the code :-). Compiling of the new sam system can be enabled with the
configure option --with-sam

Removing passdb/passgrp.c as it's unused
fix typo in utils/testparm.c
(This used to be commit 4b7de5ee23)
2002-08-28 04:54:43 +00:00
Simo Sorce
7251f6b9ec avoid using libtool for VFS modules
change a name in block.c it was hiding a function name
add a comment in configure
(This used to be commit 05038f4471)
2002-08-27 09:14:21 +00:00
Andrew Bartlett
066c5ae97f Steve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
external lib dependencies - let's hope this patch stays around for longer than
the previous attempt.

Andrew Bartlett
(This used to be commit d0c0e9f427)
2002-08-25 22:43:20 +00:00
Jeremy Allison
d5dd9dcc3f Test for non-POSIX st_blksize field.
Jeremy.
(This used to be commit d406d08e3e)
2002-08-23 15:29:44 +00:00
Simo Sorce
789e6e6b4e A new utility to test VFS system and modules
Just now it is acommandline tool like smbclient and rpcclient that is able to
perform operations on the file system passing through the vfs layer

It is not complete yet, some functions have simply faked up data, but module
loading works yet and basic operations too.

Thanks to Eric Lorimer for helping out with the initial setup.

Simo.
(This used to be commit 42ae5eb826)
2002-08-18 18:04:00 +00:00
Andrew Bartlett
4267fcccda Samba dependency hell claim's another victim...
Back out last night's patch to to reduce -l dependencies until we can ensure
that *all* configurations/platforms work...

Andrew Bartlett
(This used to be commit 35eefe7a19)
2002-08-08 06:44:03 +00:00
Andrew Bartlett
ab0ca0f0b2 Patch from Steve Langasek <vorlon@netexpress.net> to split up our -l
dependencies.  This benifits packagers (like debian) becouse then our client
code won't have references to 'server only' libraries.

(In particular, it removes the client dependency on CUPS, which was raised in
a debian bug report).

Andrew Bartlett
(This used to be commit d5f2e33b34)
2002-08-07 09:51:59 +00:00
Simo Sorce
edb9158f09 OK!
Finally the cascaded VFS patch is in.
Testing is very welcome, specially with layered multiple vfs modules.
A big thank to Alexander Bokovoy for his work and patience :)

Simo.
(This used to be commit 56283601af)
2002-07-30 09:59:53 +00:00
Tim Potter
c0cd7e0ce3 Do AC_MSG_RESULT(yes) when using included popt.
(This used to be commit edd91fa854)
2002-07-30 01:25:59 +00:00
Simo Sorce
2ff0939301 as per user request added windbind start/stop/restart in swat
almost working, seem it does not yet properly detect if windbind is running or not in all situations testing is welcome.
(This used to be commit e0988e9186)
2002-07-27 01:37:33 +00:00
Andrew Tridgell
fef9d6187e implemented getgrouplist() for systems that don't have it and use it
in get_alias_user_groups(). The old method used getgrent() which is
extremely slow when the number of groups is large
(This used to be commit 44e92b6523)
2002-07-23 09:22:29 +00:00
Andrew Tridgell
ca07fb330f removed the freebsd getgroups check now that we don't use it
(This used to be commit d25dc76137)
2002-07-23 03:38:35 +00:00
Andrew Bartlett
0df1e25542 Kill off codepage related stuff, now we don't use codepages any more.
Andrew Bartlett
(This used to be commit d1ca2b9f23)
2002-07-03 00:44:39 +00:00
Jim McDonough
1aff36d923 Re-enable kernel change notification on s390 as it has been fixed in the
kernel.
(This used to be commit ce7aa715ba)
2002-06-26 23:45:59 +00:00
Gerald Carter
dd1bd197a3 more merges from SAMBA_2_2
(This used to be commit fea895c5c4)
2002-06-26 23:26:10 +00:00
Gerald Carter
5116568601 merge of SONAMEFLAG stuff from SAMBA_2_2. If I stepped on something
here because HEAD does it differently, someone let me know.  This looks ok
and compiles fine from what I can tell.
(This used to be commit 68841ae762)
2002-06-25 00:10:06 +00:00
Gerald Carter
66de8367c6 merging some autoconf changes from SAMBA_2_2
(This used to be commit 708c6b8297)
2002-06-24 23:18:39 +00:00
Andrew Bartlett
a54afa45be Two things: Check how many paramaters that the LDAP libs take for the
rebind proc (some give an extra paramter to pass a void* paramater) and
some small changes for the SMB signing code to reset things when the
signing starts, and to 'turn off' signing if the session setup failed.

Andrew Bartlett
(This used to be commit a8805a34e5)
2002-06-16 05:03:11 +00:00
Jim McDonough
cef9484580 merge 390 kernel workaround from SAMBA_2_2.
(This used to be commit df78e76e0b)
2002-06-05 14:30:20 +00:00
Gerald Carter
43a81faf30 merge from 2.2
(This used to be commit 65417ed341)
2002-05-29 04:39:23 +00:00
Andrew Bartlett
0d26e9f69c Make --with-ldapsam 'go away'. This is now a standard, stable, feature
and there is no real reason for it to depend on more than the abilty
to compile the code.
(This used to be commit 64aaec137e)
2002-05-17 14:51:55 +00:00
Andrew Bartlett
eed5094264 This removes --with-ssl from Samba.
This option was badly maintained, useless and confused our users and
distirbutors.  (its SSL, therfore it must be good...)

No windows client uses this protocol without help from an SSL tunnel.

I can't see any reason why setting up a unix-side SSL wrapper would
be any more difficult than the > 10 config options this mess added
to samba in any case.

On the Samba client end, I think the LIBSMB_PROG hack should be
sufficient to start stunnel on the unix side.  We might extend this
to take %i and %p (IP and port) if there is demand.

Andrew Bartlett
(This used to be commit b04561d3fd)
2002-05-17 12:42:39 +00:00
Jim McDonough
67656e58f6 Fix for non-__va_copy systems. I had used AC_TRY_COMPILE, but even though
__va_copy wasn't defined, it compiled as though it were a function, but
fails on a link.  Oops.
(This used to be commit d3222ecd1a)
2002-05-16 20:28:52 +00:00
Jim McDonough
a3c7cbfed3 Add configure support for __va_copy, which is required on Linux/390 systems
when assigning on va_list to another, or when passing a va_list as an
argument to a function.  Not using it causes segv's and other unpredictable
results.

We need to check all over the place for this...
(This used to be commit 331132678c)
2002-05-16 19:59:25 +00:00
Gerald Carter
9798be6355 merge from SAMBA_2_2
(This used to be commit d8e8f13f72)
2002-05-16 17:19:41 +00:00
Gerald Carter
92245e1ffc more solaris compile fixes (for smbwrapper)
(This used to be commit fbefb479fb)
2002-05-15 12:34:33 +00:00
Jeremy Allison
58c3f9d6d5 Fix for *BSD linking of VFS modules from "Scot W. Hetzel" <hetzels@westbend.net>
Jeremy.
(This used to be commit f137a2cc14)
2002-05-11 00:36:33 +00:00
Jeremy Allison
9fb0a7cbfc Fix to include -Ipopt in getpass test.
Jeremy.
(This used to be commit 41cec26ee3)
2002-05-11 00:25:49 +00:00
Tim Potter
fc26f277ca Fix for Solaris nscd issue pointed out by Mike Gerdts
<Michael.Gerdts@alcatel.com>.  The struct passwd in Solaris contains some
extra fields which must be initialised otherwise nscd crashes.
(This used to be commit a67323d071)
2002-05-10 03:02:22 +00:00
Gerald Carter
3de73897e7 merge from SAMBA_2_2
(This used to be commit 7382c3013d)
2002-05-09 13:52:06 +00:00
Gerald Carter
4db4e95ab2 pidfile merge from SAMBA_2_2 (including --with-fhs) and a few other minor things; compiles and shouldnt break, but needs testing
(This used to be commit 19b9b50d90)
2002-05-09 04:08:00 +00:00
Andrew Tridgell
193225dd42 patch from Alexander Bokovoy needed for dlopen on bsd systems
(This used to be commit 38fd99e841)
2002-04-24 11:43:02 +00:00
Andrew Tridgell
b66932e1a5 fixed the handling of STR_TERMINATE
(This used to be commit dbc6b137a8)
2002-04-16 12:07:12 +00:00
Andrew Tridgell
5928c293ff added strndup() for systems that don't have it
(This used to be commit 7e92fb7453)
2002-04-11 15:27:22 +00:00
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