1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

571 Commits

Author SHA1 Message Date
Jelmer Vernooij
3dc6b9e5f0 Move 'weird' character set into new 'developer' module
(This used to be commit afbff33eba)
2002-11-13 19:07:34 +00:00
Jelmer Vernooij
1a03a47249 Only add modules/pdb_xml.so and modules/pdb_mysql.so to the 'modules' target if
the libs they depend on are available
(This used to be commit 018a44055d)
2002-11-13 13:33:02 +00:00
Jelmer Vernooij
828df6be66 Add make target 'modules' that currently builds vfs_audit, vfs_recycle and vfs_netatalk
(This used to be commit 4c05cbbe74)
2002-11-13 13:19:24 +00:00
Jelmer Vernooij
fc89832192 Add $(POPT_LIB_OBJ) to PROTO_OBJ
(This used to be commit ba34be7033)
2002-11-10 16:01:04 +00:00
Simo Sorce
10968f47cf consolidate error mapping functions into a single file
(This used to be commit 80086728f2)
2002-11-10 04:16:59 +00:00
Jeremy Allison
47955b2f6c Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e)
2002-11-07 02:38:42 +00:00
Jelmer Vernooij
4d3cdb02e0 Remove pdb_sql.o.. this one got in by accident
(This used to be commit 44c894531b)
2002-11-06 11:17:53 +00:00
Jelmer Vernooij
edea9b659f Small fix from Guenther Deschner <guenther.deschner@suse.de>
(remove junk chars)
(This used to be commit 2e7a904856)
2002-11-05 21:45:16 +00:00
Jelmer Vernooij
55888c4462 Add support to build plugins in source/
(This used to be commit eb8965eeff)
2002-11-05 16:33:26 +00:00
Tim Potter
ced085b0d2 Remove DRIVERFILE constant. It was removed with the old win95
printer driver stuff.
(This used to be commit cf6d2d9d9e)
2002-11-05 03:05:29 +00:00
Tim Potter
b0c440824d Fix mysterious error message when running 'make python_{ext,install}'
without configuring with python.
(This used to be commit 01a89690a2)
2002-11-05 02:00:36 +00:00
Andrew Bartlett
f8afe65733 VFStest already has pop_common via smbd, so don't link it twice.
Andrew Bartlett
(This used to be commit c70a3191d4)
2002-11-04 23:49:41 +00:00
Jelmer Vernooij
f9d0e90fa4 Add @BUILD_POPT@ to smbclient
(This used to be commit 24dd3886e8)
2002-11-04 15:43:21 +00:00
Andrew Bartlett
995ab016ab Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we must
link it on a per-program basis.

Next step is to make -lpopt apply only to the right programs, which might
help some of this kind of thing show up on Linux.

Andrew Bartlett
(This used to be commit a0d13cd3f0)
2002-11-04 13:39:40 +00:00
Andrew Bartlett
f35e15bd75 Try to fix popt dependencies - we were linking to popt before we built with it.
Andrew Bartlett
(This used to be commit dd9c6214d1)
2002-11-04 12:02:48 +00:00
Andrew Bartlett
99cd4b52a7 Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work on
systems other than linux.

Andrew Bartlett
(This used to be commit 80f1f68b6f)
2002-11-04 02:49:20 +00:00
Richard Sharpe
6214457499 The fixes from Tom plus a minor update from me.
(This used to be commit 6db6a48711)
2002-11-04 02:01:48 +00:00
Richard Sharpe
a71b29ad8e Fix a problem with spaces vs tabs
(This used to be commit 26857be78c)
2002-11-01 05:41:56 +00:00
Richard Sharpe
689d510ef6 Add more code to the profiles program and add Makefile.in support.
(This used to be commit daefe52a56)
2002-11-01 05:06:19 +00:00
Jelmer Vernooij
1f40ad5813 Add initial vesion of new module system
(This used to be commit b5d05d3ec6)
2002-10-30 11:52:36 +00:00
John Terpstra
0d929993c8 Added Buchan Milne's DESTDIR patch.
(This used to be commit d134d66f98)
2002-10-30 03:29:01 +00:00
Gerald Carter
4a5a88f8c9 sync with SAMBA_3_0
(This used to be commit 07ac86323f)
2002-10-21 15:49:26 +00:00
Jelmer Vernooij
ed07b61c6e Distclean should remove scripts/findsmb (patch from metze)
(This used to be commit e2f9ac5032)
2002-10-09 12:01:24 +00:00
Gerald Carter
d2ea6d5ae7 merge of working dsrolegetprimdominfo() client code from APP_HEAD
(This used to be commit f70caa25e4)
2002-10-04 19:11:36 +00:00
Andrew Bartlett
16bf7a8f07 VFStest uses all of smbd's .o files, so needs -lpam and crypt.
(This used to be commit 4851b6a40f)
2002-10-03 07:25:08 +00:00
Andrew Bartlett
1a9703338c Patch from Steve Langasek <vorlon@netexpress.net>:
(quoting his mail)

Ok, here's round two of splitting up the library dependencies.  I think
the first one's been steeping in CVS for long enough now.

This splits off the "authentication" libs (libpam, libcrypt) into their
own group.  A modest gain, but you've gotta start somewhere.

Steve Langasek
postmodern programmer
(This used to be commit a1c63d04b8)
2002-10-03 04:19:52 +00:00
Andrew Bartlett
df316e3cd9 Remove sam/api.c.
In order to reduce complexity, this patch removes the upper layer of the SAM
API.  Also, we remove the function pointers on the sam context - there really
is no point making these replaceable - that's for the modules.

Move a number of functions in include/interface.c around to allow for use of
'static' and to keep the external API in one chunk, at the bottem.  All these
functions were renamed to remove the context_sam -> sam

Consequential changes in the samtest module, and back out metze's change for
ACB filtering, becouse I think it belongs in the SAM backeds.  (But I will take
debate on this one).

Changes to the lib/util_sid.c code to create a 'system' token, and make it a
SAM_ASSERT() enforced requirement to have a token on those calls that specify
it.  samtest now uses this.

We should have a samtest call to set your own token.

We also need to extend our se_access code to cover the things that Win2k is
returning in it's access tokens.  Currently our system token doesn't pass, due
to unexpected flags.  (When running sam_ads against Win2k)

Andrew Bartlett
(This used to be commit b9036900d0)
2002-09-29 06:07:58 +00:00
Andrew Bartlett
8b197158c9 Add the beginings of sam_ads to the tree.
This module, primarilly the work of "Stefan (metze) Metzmacher"
<metze@metzemix.de>, uses the Active Directory schema to store the
user/group/other information.  I've been testing it against a real AD server,
and it is intended to work with OpenLDAP as well.

I've moved a few functions around in our other libads code, which has made it
easier to tap into that existing code.

Also, I've made some changes to the SAM interface, I hope there are not too
many objections...   To ensure we don't get silly bugs in the skel module, it
is now in the default compile.  This way you should not forget to update it :-)

Andrew Bartlett
(This used to be commit 24fb0cde2f)
2002-09-28 12:27:04 +00:00
Andrew Bartlett
7e4afe5381 Move a number of ADS related functions out into utility libs, so that things
like metze's sam_ads can also use them.

Also add error checking etc to a few more functions.

Andrew Bartlett
(This used to be commit c864edf4fb)
2002-09-27 12:23:47 +00:00
Andrew Bartlett
5f662896aa Vance picked up a pile of typos etc at the CIFS confernce, and finally got them
off his laptop :-)

Andrew Bartlett
(This used to be commit df8f0338fa)
2002-09-27 05:29:43 +00:00
Jelmer Vernooij
b9858339a4 Compile samtest with LIBADS_OBJ and PASSDB_OBJ...
(This used to be commit f0c0958757)
2002-09-25 11:08:16 +00:00
Tim Potter
16b2465c09 remove proto headers on realclean
(This used to be commit 1bd2c6e144)
2002-09-19 23:32:38 +00:00
Jelmer Vernooij
1244410cc4 Merge in first command for 'samtest'
Fix small bug in sam/interface.c
Make sam backend to default to a define
(This used to be commit 60ab55fedf)
2002-09-19 15:39:00 +00:00
Tim Potter
9583398baa Clean up python extensions in clean target.
Pass more flags down to setup.py so we don't have to hard code any
-I directives.
(This used to be commit a36882175a)
2002-09-19 05:47:50 +00:00
Volker Lendecke
e59d5b50fe First code for 'net rpc vampire'. We should probably find a more
positive name for this. It creates users and global groups. More to come.

Volker
(This used to be commit 0c1fadd9e0)
2002-09-18 06:34:10 +00:00
Jeremy Allison
8b46126a07 Never, *ever* hold a mutex lock in the message database where there may
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
Jeremy.
(This used to be commit a7781f91d8)
2002-09-17 23:45:21 +00:00
Jeremy Allison
4f613ac61e First cut at portable sendfile code. Only used in readX at the moment
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
(This used to be commit fd772ca7b1)
2002-09-12 02:12:52 +00:00
Andrew Tridgell
cdca2ad1c4 added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287)
2002-09-11 14:07:21 +00:00
Martin Pool
2517c20b9e Add python_install target. Not called by default. Delegates most
of the work to setup.py
(This used to be commit 29d7ee7e0d)
2002-09-09 08:51:55 +00:00
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
4a0c063cac Merge tpot's patch to add targets to build Python stuff. It's not
built by default.
(This used to be commit 452769f595)
2002-09-09 05:46:59 +00:00
Jelmer Vernooij
8a5abe4dbe Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
(This used to be commit 56cb03bfc6)
2002-09-08 14:58:23 +00:00
Andrew Bartlett
789d51b42c This is the 'easy' parts of the trusted domains patch n+3 patch from
Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>

It includes a conversion of make_user_info*() to NTSTATUS and some minor
changes to other files.

It also picks up on a nasty segfault that can occour in some security=domain
cases.

Andrew Bartlett
(This used to be commit d1e1fc3e4b)
2002-09-06 13:37:11 +00:00
Andrew Bartlett
eec38ee3bb Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better
general infrustructure for his sam_ads work.

I've also added some extra failure mode DEBUG()s to parts of the code.

NOTE:  The ADS_ERR_OK() macro is rather sensitive to braketing issues - without
the final set of brakets, the test is essentially inverted - causing some
intersting 'error = success' messages...

Andrew Bartlett
(This used to be commit 5b9a7ab901)
2002-09-06 11:46:59 +00:00
Gerald Carter
3cf5819133 fix proto
(This used to be commit 4f00844da0)
2002-08-30 12:46:54 +00:00
Gerald Carter
189c4b8fd3 fix broken dependencies....
(This used to be commit 8eab2e7941)
2002-08-30 11:38:39 +00:00
Gerald Carter
4e216f3e94 break out REGISTRY_VALUE & REGVAL_CR objects into separate file for
cleaning linking....
(This used to be commit fd140aadd7)
2002-08-30 11:03:44 +00:00
Jelmer Vernooij
337693457a Several compiler warning fixes + fix dependencies samtest
(This used to be commit b813761126)
2002-08-29 09:42:36 +00:00
Andrew Bartlett
66c389fe92 I think this should fix the compile on some of the CUPS based machines.
Andrew Bartlett
(This used to be commit abdad251f6)
2002-08-29 08:09:19 +00:00