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

622 Commits

Author SHA1 Message Date
Jelmer Vernooij
89d6a36b85 Add installmodules and uninstallmodules targets
(This used to be commit c656e7dce91bb3171f9ec2b8d8f98812ab6c618f)
2002-11-13 20:40:31 +00:00
Jelmer Vernooij
3dc6b9e5f0 Move 'weird' character set into new 'developer' module
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)
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 018a44055d6a8435528279523567f9a86b2f3069)
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 4c05cbbe7434c9d43f561f3be27c0283fa754ab0)
2002-11-13 13:19:24 +00:00
Jelmer Vernooij
fc89832192 Add $(POPT_LIB_OBJ) to PROTO_OBJ
(This used to be commit ba34be7033bced52eabf4e0b367a32a5196ef127)
2002-11-10 16:01:04 +00:00
Simo Sorce
10968f47cf consolidate error mapping functions into a single file
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
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 10024ed06e9d91f24fdc78d59eef2f76bf395438)
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 44c894531b09856a9a485912b05f08c59caa6a00)
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 2e7a904856f616605e341c897d2be0f863c4b53d)
2002-11-05 21:45:16 +00:00
Jelmer Vernooij
55888c4462 Add support to build plugins in source/
(This used to be commit eb8965eeff3fb55d7041d9998b45da403ecb03a2)
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 cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)
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 01a89690a2e9d234188704c04e58b5dfa2e7d1f3)
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 c70a3191d4ba8864f026a2ba6b35b9e415541aa7)
2002-11-04 23:49:41 +00:00
Jelmer Vernooij
f9d0e90fa4 Add @BUILD_POPT@ to smbclient
(This used to be commit 24dd3886e8783b09094c3b32b4184055cd06e8c2)
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 a0d13cd3f0ca1738fbd978ac67876196cd0ee56c)
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 dd9c6214d1976d87679735ea392b1a76463206a4)
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 80f1f68b6f0fa38dd1ef4b2cfabb07d3c8daf844)
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 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-04 02:01:48 +00:00
Richard Sharpe
a71b29ad8e Fix a problem with spaces vs tabs
(This used to be commit 26857be78cda1e6d6cae9bc87d34cdad12492748)
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 daefe52a56a7b977b8e561f8f668c42183de413b)
2002-11-01 05:06:19 +00:00
Jelmer Vernooij
1f40ad5813 Add initial vesion of new module system
(This used to be commit b5d05d3ec6808465d27e15db2a9ff48804e2e78e)
2002-10-30 11:52:36 +00:00
John Terpstra
0d929993c8 Added Buchan Milne's DESTDIR patch.
(This used to be commit d134d66f989026821b29b24c8c15a112213b61d6)
2002-10-30 03:29:01 +00:00
Gerald Carter
4a5a88f8c9 sync with SAMBA_3_0
(This used to be commit 07ac86323f71d6228a222a1680d1c7def0eb7109)
2002-10-21 15:49:26 +00:00
Jelmer Vernooij
ed07b61c6e Distclean should remove scripts/findsmb (patch from metze)
(This used to be commit e2f9ac5032895f9087707cd9e690fcaf9647562a)
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 f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
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 4851b6a40f5f498d597a88874c2402b629ff36b6)
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 a1c63d04b87375dc98dc78781eaf1812bfb1db2b)
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 b9036900d0bb227ec16c6a5792c18ef943dcf015)
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 24fb0cde2f0b657df1c99474cd694438c94a566e)
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 c864edf4fbf8a6c37888a14b861d7c12cf503d4f)
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 df8f0338fae01e5edc176708c2b798c67c2e8c36)
2002-09-27 05:29:43 +00:00
Jelmer Vernooij
b9858339a4 Compile samtest with LIBADS_OBJ and PASSDB_OBJ...
(This used to be commit f0c095875758ef44ed2d25d3ed9d77e5e163b75f)
2002-09-25 11:08:16 +00:00
Tim Potter
16b2465c09 remove proto headers on realclean
(This used to be commit 1bd2c6e1441ea8e54284c72dc07de741f88dbe90)
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 60ab55fedf03a0b505b0b73527e031124a46304e)
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 a36882175ae546859fa4a5ba02a22d711a04cedf)
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 0c1fadd9e024ef886542d362a7f119968552852d)
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 a7781f91d8c1177210bffc199cd2f3b7ff993eaf)
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 fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)
2002-09-12 02:12:52 +00:00
Andrew Tridgell
cdca2ad1c4 added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)
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 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)
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 8bebe9ee2b6bd56c297acc6b01cb0856aad1c4f3)
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 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6)
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 452769f595c87ba14bde96cebf06e442e79402f3)
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 56cb03bfc68727384df46bde6df03950f7cdfcf9)
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 d1e1fc3e4bf72717b3593685f0ea5750d676952a)
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 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
2002-09-06 11:46:59 +00:00
Gerald Carter
3cf5819133 fix proto
(This used to be commit 4f00844da05b37cf9755def40a63c11e7f82153e)
2002-08-30 12:46:54 +00:00
Gerald Carter
189c4b8fd3 fix broken dependencies....
(This used to be commit 8eab2e79412c771ef57d39e7d61816b705350e0f)
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 fd140aadd7c76facb4efa80655e633600f9760b6)
2002-08-30 11:03:44 +00:00
Jelmer Vernooij
337693457a Several compiler warning fixes + fix dependencies samtest
(This used to be commit b813761126249c3c0c0e38d2a3306d1d0c33c4eb)
2002-08-29 09:42:36 +00:00