1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

640 Commits

Author SHA1 Message Date
Simo Sorce
48fb7b090e updates to the gums
introduce genparser will be used by tdbsam2
(This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)
2002-12-16 12:11:02 +00:00
Gerald Carter
f6c4f25e43 merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
(This used to be commit 6b18ca9511ddcf1718f222af3f61491d1e5f3b60)
2002-12-12 23:35:55 +00:00
Richard Sharpe
117589526f Add support to Makefile.in for editreg
Fix a couple of duplicated macros.
(This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)
2002-12-10 21:29:03 +00:00
Richard Sharpe
2a8b92abd3 A small fix to Makefile.in from Bradley Longhurst.
Less Fir needed.
(This used to be commit 481fa87154a15eebd5a59ac4de9912fa932a42e7)
2002-12-08 18:48:48 +00:00
Andrew Bartlett
9de7abd8db Link less with smbmnt and smbumount. Also change from a pstrcpy() to a
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer.

Andrew Bartlett
(This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)
2002-12-01 04:11:20 +00:00
Andrew Bartlett
f238a3e58b Patch from Paul Green to detect exe extensions, needed for Stratus VOS.
Andrew Bartlett
(This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)
2002-12-01 01:35:40 +00:00
Tim Potter
7916923943 Fix up smbwrapper target.
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)
2002-11-29 01:19:27 +00:00
Jelmer Vernooij
ad4849825e merge in some changes from metze's patches (rest follows later, after
some issues in the new module system have been resolved)
(This used to be commit 5b4d03fc8549696baebc0b4417582203ad7ba88e)
2002-11-28 18:45:11 +00:00
Jelmer Vernooij
fcbd2693c9 Add PDBLIBDIR, just like VFSLIBDIR
(This used to be commit 3d0735e6b03ae77af42135a7f1aebb4206ae6655)
2002-11-28 14:26:32 +00:00
Gerald Carter
4060d198bf merging changes from SAMBA_3_0 relating to RPM packaging
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)
2002-11-27 16:59:31 +00:00
Andrew Bartlett
65643516d7 Having waited for *way* too long, this is mimir's namecache and trusted domain
cache code.

This uses gencache, mimir's new caching code that stores at text-based cache
of various data.

Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.

Andrew Bartlett
(This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-26 11:57:30 +00:00
Gerald Carter
585e8a8c02 [print notify fixes from APP_HEAD]
* fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
(This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
2002-11-26 00:01:56 +00:00
Andrew Bartlett
e388334ed7 Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
(This used to be commit 9bac0b72774fe0c05956065a34ef48c05a7acaad)
2002-11-24 08:42:10 +00:00
Andrew Bartlett
5aca399a38 Add ntlm_auth, a new program to provide a stable interface to winbind's
authentication code.

In particular, ntlm_auth is designed to replace the winbind authentication
'helpers' currently supplied by Squid.  I have added support for the current
plaintext password protocol used by Squid, and will add the real guts (NTLMSSP
support) shortly.

I'll merge this into 3.0 when I've got the interface more stable (error message
format etc) and got the important NTLMSSP support added.

Also move SWAT's URL decoding code into util_str.c, for use in both utilities.

Andrew Bartlett
(This used to be commit 82dbf838879e8a2d2d3f9dd5be6eda50b780b787)
2002-11-24 08:32:03 +00:00
Tim Potter
4c3f069028 Here's a bit of a cleanup of the {configure,Makefile}.in files. I've
now combined all the ad-hoc AC_SUBST variables into three generalised
ones:

  EXTRA_BIN_PROGS 	Additional programs to install in ${prefix}/sbin
  EXTRA_SBIN_PROGS 	Additional programs to install in ${prefix}/bin
  EXTRA_ALL_TARGETS     Additional targets to build by default
  SHLIB_PROGS           Shared library objects (pam, winbind) to build

We also build some extra stuff by default: the python extensions (if
--with-python specified), smbmount related binaries (if
--with-smbmount specified), and the samba torture suite.

The idea behind this is to have everything that is configured built by
default to detect breakage as soon as possible when people make low
level changes.
(This used to be commit d6dfe3ea69d4672339559389c6fb16e78a9152b0)
2002-11-22 06:54:12 +00:00
Jelmer Vernooij
9da3d41f3c Use smb_register_passdb() - plus some small fixes
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
2002-11-15 17:01:24 +00:00
Tim Potter
6c0dafc0c0 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
(This used to be commit a59f731256f3a1c09f32452de9483b44088c942b)
2002-11-15 00:33:55 +00:00
Tim Potter
1237ae89c6 Quieten status message when linking libsmbclient.so
(This used to be commit 85946731dd8bc60d0f71fe7ffa6756bd3bcbbf67)
2002-11-14 00:53:40 +00:00
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