samba.git
10 years agoShare libndr.h between Samba 3 and Samba 4.
Jelmer Vernooij [Tue, 14 Oct 2008 22:35:13 +0000 (00:35 +0200)]
Share libndr.h between Samba 3 and Samba 4.

10 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 22:15:34 +0000 (00:15 +0200)]
Merge branch 'master' of git://git.samba.org/samba

10 years agoFix include path.
Jelmer Vernooij [Tue, 14 Oct 2008 22:14:58 +0000 (00:14 +0200)]
Fix include path.

10 years agoRemove unused variable.
Jelmer Vernooij [Tue, 14 Oct 2008 22:09:08 +0000 (00:09 +0200)]
Remove unused variable.

10 years agoFix include path.
Jelmer Vernooij [Tue, 14 Oct 2008 21:59:58 +0000 (23:59 +0200)]
Fix include path.

10 years agoShare ndr_krb5pac implementation.
Jelmer Vernooij [Tue, 14 Oct 2008 21:52:20 +0000 (23:52 +0200)]
Share ndr_krb5pac implementation.

10 years agoCompile lzcompress (required for ndr_compression)
Jelmer Vernooij [Tue, 14 Oct 2008 21:49:13 +0000 (23:49 +0200)]
Compile lzcompress (required for ndr_compression)

10 years agoShare ndr_compression.c.
Jelmer Vernooij [Tue, 14 Oct 2008 21:46:34 +0000 (23:46 +0200)]
Share ndr_compression.c.

10 years agoRemove unused file.
Jelmer Vernooij [Tue, 14 Oct 2008 21:37:55 +0000 (23:37 +0200)]
Remove unused file.

10 years agoFix merged build .
Jelmer Vernooij [Tue, 14 Oct 2008 21:25:12 +0000 (23:25 +0200)]
Fix merged build .

10 years agoFix pkg-config file location.
Jelmer Vernooij [Tue, 14 Oct 2008 20:43:29 +0000 (22:43 +0200)]
Fix pkg-config file location.

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 14 Oct 2008 20:41:02 +0000 (22:41 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

10 years agoMove make check out of cache call to avoid weird formatting.
Jelmer Vernooij [Tue, 14 Oct 2008 20:40:21 +0000 (22:40 +0200)]
Move make check out of cache call to avoid weird formatting.

10 years agoGive the user a hint about whether a merged build would be possible.
Jelmer Vernooij [Tue, 14 Oct 2008 20:39:19 +0000 (22:39 +0200)]
Give the user a hint about whether a merged build would be possible.

10 years agoMake check_*.m4 m4 library files just contain functions that can be
Jelmer Vernooij [Tue, 14 Oct 2008 20:37:10 +0000 (22:37 +0200)]
Make check_*.m4 m4 library files just contain functions that can be
executed from other m4 files.

10 years agoMove checks for perl inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:27:07 +0000 (22:27 +0200)]
Move checks for perl inside function.

10 years agoMove checks for make inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:26:54 +0000 (22:26 +0200)]
Move checks for make inside function.

10 years agoMove tests for Python inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:26:39 +0000 (22:26 +0200)]
Move tests for Python inside function.

10 years agoFix path check.
Jelmer Vernooij [Tue, 14 Oct 2008 20:20:36 +0000 (22:20 +0200)]
Fix path check.

10 years agoAllow auto-detect if --enable-merged-build was not specified.
Jelmer Vernooij [Tue, 14 Oct 2008 19:46:58 +0000 (21:46 +0200)]
Allow auto-detect if --enable-merged-build was not specified.

10 years agoFix very old bug in ASQ
Simo Sorce [Tue, 14 Oct 2008 16:25:18 +0000 (12:25 -0400)]
Fix very old bug in ASQ

10 years agos3-build: add and use IDL_PATH while building IDL files.
Günther Deschner [Tue, 14 Oct 2008 13:36:31 +0000 (15:36 +0200)]
s3-build: add and use IDL_PATH while building IDL files.

Guenther

10 years agoMove ndr pkg-config file to top-level.
Jelmer Vernooij [Tue, 14 Oct 2008 14:23:46 +0000 (16:23 +0200)]
Move ndr pkg-config file to top-level.

10 years agoRemove unused file.
Jelmer Vernooij [Tue, 14 Oct 2008 14:21:26 +0000 (16:21 +0200)]
Remove unused file.

10 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 13:57:26 +0000 (15:57 +0200)]
Merge branch 'master' of git://git.samba.org/samba

10 years agoRemove unused types.
Jelmer Vernooij [Tue, 14 Oct 2008 13:57:03 +0000 (15:57 +0200)]
Remove unused types.

10 years agoSync with Samba 3.
Jelmer Vernooij [Tue, 14 Oct 2008 13:43:04 +0000 (15:43 +0200)]
Sync with Samba 3.

10 years agoRemove unused structures.
Jelmer Vernooij [Tue, 14 Oct 2008 13:27:27 +0000 (15:27 +0200)]
Remove unused structures.

10 years agoRemove unused header file.
Jelmer Vernooij [Tue, 14 Oct 2008 13:16:40 +0000 (15:16 +0200)]
Remove unused header file.

10 years agos3-build: fix init_samba_module missing proto warning.
Günther Deschner [Tue, 14 Oct 2008 11:36:15 +0000 (13:36 +0200)]
s3-build: fix init_samba_module missing proto warning.

Guenther

10 years agoAdd the oplock-batch25 test showing that a writeattr does not break an oplock
Volker Lendecke [Tue, 14 Oct 2008 11:29:03 +0000 (13:29 +0200)]
Add the oplock-batch25 test showing that a writeattr does not break an oplock

Probably that's already somewhere else, but I did not find it.

10 years agoRemove unused stuff
Volker Lendecke [Tue, 14 Oct 2008 11:28:06 +0000 (13:28 +0200)]
Remove unused stuff

10 years agoFix the "Premature end of data in tag" error when buiding the manpage, fix a typo...
Holger Hetterich [Tue, 14 Oct 2008 08:45:09 +0000 (10:45 +0200)]
Fix the "Premature end of data in tag" error when buiding the manpage, fix a typo in the text, add an example for anonymization usage.

10 years agoDefine inttypes macros if not provided by system.
Jelmer Vernooij [Tue, 14 Oct 2008 02:12:53 +0000 (04:12 +0200)]
Define inttypes macros if not provided by system.

10 years agoDefine __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
Jelmer Vernooij [Tue, 14 Oct 2008 01:42:54 +0000 (03:42 +0200)]
Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
from inttypes.h.

10 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 01:39:56 +0000 (03:39 +0200)]
Merge branch 'master' of git://git.samba.org/samba

10 years agoRely on standard {u,}int{8,16,32,64}_t types provided by system or
Jelmer Vernooij [Tue, 14 Oct 2008 01:38:34 +0000 (03:38 +0200)]
Rely on standard {u,}int{8,16,32,64}_t types provided by system or
libreplace for {u,}int{8,16,32,64} defines.

10 years agoRemove define for VOLATILE, volatile is already provided by libreplace.
Jelmer Vernooij [Tue, 14 Oct 2008 01:17:52 +0000 (03:17 +0200)]
Remove define for VOLATILE, volatile is already provided by libreplace.

10 years agoMAXHOSTNAMELEN is already provided by libreplace if not by the system.
Jelmer Vernooij [Tue, 14 Oct 2008 01:14:46 +0000 (03:14 +0200)]
MAXHOSTNAMELEN is already provided by libreplace if not by the system.

10 years agoRemove unused data type schar. If we really need this, it should probably be typedeff...
Jelmer Vernooij [Tue, 14 Oct 2008 01:14:07 +0000 (03:14 +0200)]
Remove unused data type schar. If we really need this, it should probably be typedeffed to int8_t.

10 years agoFixed a variable undeclared compilation error
Tim Prouty [Mon, 13 Oct 2008 22:33:49 +0000 (15:33 -0700)]
Fixed a variable undeclared compilation error

Explicitly declaring environ eliminates a compilation error on some
systems.

10 years agoUse GUID_random.
Jelmer Vernooij [Tue, 14 Oct 2008 00:41:20 +0000 (02:41 +0200)]
Use GUID_random.

10 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 00:34:38 +0000 (02:34 +0200)]
Merge branch 'master' of git://git.samba.org/samba

10 years agoUse GUID_from_string.
Jelmer Vernooij [Tue, 14 Oct 2008 00:33:41 +0000 (02:33 +0200)]
Use GUID_from_string.

10 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Tue, 14 Oct 2008 00:27:53 +0000 (17:27 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

10 years agoUse GUID_string rather than smb_uuid_string().
Jelmer Vernooij [Tue, 14 Oct 2008 00:26:18 +0000 (02:26 +0200)]
Use GUID_string rather than smb_uuid_string().

10 years agoCope with VFS change.
Jeremy Allison [Tue, 14 Oct 2008 00:22:33 +0000 (17:22 -0700)]
Cope with VFS change.
Jeremy.

10 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 00:19:00 +0000 (02:19 +0200)]
Merge branch 'master' of git://git.samba.org/samba

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Tue, 14 Oct 2008 00:16:59 +0000 (11:16 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

10 years agoUse common fusage implementation.
Jelmer Vernooij [Tue, 14 Oct 2008 00:16:27 +0000 (02:16 +0200)]
Use common fusage implementation.

10 years agoThe ldb async merge broke all MMC management utilties
Matthias Dieter Wallnöfer [Tue, 14 Oct 2008 00:02:42 +0000 (11:02 +1100)]
The ldb async merge broke all MMC management utilties

Commit 51baa8deec00244cc0a6e3d29c53932427800610 included a
copy-and-paste bug which caused all MMC mangement utilities to break.

Because of the typo Samba4 would no longer include the magic 'you may
write to these attributes/create these classes' attributes, these
tools would display all fields greyed out or 'read only', and not
allow the creation of child objects.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agoUse {u,}int64_t instead of SMB_BIG_{U,}INT.
Jelmer Vernooij [Mon, 13 Oct 2008 23:59:36 +0000 (01:59 +0200)]
Use {u,}int64_t instead of SMB_BIG_{U,}INT.

10 years agoRemove extraneous comment from 0a33d8bd312cc4497d08bbe0f4dd2abcce67bd0b
Tim Prouty [Mon, 13 Oct 2008 22:10:23 +0000 (15:10 -0700)]
Remove extraneous comment from 0a33d8bd312cc4497d08bbe0f4dd2abcce67bd0b

10 years agoCheck for f_frsize when using statvfs
Tim Prouty [Mon, 13 Oct 2008 18:50:27 +0000 (11:50 -0700)]
Check for f_frsize when using statvfs

Add a configure test for the availability of f_frsize in struct
statvfs (for broken platforms that define statvfs but still have
f_bsize/f_iosize). Ported from source3's fsusage:
commit 472519eb6941bc0972212cc416ab89801fe3ee0c

10 years agoUpdate the manpage for vfs_smb_traffic_analyzer to include the anonymize_prefix option
Holger Hetterich [Mon, 13 Oct 2008 21:19:25 +0000 (14:19 -0700)]
Update the manpage for vfs_smb_traffic_analyzer to include the anonymize_prefix option

10 years agoWhitespace tidyup and an optimization to remove a talloc.
Jeremy Allison [Mon, 13 Oct 2008 21:12:43 +0000 (14:12 -0700)]
Whitespace tidyup and an optimization to remove a talloc.
Jeremy.

10 years agoEnable optional anonymization of user names,
Holger Hetterich [Mon, 13 Oct 2008 21:08:49 +0000 (14:08 -0700)]
Enable optional anonymization of user names,
if the configuration parameter anonymization_prefix is defined in
smb.conf, and use the prefix given there.

10 years agoRemove the current_spoolss_pipes_open thingy.
Volker Lendecke [Mon, 13 Oct 2008 18:38:50 +0000 (20:38 +0200)]
Remove the current_spoolss_pipes_open thingy.

I looked at a checkout from 2002 and even there it did not what it was supposed
to do. Sadly this also removes one of the nicest comments in the whole Samba
code :-)

10 years agoMake the internal pipe functions static
Volker Lendecke [Mon, 13 Oct 2008 17:40:43 +0000 (19:40 +0200)]
Make the internal pipe functions static

10 years agoRemove smb_np_struct
Volker Lendecke [Sun, 12 Oct 2008 21:09:18 +0000 (23:09 +0200)]
Remove smb_np_struct

10 years agoUse "struct files_struct" for pipes instead of smb_np_struct
Volker Lendecke [Sun, 12 Oct 2008 21:01:38 +0000 (23:01 +0200)]
Use "struct files_struct" for pipes instead of smb_np_struct

10 years agoRemove the chain_fsp global
Volker Lendecke [Thu, 9 Oct 2008 14:55:56 +0000 (16:55 +0200)]
Remove the chain_fsp global

10 years agoPass struct smb_request to file_free
Volker Lendecke [Thu, 9 Oct 2008 14:27:49 +0000 (16:27 +0200)]
Pass struct smb_request to file_free

on the way to get rid of chain_fsp

10 years agoPass struct smb_request to file_new
Volker Lendecke [Thu, 9 Oct 2008 13:38:53 +0000 (15:38 +0200)]
Pass struct smb_request to file_new

Goal is to remove the chain_fsp global variable

10 years agoPass struct smb_request to file_fsp
Volker Lendecke [Thu, 9 Oct 2008 13:25:17 +0000 (15:25 +0200)]
Pass struct smb_request to file_fsp

The goal is to get rid of the chain_fsp global variable

10 years agoDSDB cosmetic patches: Some enhancements
Matthias Dieter Wallnöfer [Thu, 25 Sep 2008 10:21:28 +0000 (12:21 +0200)]
DSDB cosmetic patches: Some enhancements

Also, use the constants more in the "ldif_handlers" module.

10 years agoRevert chunk applied by mistake as part of the cosmetic fixes fromi Mathias
Simo Sorce [Mon, 13 Oct 2008 14:45:48 +0000 (10:45 -0400)]
Revert chunk applied by mistake as part of the cosmetic fixes fromi Mathias

10 years agoTest maxsize parameter to file_load() as used in Samba 3.
Jelmer Vernooij [Mon, 13 Oct 2008 14:40:27 +0000 (16:40 +0200)]
Test maxsize parameter to file_load() as used in Samba 3.

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 13 Oct 2008 14:30:40 +0000 (16:30 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

10 years agoAdd test for data_blob_string_const_null.
Jelmer Vernooij [Mon, 13 Oct 2008 14:29:19 +0000 (16:29 +0200)]
Add test for data_blob_string_const_null.

10 years agoCosmetic corrections for the DSDB module
Matthias Dieter Wallnöfer [Tue, 9 Sep 2008 13:06:13 +0000 (15:06 +0200)]
Cosmetic corrections for the DSDB module
This commit applies some cosmetic corrections for the DSDB (Directory Server Database).

10 years agoShare ndr.c implementation.
Jelmer Vernooij [Mon, 13 Oct 2008 14:09:48 +0000 (16:09 +0200)]
Share ndr.c implementation.

10 years agoShare ndrdump implementation.
Jelmer Vernooij [Mon, 13 Oct 2008 13:58:45 +0000 (15:58 +0200)]
Share ndrdump implementation.

10 years agoImport warning fixes from Samba 3 into libndr, sync more libndr code.
Jelmer Vernooij [Mon, 13 Oct 2008 13:33:40 +0000 (15:33 +0200)]
Import warning fixes from Samba 3 into libndr, sync more libndr code.

10 years agoShare uuid implementations.
Jelmer Vernooij [Mon, 13 Oct 2008 13:23:35 +0000 (15:23 +0200)]
Share uuid implementations.

10 years agoShare ndr_misc implementations.
Jelmer Vernooij [Mon, 13 Oct 2008 13:22:27 +0000 (15:22 +0200)]
Share ndr_misc implementations.

10 years agoShare ndr_basic implementation.
Jelmer Vernooij [Mon, 13 Oct 2008 13:20:10 +0000 (15:20 +0200)]
Share ndr_basic implementation.

10 years agoImport warning fixes from Samba 3.
Jelmer Vernooij [Mon, 13 Oct 2008 13:17:41 +0000 (15:17 +0200)]
Import warning fixes from Samba 3.

10 years agoImport changes from upstream libndr.
Jelmer Vernooij [Mon, 13 Oct 2008 13:01:28 +0000 (15:01 +0200)]
Import changes from upstream libndr.

10 years agoMove code specific to Samba 3 to a separate file.
Jelmer Vernooij [Mon, 13 Oct 2008 12:38:42 +0000 (14:38 +0200)]
Move code specific to Samba 3 to a separate file.

10 years agoImport debug macros from Samba 3's libndr.
Jelmer Vernooij [Mon, 13 Oct 2008 12:30:41 +0000 (14:30 +0200)]
Import debug macros from Samba 3's libndr.

10 years agoImport new enum values.
Jelmer Vernooij [Mon, 13 Oct 2008 12:09:10 +0000 (14:09 +0200)]
Import new enum values.

10 years agos3: fix another build warning.
Günther Deschner [Mon, 13 Oct 2008 10:32:44 +0000 (12:32 +0200)]
s3: fix another build warning.

Guenther

10 years agoFix bug 5691: SIGBUS on Solaris
Volker Lendecke [Tue, 7 Oct 2008 19:24:25 +0000 (21:24 +0200)]
Fix bug 5691: SIGBUS on Solaris

10 years agoUse DATA_BLOB instead of "struct data_blob".
Jelmer Vernooij [Mon, 13 Oct 2008 03:31:01 +0000 (05:31 +0200)]
Use DATA_BLOB instead of "struct data_blob".

10 years agoAdd data_blob_string_const_null() function that includes the terminating
Jelmer Vernooij [Mon, 13 Oct 2008 03:20:26 +0000 (05:20 +0200)]
Add data_blob_string_const_null() function that includes the terminating
null byte and use it in Samba 3.

This matches the behaviour prior to my data_blob changes.

10 years agofix build warnings.
Günther Deschner [Sun, 12 Oct 2008 22:40:57 +0000 (00:40 +0200)]
fix build warnings.

Guenther

10 years agos3: fix the build of registry.so gpext.
Günther Deschner [Sun, 12 Oct 2008 22:39:37 +0000 (00:39 +0200)]
s3: fix the build of registry.so gpext.

Guenther

10 years agoFix number of arguments for file_load() functions.
Jelmer Vernooij [Sun, 12 Oct 2008 17:46:38 +0000 (19:46 +0200)]
Fix number of arguments for file_load() functions.

10 years agoRemove Samba3/Samba4-specific bits.
Jelmer Vernooij [Sun, 12 Oct 2008 17:37:17 +0000 (19:37 +0200)]
Remove Samba3/Samba4-specific bits.

10 years agoFix other paths to binding.o.
Jelmer Vernooij [Sun, 12 Oct 2008 17:36:12 +0000 (19:36 +0200)]
Fix other paths to binding.o.

10 years agoIgnore generated but unused files.
Jelmer Vernooij [Sun, 12 Oct 2008 17:06:00 +0000 (19:06 +0200)]
Ignore generated but unused files.

10 years agoShare RPC binding string utility functions.
Jelmer Vernooij [Sun, 12 Oct 2008 17:05:46 +0000 (19:05 +0200)]
Share RPC binding string utility functions.

10 years agoRemove gencache in Samba 4 - it's unused and behind on the Samba 3
Jelmer Vernooij [Sun, 12 Oct 2008 16:36:36 +0000 (18:36 +0200)]
Remove gencache in Samba 4 - it's unused and behind on the Samba 3
version.

10 years agoMove zlib to top-level root.
Jelmer Vernooij [Sun, 12 Oct 2008 16:29:36 +0000 (18:29 +0200)]
Move zlib to top-level root.

10 years agoRemove unused json code.
Jelmer Vernooij [Sun, 12 Oct 2008 16:28:54 +0000 (18:28 +0200)]
Remove unused json code.

10 years agoMake util_tdb.h static since it is now used by Samba3.
Jelmer Vernooij [Sun, 12 Oct 2008 15:50:41 +0000 (17:50 +0200)]
Make util_tdb.h static since it is now used by Samba3.

10 years agoUse common util_file code.
Jelmer Vernooij [Sun, 12 Oct 2008 15:34:43 +0000 (17:34 +0200)]
Use common util_file code.

10 years agoMove nmblookup to same location as the rest of the NBT client library.
Jelmer Vernooij [Sun, 12 Oct 2008 15:34:28 +0000 (17:34 +0200)]
Move nmblookup to same location as the rest of the NBT client library.

10 years agoSync util_tdb implementations.
Jelmer Vernooij [Sun, 12 Oct 2008 14:53:17 +0000 (16:53 +0200)]
Sync util_tdb implementations.