summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-16Don't write out forward declarations for enums, as some compilers don'tJelmer Vernooij6-18/+2
seem to like it.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-683/+24
2008-12-16Fix header installation after move of gen_ndr headers.Jelmer Vernooij2-29/+29
2008-12-16Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin1-683/+24
segmentation fault (with NASBASIC server).
2008-12-17Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell237-5209/+2545
2008-12-17an experimental patch for fixing ldb bloatAndrew Tridgell3-9/+352
ldb indexing can cause huge files, and huge memory usage. This experiment allows us to keep indexes in memory during a transaction, then to write the indexes to disk when the transaction completes. The result is that the db is much smaller (we have seen improvements of about 100x in file size) and memory usage during large transactions is also greatly reduced Note that this patch uses the unusual strategy of putting pointers into a ldb (and thus into a tdb). This works because the pointers are only there during a transaction, so the pointers are not exposed to any other users of the database. The pointers allow us to avoid some really bad allocation problems with tdb record allocation during the re-indexing.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij5-15/+22
2008-12-16Use py_* files to check whether generated files are out of date / notJelmer Vernooij1-1/+1
present. ndr_*.c files are in git (required for Samba 3), py_*.c files are not.
2008-12-16Ignore generated files.Jelmer Vernooij1-0/+33
2008-12-16Remove ndrdump - it's available in merged build mode as bin/ndrdump4 and ↵Jelmer Vernooij2-503/+1
uses the exact same object files there.
2008-12-16Remove use of C++ keywords.Jelmer Vernooij2-6/+6
2008-12-16Share object files for gen_ndr.Jelmer Vernooij9-134/+522
2008-12-16commit b520befe6f51644d20434add9864d7a2fa30aa2eSATOH Fumiyasu2-12/+11
Author: SATOH Fumiyasu <fumiyas@osstech.co.jp> Date: Wed Dec 17 00:42:25 2008 +0900 libsmbclient: Fix SIGBUS on non-x86 CPUs We must align the struct smbc_dirent in the struct SMBC_internal_data because the struct smbc_dirent has numeric values that require alignment. Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
2008-12-16Make some fatal errors non-fatal. This means we generate invalid code inJelmer Vernooij2-4/+8
some cases, but we do print errors. We don't use all generated code yet at the moment, so this isn't much of a problem.
2008-12-16Fix [out] pointers in DCOM-related IDL files.Jelmer Vernooij2-9/+8
2008-12-16s3/s4: Fix "shadows a global declaration" warningTim Prouty1-1/+1
2008-12-16nss_winbind: Solaris 64-bit fix and...SATOH Fumiyasu2-2/+10
PATCH 1: Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit because sizeof(int) != sizeof(long int). PATCH 2: This patch fixes a compile-time warning "warning: implicit function declaration: _nss_winbind_initgroups_dyn". (cherry picked from commit cb036772d09227f870c2fec3ecd8c3f53787dfbc)
2008-12-16Remove pidl SWIG backend; the native Python one works much better, andJelmer Vernooij2-189/+1
that's also the best way to go for any other languages.
2008-12-16Simplify idl-deps.pl script a bit.Jelmer Vernooij1-15/+21
2008-12-16Only create (D)COM output files if there were COM objects in the IDL files.Jelmer Vernooij2-2/+11
2008-12-16Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij106-125/+274
Samba 3 and Samba 4 output.
2008-12-16s4/provision: Upper case default realm, use only first part of realm as ↵Jelmer Vernooij1-2/+2
default domain name.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-4/+4
2008-12-16Fix path to ndr_notify.c.Jelmer Vernooij1-1/+1
2008-12-16Move shared gen_ndr files to librpc/gen_ndr in the root.Jelmer Vernooij126-54/+54
At the moment these files are used just by Samba 3, but the next step will be using them from Samba 4 as well.
2008-12-16nsswitch: Fix paths for Samba4 blackbox wbinfo testKai Blin2-4/+4
2008-12-16Consider shared IDL files and Samba3-specific IDL files separately, allow ↵Jelmer Vernooij5-8/+9
overriding output directory.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij83-4593/+2177
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij21-70/+69
the dom_sid). No longer include it from security.idl.
2008-12-16docs: "acl compatibility" is a global parameter.Karolin Seeger1-1/+1
This fixes bug #5866. Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! Karolin
2008-12-16Ignore setup symlink.Jelmer Vernooij1-0/+1
2008-12-16Add an entry for the "check" command to the tdbtool manpage.Holger Hetterich1-0/+8
2008-12-16Added a simple tdb integrity check to tdbtool. The command "check" runs ↵Holger Hetterich1-1/+28
traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
2008-12-16nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin24-3078/+105
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin37-907/+898
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16docs: Remove comment about default backend.Karolin Seeger1-2/+2
Karolin
2008-12-16docs: Fix typo in the idmap_ad manpage.Karolin Seeger1-4/+4
Karolin
2008-12-16s3:net_status: use dbwrap to open sessionid.tdbStefan Metzmacher1-24/+20
metze
2008-12-15s3: Use DEBUGADD instead of DEBUG to avoid printing the headerDan Sledz2-28/+29
2008-12-15s3: Fix "differing signedness" build warningsTim Prouty1-1/+1
2008-12-15s3: Fix a few build warningsTim Prouty2-524/+891
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett12-22/+176
2008-12-16repack the ldb after re-indexingAndrew Tridgell1-0/+4
re-indexing in ldb is triggered on any modification to the @ATTRIBUTES or @INDEXLIST records. This happens to produce a worst-case fragmentation of the database, as all @INDEX records are deleted then re-created. By repacking after re-indexing we ensure that the database ends up without extreme fragmentation.
2008-12-16use transactions in ldbadd, ldbmodify and ldbeditAndrew Tridgell3-0/+30
The command line tools ldbadd, ldbmodify and ldbedit should operate within a transaction to make them more efficient. The ldbadd tool in particular is much faster when adding a large number of records if all the adds happen within a transaction. Previously there was a transaction per record.
2008-12-16imported the tdb_repack() code from CTDBAndrew Tridgell2-1/+93
The tdb_repack() function repacks a TDB so that it has a single freelist entry. The file doesn't shrink, but it does remove all freelist fragmentation. This code originated in the CTDB vacuuming code, but will now be used in ldb to cope with fragmentation from re-indexing
2008-12-16make tdbbackup use transactionsAndrew Tridgell1-6/+19
tdbbackup was originally written before we had transactions, and it attempted to use its own fsync() calls to make it safe. Now that we have transactions we can do it in a much safer (and faster!) fashion
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell214-4839/+28609
2008-12-16A more-commented version of rpc_server crash fix, matching closer theAndrew Bartlett1-1/+14
previous behaviour for the 'bad bind' case. (It is only close, not matching - Windows 2008 sends a different, non-zero, assoc_group_id each time) Andrew Bartlett
2008-12-16Add python extensions for dom_sid.Jelmer Vernooij2-2/+59
2008-12-15Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij4-25/+79