summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer2-17/+11
doesn't has to be NULL
2008-10-21Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"Matthias Dieter Wallnöfer1-27/+23
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21Registry server "reg_ldb_unpack_value": Let "data" pointer be NULLMatthias Dieter Wallnöfer1-23/+27
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21Registry server: Cosmetic correctionsMatthias Dieter Wallnöfer1-23/+11
2008-10-21Cleanups of server filesMatthias Dieter Wallnöfer2-16/+21
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer2-30/+63
Some fixup's and assure, that we send only initialized values.
2008-10-21ldb_get_value_by_id: Fix the return of the default valueMatthias Dieter Wallnöfer1-14/+15
The return of the values of a certain key has been broken since I've introduced the default value. Now the behaviour is correct: If no default value exists, start with index zero to fetch the other values. Otherwise let zero be the default value and enumerate the others starting with one.
2008-10-21reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"Matthias Dieter Wallnöfer1-1/+1
It's better to use "CH_UNIX" for unpacking, because the system charset doesn't have to be UTF8 and we should be compatible with "reg_ldb_pack_value".
2008-10-21ldb_del_value: Free key data also when removing the default attributeMatthias Dieter Wallnöfer1-4/+4
2008-10-21Fixes for the WINREG RPC serverMatthias Dieter Wallnöfer1-28/+41
This changes the WINREG RPC server through some corrections into the Windows-like behaviour. Compared with Windows 2000 and tested through Windows 2000 Registry Editor.
2008-10-21Fix for allowing the REG_BINARY type and introducing the default attributeMatthias Dieter Wallnöfer1-45/+128
The REG_BINARY type is converted and stored in the LDB database as a leaf object with string-data. The default attribute is saved directly in the hive object as the "data"-string.
2008-10-21Fix for the empty string (REG_SZ) problemMatthias Dieter Wallnöfer1-0/+8
I enhanced the "utf8_push" function, who finally accepts now also the char sequence "" with length 1 as valid UTF8 string.
2008-09-14blackbox: fix source => source4Stefan Metzmacher6-7/+7
metze
2008-09-14Merge Samba3 and Samba4 togetherStefan Metzmacher7582-0/+2280432
2008-09-14lib/tdb: sync build system changes and python code from samba4Stefan Metzmacher16-415/+5308
metze (This used to be commit bdb8ed24488fd87cd30dd18744feeef0bd4b2c18)
2008-09-14Remove unecessary msync.Jeremy Allison1-4/+0
Jeremy. (cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912) (This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
2008-09-14The msync manpage reports that msync *must* be called before munmap. Failure ↵Simo Sorce2-2/+8
to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here. (cherry picked from commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956) (This used to be commit 8fd54bb55f0c23bd025d1719abcbe75c6a2ea8ac)
2008-09-14Attempt to fix bug 5684Volker Lendecke1-1/+1
With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for write-enabled transaction. Sadly, this also removed the possibility to ever remove dead records left over from tdb_delete calls within a transaction. Tridge, please check this! Did dde9f3f006 have any reason beyond performance optimizations? Thanks, Volker (cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497) (This used to be commit 1d85e0647e287d269b3f6b534da88f497d6f76c3)
2008-09-14lib/talloc: sync build system changes from samba4Stefan Metzmacher5-13/+27
metze (This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
2008-09-14Skip strcmp() on 2 NULL pointers.Andrew Bartlett1-1/+2
Andrew Bartlett (cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273) (This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
2008-09-14r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin1-3/+0
of thois. Thanks to metze for pointing this out (cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7) (This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
2008-09-14r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vStefan Metzmacher1-2/+5
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (partialy cherry picked from commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79) metze (This used to be commit 0073e41a0157ec43b944372671299b3e8a2b3cd5)
2008-09-14Update homepages for talloc, tdb and ldb subprojectsSimo Sorce3-34/+24
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758) (This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-09-14Adapt source code checkout information to git repo in talloc website.Michael Adam1-4/+5
Michael (cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef) (This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
2008-09-14Fix paths for talloc into unpacked directory (rsync commands).Michael Adam1-2/+2
Michael (cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88) (This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
2008-09-14Fix path to talloc guide. Noted by "teferi" on irc.Michael Adam1-1/+1
Michael (cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d) (This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
2008-09-14r25614: Add trivial tdb website.Jelmer Vernooij1-0/+44
(cherry picked from commit 6f88c41c31271fd4b634b6393dc4ca44563a88d2) (This used to be commit 830f99fb5d73c999bb0975828bab6e5f7537baf6)
2008-09-14Fix warnings on SuSE 9.0.Stefan Metzmacher1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (partialy cherry-picked 30d181c92463aecd6e649330d3645d86d5a17e43) metze (This used to be commit ad7ed33f786124e4afbba4330201a3a6463c6f73)
2008-09-14Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2) (This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
2008-09-14Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Stefan Metzmacher1-4/+4
(partialy cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337) metze (This used to be commit d89b8fee5210c7b4d8fad24edea34f9732aec708)
2008-09-14libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headersStefan Metzmacher1-2/+3
metze (partialy cherry picked from commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2) (This used to be commit f46a17b408f8c78ecdff724f29d97f8f268d5577)
2008-09-14using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() ↵Yannick Bergeron1-1/+1
subroutine in lib/replace/replace.c (cherry picked from commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e) (This used to be commit 0d2fb0e280e497094a4c95f8dca1383ee1cfa982)
2008-09-14Solve an IBM XL C/C++ compiler error encountered in get_exit_code() ↵Yannick Bergeron1-1/+2
auth_errors array initialization in client/smbspool.c (cherry picked from commit b45e7fabc64e699e4fa013ef15f98a004dae3f32) (This used to be commit 661f8e166118d257ab32a30392cd616db097bc4c)
2008-09-14Fix typo.Karolin Seeger2-2/+2
retieve -> retrieve Karolin (partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08) metze (This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
2008-09-14Correctly find a [u]int32_t replacementVolker Lendecke1-6/+15
(cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (cherry picked from commit 15a53945c9563b4517bd8b69a9bb0554eef5edff) (This used to be commit 46c3fc67e91bbdb820e4bddd085933a8570e504c)
2008-09-14Fix extra dash in command line flag.Jelmer Vernooij1-1/+1
(cherry picked from commit c823cfadb0b20a0782fc4a8a0b63dcb9116f82be) (This used to be commit 176d624376f7e450b34187778fc75d75679bdd0b)
2008-09-14Fix replacement getpass. If we ^C at the prompt echo was left off.Jeremy Allison1-5/+2
Jeremy. (cherry picked from commit e54c71954ae484fe4a4e195db33440490e78e256) (This used to be commit d61a86b8cdb4dd474611baadc61a0c37db0f8e62)
2008-09-13rpc_server: don't send auth trailers in level connectStefan Metzmacher2-89/+80
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit 2e3629719790e7631d9de383b565dc8a0997bcfb)
2008-09-13librpc/rpc: don't send auth trailers in level connectStefan Metzmacher1-113/+77
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit eca0502b8620f2110a303b84def4f0bf48cc4ea5)
2008-09-13rpc_server: correctly calculate the auth paddingStefan Metzmacher1-3/+8
metze (This used to be commit e82468a8f538aa0cf6d477fb54cc0178c0d64574)
2008-09-13client free credentials when not needed anymoreStefan Metzmacher1-0/+7
(This used to be commit d982b69df638f17da6af398e2613986240031064)
2008-09-12mount.cifs: make local versions of strlcat and strlcpy staticJeff Layton1-2/+2
...to silence -Wmissing-prototypes Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit fc7c71f15b39158ac58beaa90cc9038db680b8cb)
2008-09-12cifs.upcall: make most functions static and silence compiler warningsJeff Layton1-7/+11
...to silence -Wmissing-prototypes and some uninit'ed variable warnings. Thanks to GD for the extra-paranoid compiler flags. Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit f0ee2c145fa031f91c28a69a44b7652f18eea0f0)
2008-09-12Modify a comment to make things clearer.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 9d55ca85ffc73e3fa5fb9895fbcb1ee22f4e320d)
2008-09-12Comment the delay write time tests so I know what they'reJeremy Allison1-3/+41
testing. Jeremy. (This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
2008-09-12Factor out validate_smb_cryptoVolker Lendecke1-41/+53
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
2008-09-12Fix "make test" -- gna...Volker Lendecke1-1/+1
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
2008-09-12Add a more explaining commentVolker Lendecke1-1/+3
(This used to be commit edd70836daef340f21df3cb102144935f36e5c4c)
2008-09-12remove a pointless empty lineVolker Lendecke1-1/+0
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
2008-09-12Add a paranoia check on incoming PDUsVolker Lendecke1-0/+7
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)