summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21Revert "Registry server LDB backend: Don't make copies of the same type"Jelmer Vernooij1-2/+2
The original data pointer may go away so we do want to make copies in this case. This reverts commit 625359b2e266105022309df8985720108ecd6f67.
2008-10-21Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrvJelmer Vernooij2001-187860/+50560
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c
2008-10-21Registry server LDB backend: Don't make copies of the same typeMatthias Dieter Wallnöfer1-2/+2
2008-10-21Registry server LDB backend REG_BINARY type: Save it directly in LDBMatthias Dieter Wallnöfer1-3/+5
With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string.
2008-10-21Registry RPC server: Reintroduce the "key" variable for better readabilityMatthias Dieter Wallnöfer1-22/+34
The "key" variable points to our working key in the hive (h->data).
2008-10-21Registry server LDB backend REG_SZ type: Always use UTF8 encodingMatthias Dieter Wallnöfer1-2/+2
We should save data OS independent in the LDB files.
2008-10-21Registry server LDB backend REG_SZ type: Fix up the empty string problemMatthias Dieter Wallnöfer1-5/+15
This fixes up the empty string problem in a better way without the need of changing the character conversion code.
2008-10-21Revert "Fix for the empty string (REG_SZ) problem"Matthias Dieter Wallnöfer1-8/+0
This reverts commit d994520885301f1dfd04363bab05c9238ce5ae05. This shouldn't be fixed in the general character conversion library but directly in the registry library.
2008-10-21Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵Matthias Dieter Wallnöfer2-5/+9
and "QueryValue") This prevents the server to segfault if the input data type is NULL.
2008-10-21Revert "Registry server: Enhances commit "type" != NULL (when getting values)"Matthias Dieter Wallnöfer1-2/+13
This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9. This patch hasn't been right. Repost it in the right way.
2008-10-21Registry server: Enhances commit "type" != NULL (when getting values)Matthias Dieter Wallnöfer1-13/+2
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-10-21Prevent warning about directory already existing.Jelmer Vernooij1-1/+1
2008-10-21Fix rpcecho test.Jelmer Vernooij1-2/+1
2008-10-21s3-build: fix the build.Günther Deschner1-2/+2
Guenther
2008-10-21s3-lsa-server: fix _lsa_GetUserName.Günther Deschner2-9/+23
Guenther
2008-10-20Remove the requirement for ldap call made as root. Add in securityJeremy Allison2-11/+63
checks for all SAMR calls. Jeremy.
2008-10-20Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison105-1843/+421
2008-10-20Fix warnings.Jeremy Allison5-32/+34
Jeremy.
2008-10-20s3-rpcclient: fix cmd_lsa build.Günther Deschner1-3/+1
Guenther
2008-10-20s3-build: re-run make samba3-idl.Günther Deschner5-63/+131
Guenther
2008-10-20idl: merge from s4 lsa.idl to s3.Günther Deschner2-33/+52
Guenther
2008-10-20Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij9-8/+12
Conflicts: source3/include/proto.h
2008-10-20Add source4/ to include path because librpc/gen_ndr is still in source?/Jelmer Vernooij2-1/+2
2008-10-20Fix a valgrind error in idmap_ad_sids_to_unixids()Volker Lendecke1-0/+2
We need to initialize all mappings in case we don't find anything. Simo, please check! Volker
2008-10-20s3-samr-server: be consistent when reporting we do password complexity.Günther Deschner1-0/+4
Guenther
2008-10-20Add missing prototypes for samba3-specific libndr/util.cJelmer Vernooij1-1/+10
2008-10-20Sync syntax of srvsvc.idl with samba3.Jelmer Vernooij1-5/+5
2008-10-20s3-build: no need to duplicate generated ndr_ prototypes.Günther Deschner4-1298/+3
Guenther
2008-10-20s3-build: no need to duplicate generated srv_ prototypes.Günther Deschner5-73/+3
Guenther
2008-10-20Include generated header files rather than using manually writtenJelmer Vernooij1-1577/+32
prototypes.
2008-10-20Move orpc to top-level directory.Jelmer Vernooij2-1/+1
2008-10-20Remove unused function str_list_match.Jelmer Vernooij1-13/+0
2008-10-20Move WMI support code to top-level.Jelmer Vernooij3-3/+1
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij78-86/+132
remove some unused functions.
2008-10-20Fix crypto test.Jelmer Vernooij1-1/+1
2008-10-20Import comments about opcodes from Samba 3.Jelmer Vernooij1-20/+20
2008-10-20Move discard_const hack to memory.hso it can be used by Samba 3.Jelmer Vernooij2-27/+25
2008-10-20Remove unused macro CONST_ADD.Jelmer Vernooij1-1/+0