summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Registry server LDB backend REG_SZ type: Always use UTF8 encodingMatthias Dieter Wallnöfer2008-10-211-2/+2
| | | | We should save data OS independent in the LDB files.
* Registry server LDB backend REG_SZ type: Fix up the empty string problemMatthias Dieter Wallnöfer2008-10-211-5/+15
| | | | This fixes up the empty string problem in a better way without the need of changing the character conversion code.
* Revert "Fix for the empty string (REG_SZ) problem"Matthias Dieter Wallnöfer2008-10-211-8/+0
| | | | | This reverts commit d994520885301f1dfd04363bab05c9238ce5ae05. This shouldn't be fixed in the general character conversion library but directly in the registry library.
* Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵Matthias Dieter Wallnöfer2008-10-212-5/+9
| | | | | | and "QueryValue") This prevents the server to segfault if the input data type is NULL.
* Revert "Registry server: Enhances commit "type" != NULL (when getting values)"Matthias Dieter Wallnöfer2008-10-211-2/+13
| | | | | This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9. This patch hasn't been right. Repost it in the right way.
* Registry server: Enhances commit "type" != NULL (when getting values)Matthias Dieter Wallnöfer2008-10-211-13/+2
|
* Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer2008-10-212-17/+11
| | | | doesn't has to be NULL
* Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"Matthias Dieter Wallnöfer2008-10-211-27/+23
| | | | | This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
* Registry server "reg_ldb_unpack_value": Let "data" pointer be NULLMatthias Dieter Wallnöfer2008-10-211-23/+27
| | | | Prevent segfaults in some client applications (e.g. regdiff)
* Registry server: Cosmetic correctionsMatthias Dieter Wallnöfer2008-10-211-23/+11
|
* Cleanups of server filesMatthias Dieter Wallnöfer2008-10-212-16/+21
| | | | Cosmetic corrections
* Registry server: More work to be compatibleMatthias Dieter Wallnöfer2008-10-212-30/+63
| | | | Some fixup's and assure, that we send only initialized values.
* ldb_get_value_by_id: Fix the return of the default valueMatthias Dieter Wallnöfer2008-10-211-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.
* reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"Matthias Dieter Wallnöfer2008-10-211-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".
* ldb_del_value: Free key data also when removing the default attributeMatthias Dieter Wallnöfer2008-10-211-4/+4
|
* Fixes for the WINREG RPC serverMatthias Dieter Wallnöfer2008-10-211-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.
* Fix for allowing the REG_BINARY type and introducing the default attributeMatthias Dieter Wallnöfer2008-10-211-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.
* Fix for the empty string (REG_SZ) problemMatthias Dieter Wallnöfer2008-10-211-0/+8
| | | | I enhanced the "utf8_push" function, who finally accepts now also the char sequence "" with length 1 as valid UTF8 string.
* blackbox: fix source => source4Stefan Metzmacher2008-09-146-7/+7
| | | | metze
*-. Merge Samba3 and Samba4 togetherStefan Metzmacher2008-09-147582-0/+2280432
|\ \
| | * Remove unecessary msync.Jeremy Allison2008-09-141-4/+0
| | | | | | | | | | | | | | | | | | Jeremy. (cherry picked from commit 0bae1ef3de8fda5e1e2d641b14a408e627396912) (This used to be commit db2acaf46fdc38078b6b28b68909e289f6c9e0ec)
| | * The msync manpage reports that msync *must* be called before munmap. Failure ↵Simo Sorce2008-09-142-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)
| | * Attempt to fix bug 5684Volker Lendecke2008-09-141-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)
| | * Fix warnings on SuSE 9.0.Stefan Metzmacher2008-09-141-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)
| | * Fix bug 5400Volker Lendecke2008-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2) (This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
| | * Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Stefan Metzmacher2008-09-141-4/+4
| | | | | | | | | | | | | | | | | | (partialy cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337) metze (This used to be commit d89b8fee5210c7b4d8fad24edea34f9732aec708)
| | * using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() ↵Yannick Bergeron2008-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | subroutine in lib/replace/replace.c (cherry picked from commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e) (This used to be commit 0d2fb0e280e497094a4c95f8dca1383ee1cfa982)
| | * Solve an IBM XL C/C++ compiler error encountered in get_exit_code() ↵Yannick Bergeron2008-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | auth_errors array initialization in client/smbspool.c (cherry picked from commit b45e7fabc64e699e4fa013ef15f98a004dae3f32) (This used to be commit 661f8e166118d257ab32a30392cd616db097bc4c)
| | * Fix typo.Karolin Seeger2008-09-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | retieve -> retrieve Karolin (partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08) metze (This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
| | * Correctly find a [u]int32_t replacementVolker Lendecke2008-09-141-6/+15
| | | | | | | | | | | | | | | | | | (cherry picked from commit 346375cda557a675f8f882ca2ae8edffec725a72) (cherry picked from commit 15a53945c9563b4517bd8b69a9bb0554eef5edff) (This used to be commit 46c3fc67e91bbdb820e4bddd085933a8570e504c)
| | * Fix replacement getpass. If we ^C at the prompt echo was left off.Jeremy Allison2008-09-141-5/+2
| | | | | | | | | | | | | | | | | | Jeremy. (cherry picked from commit e54c71954ae484fe4a4e195db33440490e78e256) (This used to be commit d61a86b8cdb4dd474611baadc61a0c37db0f8e62)
| | * rpc_server: don't send auth trailers in level connectStefan Metzmacher2008-09-132-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)
| | * librpc/rpc: don't send auth trailers in level connectStefan Metzmacher2008-09-131-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)
| | * rpc_server: correctly calculate the auth paddingStefan Metzmacher2008-09-131-3/+8
| | | | | | | | | | | | | | | metze (This used to be commit e82468a8f538aa0cf6d477fb54cc0178c0d64574)
| | * client free credentials when not needed anymoreStefan Metzmacher2008-09-131-0/+7
| | | | | | | | | | | | (This used to be commit d982b69df638f17da6af398e2613986240031064)
| | * Comment the delay write time tests so I know what they'reJeremy Allison2008-09-121-3/+41
| | | | | | | | | | | | | | | | | | testing. Jeremy. (This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
| | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into manpageJelmer Vernooij2008-09-121378-1836/+45
| | |\ | | | | | | | | | | | | (This used to be commit eff27744d3dcb4f6bcdf9bd03583bb38634c398d)
| | | * Remove ancient remains of first experimentations aboutSimo Sorce2008-09-124-1781/+0
| | | | | | | | | | | | | | | | | | | | supporting a schema (This used to be commit 53b57300c799a079b4d64815243fe6120e0a9fa2)
| | | * Fix spellings and file namesSimo Sorce2008-09-122-32/+32
| | | | | | | | | | | | | | | | (This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
| | | * rename packaging => packaging4Stefan Metzmacher2008-09-126-0/+0
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 42fffd1d1c7303afb4139734cdc0c909f81154b2)
| | | * add '4' to the end of some filesnamesStefan Metzmacher2008-09-126-0/+0
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 48578bd4925a675bf30d4f2452f147c3ee11154f)
| | | * rename swat => swat2, so that we don't conflict with samba3Stefan Metzmacher2008-09-121359-0/+0
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit bf852a3dbeee8900fa36978f08a5cdceabcbd926)
| | | * Fix failure to load the schema on read-only DB.Andrew Bartlett2008-09-121-23/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also tries to simplify the logic in the schema -> @ATTRIBUTES and @INDEXES code. Andrew Bartlett (This used to be commit a383b8bf88a5681f9c9c6839ba645c872a735051)
| | * | Revert "Add option for generating coverage data from python tests."Jelmer Vernooij2008-09-121-8/+0
| | |/ | | | | | | | | | | | | This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef. (This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
| | * Remove the complexity of transactions from the attributes-setting code.Andrew Bartlett2008-09-111-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think it is just too complex and error prone to init and cancel transactions during the module init code. Instead, this isn't prone to races as it will always achieve a steady state (eventually), and most cases will never do the write. Andrew Bartlett (This used to be commit d60977cc7f89f89f34187f310c91d1ab7db6ccf2)
| | * Make cn=aggregate output less pretty, by more like Win2008.Andrew Bartlett2008-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | I'm not sure if this fixes bug #5713, as this is not consistantly reproducably on my equipment. Andrew Bartlett (This used to be commit 02d6645efc84179efd652dd29ab32f62ae310147)
| | * Fix failures in the winbind struct-based test.Andrew Bartlett2008-09-114-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard... A better test (once we unify the winbind protocol with Samba3) would be a operation to see if you are on the priv pipe, and that will give acutal end-to-end testing. Andrew Bartlett (This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)
| | * Merge branch 'v4-0-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-09-093-3/+6
| | |\ | | | | | | | | | | | | | | | | | | | | v4-0-test (This used to be commit 7cd0977a28e9973ff71e9e0146fef6e6771a72b5)
| | | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-09-1012-66/+107
| | | |\ | | | | | | | | | | | | | | | (This used to be commit ed26195d0eda6dd1ca14508cfd31a48dde79d44f)
| | | * | Return the same privilaged winbindd socket as we actually use.Andrew Bartlett2008-09-103-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Andrew Bartlett (This used to be commit 2209787812fd9224d104f332e25d8ce64ef9ee95)