1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

645 Commits

Author SHA1 Message Date
Stefan Metzmacher
9a8cd1aa27 move the tdb lib code to lib/tdb/*
metze
(This used to be commit 5ebd6fb761370cbe2835a2a2631e24e35bcaffb4)
2004-02-12 15:59:16 +00:00
Stefan Metzmacher
6647ff7430 move -lpopt replacement code from source/popt/* to source/lib/popt/*
metze
(This used to be commit 9d1018557fdc51cada1ad082d85c0dc48e1b3072)
2004-02-12 14:21:44 +00:00
Stefan Metzmacher
e46d297083 move the -lpopt replacement to a LIBPOPT subsystem
metze
(This used to be commit 9eb593a7c065326dafbba896ed723d0ea5cb00ed)
2004-02-12 08:07:46 +00:00
Stefan Metzmacher
45e446248d move more code to the config.m4 scheme
LIBBASIC, LIBSMB are the new global subsystems

metze
(This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)
2004-02-12 06:02:32 +00:00
Stefan Metzmacher
8838344108 do not return a value in a void function
metze
(This used to be commit 836612b841ce7f91525c333d81e31dcdb83f533c)
2004-02-12 05:52:53 +00:00
Andrew Tridgell
9b662ae037 fixed a void return spotted by metze
(This used to be commit 3f1b7e51c9f18745b6c06c3934ecc4fdd743e1d0)
2004-02-11 13:18:05 +00:00
Stefan Metzmacher
cc977af616 as I renamed the PDB subsystem to PASSDB, we need to rename
the static init functions of the modules too:-)

metze
(This used to be commit 09839de27c9741051b9ebd751c4adcd1c1481cf8)
2004-02-11 12:45:47 +00:00
Andrew Tridgell
1277e83f54 fixed a couple of uninitialised returns spotted by valgrind
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
2004-02-10 20:49:59 +00:00
Andrew Tridgell
6bee3fbd65 don't force debug in the RPC-MGMT test
(This used to be commit e0eb4b3cfb75385ff7a012ca0f8fad1278c195d9)
2004-02-10 20:48:22 +00:00
Andrew Tridgell
2ac07b1b0f we can close the netlogon pipe used to setup the schannel session key
as soon as we are finished with the netlogon negotiation phase. The
session key remains valid.
(This used to be commit 95a40d4693994edcb2284a2a135d2db426f6addb)
2004-02-10 20:47:22 +00:00
Tim Potter
9a6388179b Convert libcli routines to return NTSTATUS instead of BOOL. Again, the
only users are smbclient and smbtorture.
(This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-10 11:33:35 +00:00
Andrew Tridgell
e159cc7e05 don't always use the same schannel context number
(This used to be commit 396e0757122614211b535b140d9365ac7b8b880d)
2004-02-10 11:19:58 +00:00
Andrew Tridgell
078cced5ec - modified the dcerpc client security code to be generic, so ntlmssp
and schannel are both instances of possible security modules

- added schannel sign and sign/seal support to the dcerpc client
  code. You select it with binding options of "schannel,sign" or
  "schannel,seal".
(This used to be commit 05db0b9d942cad8f1dd574dc35b759e5e79d4195)
2004-02-10 10:22:12 +00:00
Stefan Metzmacher
f5cb6392b3 the subsystem name is 'PASSDB' so name the modules 'passdb_XXX'
metze
(This used to be commit 1516f7974984e46a825c66daae6bc73eb6859700)
2004-02-09 21:57:07 +00:00
Stefan Metzmacher
e2327d727d - remove unused 'evel ...' calls, we don't need them inside of
AC_XXX() macros

-   handle --with-shared-modules=process_model --with-static-modules=process_model_single
    right. ( build 'single' static and the rest of the process_model modules shared,
    if they're not declared as NOT.

metze
(This used to be commit a57734877dd58ab3159435a145b307bd546a9e99)
2004-02-09 21:56:03 +00:00
Stefan Metzmacher
e7d68c3f7a fix pdb_ldap build if LDAP support was detected
metze
(This used to be commit 3d50b327ce85d8929db7a3135f927f744ce6b111)
2004-02-09 21:04:42 +00:00
Tim Potter
4639eb5a58 Convert libcli routines to use cli_tree instead of cli_state. Port
smbtorture to use the new interface.

Part 2 will be to eliminate cli_state from smbtorture as this is now
the only place where it is used.
(This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2004-02-08 00:51:07 +00:00
Stefan Metzmacher
f0c9a54b30 add the TORTURE SUBSYSTEM to the config.m4 scheme
tridge:
I'll convert all stuff first to this scheme
and then move to the scheme with two files per subsystems
so we'll later something like config.m4 and config.mk...

metze
(This used to be commit 39e1a9b0c55138695e9736612b62ddada157d690)
2004-02-05 12:16:29 +00:00
Stefan Metzmacher
6d351569eb remove unused Makefile vars and fix dublication in $(PROTO_OBJ)
metze
(This used to be commit 2173efba143c633fee599b6e188ed7f66b9bb87f)
2004-02-05 11:37:53 +00:00
Andrew Bartlett
2853e62248 This would appear to restore smbtorture to be able to use the syntax
documented in it's self-help for RPC tests.

Andrew Bartlett
(This used to be commit 49b52cdbfe26dd7afe74aeb4596a4fd34806dabe)
2004-02-03 21:53:51 +00:00
Stefan Metzmacher
0b4da9d7e0 - add 'print' to the DCERPC binding strings
e.g.
  ncacn_np:myserver:[samr,sign,print]

  will now enable the packet debugging

  and the debugging is not bound anymore to the debuglevel >= 2
  in the torture tests

- also the dcesrv_remote module now supports debugging of the packets
  use the 'dcerpc_remote:binding' smb.conf parameter.

metze
(This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2004-02-03 14:56:07 +00:00
Stefan Metzmacher
f848aff0c2 if vfs_cifs want to modify the ntvfs_ops struct, it should
use a temporary copy of the struct!

metze
(This used to be commit 372522c64f2aea76b3fe136752d4da40e61d2bec)
2004-02-03 12:37:54 +00:00
Stefan Metzmacher
009fa83b13 move include/ntvfs.h to ntvfs/ntvfs.h
metze
(This used to be commit 041dc8c83df21c4cff9a62b9381ebc68b3876e77)
2004-02-03 11:18:54 +00:00
Stefan Metzmacher
1c798aba40 - port AUTH and PASSDB subsystems to new
SMB_SUBSYSTEM() scheme

- some const fixes in ntvfs

metze
(This used to be commit af89a78123068767b1d134969c5651a0fd978b0d)
2004-02-03 11:10:56 +00:00
Stefan Metzmacher
a9b28120b8 make more function static, they are still available via the function pointers
metze
(This used to be commit 4597643e76a34397cd2344a91d7045163ea7a942)
2004-02-03 11:05:36 +00:00
Stefan Metzmacher
a8152b68a0 do some merging from 3.0
metze
(This used to be commit 47a240d7b833542937a1b93829c1cf8baae2ffc5)
2004-02-03 06:37:28 +00:00
Stefan Metzmacher
26ecaa3226 - move all SMB server stuff to smb_server/*
and create the SMB server subsystem

- remove unused XML and MYSQL configure tests

metze
(This used to be commit 956d212c83d8ebd8e31ec109f17dc2105ca72c30)
2004-02-03 05:47:36 +00:00
Stefan Metzmacher
b2f097ad38 remove some unused stuff
metze
(This used to be commit d634a78faef8f59266f253bac76585ec79ff1b54)
2004-02-02 14:48:40 +00:00
Stefan Metzmacher
b884eba104 const fixes
metze
(This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b)
2004-02-02 14:46:25 +00:00
Stefan Metzmacher
cc4af8d13a readd this fix:
fix PROTO_OBJS ... fix make proto on some platforms

metze
(This used to be commit 5346756a65af12aed1696318e41ea0deab1c7fda)
2004-02-02 14:13:48 +00:00
Stefan Metzmacher
c61089219b - we now specify the object files in the subsystems config.m4 file
I plan to convert all objectfile group to use SMB_SUBSYSTEM
  later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need
  to touch Makefile.in, because all make rules will be autogenerated by configure

- convert the PROCESS_MODEL subsystem to this new scheme
  and move the pthread test to smbd/process_model.m4

- convert the CHARSET subsystem to this new scheme
  and move the iconv test to lib/iconv.m4
(This used to be commit 2e57ee884ebea194ee79ac20e84e385481b56aa2)
2004-02-02 13:43:03 +00:00
Stefan Metzmacher
894e02f80c some DEBUG and comment fixes
metze
(This used to be commit 5ac4f878687eb0fa95a2e5830a8372168a27d3b3)
2004-02-02 13:28:29 +00:00
Stefan Metzmacher
ada1de721a some compilers don't like the #warning preprocessing directive
so just do a DEBUG(0,("..."));

metze
(This used to be commit c087ff38b0c67a2246214c1303b045e6a7c2aa4a)
2004-02-02 12:15:25 +00:00
Stefan Metzmacher
ac7d38c3f9 remove unused files
we maybe need the util_smbd.c code later but this should not be in the lib/ dir

metze
(This used to be commit 2149d414079cefc956bc9a50e30b7bb423f4aca6)
2004-02-02 07:23:29 +00:00
Stefan Metzmacher
8468164b98 remove unused .cvsignore file
(This used to be commit 64e064c4971a361a41b80ac47757e8581448f523)
2004-02-02 07:11:30 +00:00
Stefan Metzmacher
ec5d556a12 some systems doesn't have ./ in PATH
so use ./build/pidl/pidl.pl

metze
(This used to be commit 7aab10d507346ac8d748558e5b9dbcfe9a56f601)
2004-02-02 07:06:28 +00:00
Stefan Metzmacher
bfb86c49ea fix PROTO_OBJS ... fix make proto on some platforms
metze
(This used to be commit ae37d9bb3f570a069d5a0492a1ecac9a4d14a7f5)
2004-02-02 07:02:15 +00:00
Stefan Metzmacher
9b736c3d9e Makefile.in cleanups:
lib/util_smbd.c is not used anymore

reorder the SMB_MODULE() parameters the goal is to autogenerate the
make rules for shared modules:

dnl SMB_MODULE(1:name,2:subsystem,3:default_build,
		4:object_files,5:shared_object,6:libs
		7:whatif-static,8:whatif-shared,9:whatif-not)

and generate <SUBSYSTEM>_LIBS and MODULE_<name>_LIBS with the SMB_MODULE() macro

metze
(This used to be commit 904ce91ed9e3b26d591278984ae32fa99bac01fd)
2004-02-01 12:16:26 +00:00
Stefan Metzmacher
670ccc7d64 merge:
ldap and krb5 configure tests
libads/*.c and libcli/raw/clikrb5.c from 3.0

metze
(This used to be commit 64b5bfcd73d7626d6f687a641b11e64821144df7)
2004-02-01 11:26:25 +00:00
Stefan Metzmacher
0d90f4b47b remove unused configure checks and options
--with-acl-support
 --with-sendfile-support
 --with-manpages-langs
 --with-utmp
 --with-quotas
 --with-nisplus-home
 --with-profiling-data
 --with-syslog
 --with-pam_smbpass
 --with-pam
 --with-smbmount
 --with-automount
 --with-dce-dfs
 --with-afs
 --with-smbwrapper
poll and poll.h

I'm sure we need some of this but e.g. acl, sendfile and quotas belong
only to the posix ntvfs module, so the tests will to into a seperate config.m4
file, when we need them...

metze
(This used to be commit 9bf405dd40c2133700a55fc6e163e975b4e62a66)
2004-01-29 16:08:19 +00:00
Stefan Metzmacher
04376e44b6 add find_unused_options.sh
this script finds unused lp_*() functions

use it like this:
   user@host:~/samba/source>./script/find_unused_options.sh

metze
(This used to be commit 350fbe3440e28bcb26f9a9e8b999b0c4a70de64d)
2004-01-29 09:54:42 +00:00
Stefan Metzmacher
1aceddaec4 remove a lot of unused smb.conf options
I think we should remove a view more,
but step by step:-)

metze
(This used to be commit 534ccc5332d16c395847885e3b793d10b67b9855)
2004-01-29 09:47:39 +00:00
Stefan Metzmacher
a5ece462ab remove a lot of unused stuff from the header files
and exclude some files from Makefile.in

metze
(This used to be commit f77990cf2496f72d02566f09477349436be3dfcd)
2004-01-28 18:54:36 +00:00
Stefan Metzmacher
607d6948f2 - cosmetic fix in configure.in
- fix mem leak in process.c

metze
(This used to be commit d82ada11377e7613fc7c48afa9ef5f8a2e54233c)
2004-01-28 15:47:20 +00:00
Stefan Metzmacher
7de61be924 - remove all STFS related stuff
(which were already removed in revision 1.37 and
   readded by mistake in revision 1.39)

- change the SMB_MODULE() macro a bit
  Now we have:

dnl Specify the default build method of this module
dnl SMB_MODULE_DEFAULT(name,default_build)
AC_DEFUN(SMB_MODULE_DEFAULT,...

dnl Mark specified module as shared
dnl SMB_MODULE(name,default_build,static_files,shared_files,subsystem,whatif-static,whatif-shared,whatif-not)

  this let us specify the default build method inside of the included config.m4
  files

metze
(This used to be commit 92a3eb83d4bb07a7f1f87232e26831d05ab42915)
2004-01-28 15:43:18 +00:00
Stefan Metzmacher
d70b4a07bf remove autogenerated version.h from CVS
metze
(This used to be commit e7694095d3c3f2e18ec2c05f74541dbb7954d79d)
2004-01-28 12:49:32 +00:00
Stefan Metzmacher
e06687eb17 merge the version.h autogeneration stuff from 3.0
metze
(This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
2004-01-28 12:47:52 +00:00
Jelmer Vernooij
2ffa2fe165 Remove testing utility for removed SAM system
(This used to be commit dee59bec8413799aa66b37d5baace7dd2e782801)
2004-01-24 19:21:08 +00:00
Andrew Bartlett
0ea253d728 (merge from 3.0)
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

This was due to strdup() bein implicitly declared, and casting
pointer->int->pointer.

I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
(This used to be commit f1cf5b8aa9897b79dfd00b963bc3803b6ff00dcb)
2004-01-22 10:22:03 +00:00
Stefan Metzmacher
da93724637 - move the vars used by the backtrace stuff into the #ifdef
- handle SIBABRT with a backtrace

metze
(This used to be commit e9f584143d5bbcbbdaaac2c231efd85c7bd5a922)
2004-01-22 02:28:17 +00:00