Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
5018fef8cb
Fix path for quicktest.
2008-10-22 04:05:22 +02:00
Jelmer Vernooij
e16e6e9cb0
Use standard types.
2008-10-22 03:41:24 +02:00
Jeremy Allison
4e9db0b100
Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.
...
Jeremy.
2008-10-21 18:05:48 -07:00
Jelmer Vernooij
f36e51617c
Don't include a (relative path) srcdir in samba4-data.mk.
2008-10-21 18:49:43 +02:00
Jelmer Vernooij
4ba0453c3c
Fix AC_SEARCH_LIBS_EXT() usage.
2008-10-21 18:33:38 +02:00
Jelmer Vernooij
8ac2da0d09
Allow running individual tests in the testsuite, normalize test names, fix some tests.
2008-10-21 18:26:46 +02:00
Jelmer Vernooij
e422f638bc
Use socket wrapper for selftest.pl, find binaries correctly.
2008-10-21 17:48:05 +02:00
Jelmer Vernooij
fe02004865
Specify skip list to selftest.pl, make make target depend on test
...
binaries.
2008-10-21 17:32:07 +02:00
Jelmer Vernooij
ecd293325c
Correctly report when merged-build is used in developer mode.
2008-10-21 17:23:48 +02:00
Jelmer Vernooij
59a6e534cd
Merge branch 'selftest' of git://git.samba.org/jelmer/samba
2008-10-21 17:19:23 +02:00
Jelmer Vernooij
d142444592
Merge branch 'master' of git://git.samba.org/samba
2008-10-21 16:58:35 +02:00
Jelmer Vernooij
d53ff689a3
Silence undefined variable warnings.
2008-10-21 16:45:09 +02:00
Jelmer Vernooij
ea4f764322
Remove unused global variables.
2008-10-21 16:33:25 +02:00
Jelmer Vernooij
8fe59b9b00
Automatically enable merged build (for more complete 'make test') when possible during developer builds.
2008-10-21 16:04:54 +02:00
Jelmer Vernooij
3678a98dcd
Remove duplicate searching of Samba 4 directory for tags.
2008-10-21 16:03:45 +02:00
Jelmer Vernooij
febd55b1bf
Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
2008-10-21 15:53:28 +02:00
Jelmer Vernooij
fdf0d9bbb8
Fix double free.
2008-10-21 15:51:04 +02:00
Jelmer Vernooij
19aec78aec
Fix the build.
2008-10-21 15:47:34 +02:00
Volker Lendecke
5cc4a84583
Fix two trivial typos
2008-10-21 15:29:40 +02:00
Andreas Schneider
24837959ed
Create a function out of pam_sm_close_session to delete the credentials.
...
This is the way the creds should be deleted. Now we have back a
close_session function which can be used for other things.
2008-10-21 15:26:39 +02:00
Andreas Schneider
e858cc2083
Delete the krb5 ccname variable from the PAM environment if set.
...
If winbind sets the KRB5CCNAME variable it should unset it when
the cache gets destroyed.
2008-10-21 15:26:39 +02:00
Andreas Schneider
95b13b313b
Set the right return value if wbc_status is set to an error.
2008-10-21 15:26:39 +02:00
Jelmer Vernooij
d4d4a9da83
Revert "Registry server LDB backend: Don't make copies of the same type"
...
The original data pointer may go away so we do want to make copies in
this case.
This reverts commit 625359b2e2
.
2008-10-21 14:57:41 +02:00
Jelmer Vernooij
5209a846a9
Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
...
Conflicts:
source4/lib/registry/ldb.c
source4/rpc_server/winreg/rpc_winreg.c
2008-10-21 14:51:13 +02:00
Matthias Dieter Wallnöfer
625359b2e2
Registry server LDB backend: Don't make copies of the same type
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
fcc93f68a0
Registry server LDB backend REG_BINARY type: Save it directly in LDB
...
With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string.
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
80af62652b
Registry RPC server: Reintroduce the "key" variable for better readability
...
The "key" variable points to our working key in the hive (h->data).
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
828b033345
Registry server LDB backend REG_SZ type: Always use UTF8 encoding
...
We should save data OS independent in the LDB files.
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
47868196b8
Registry server LDB backend REG_SZ type: Fix up the empty string problem
...
This fixes up the empty string problem in a better way without the need of changing the character conversion code.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
2a267e6da5
Revert "Fix for the empty string (REG_SZ) problem"
...
This reverts commit d994520885301f1dfd04363bab05c9238ce5ae05.
This shouldn't be fixed in the general character conversion library but directly in the registry library.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f10227958b
Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" and "QueryValue")
...
This prevents the server to segfault if the input data type is NULL.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f9d7af8569
Revert "Registry server: Enhances commit "type" != NULL (when getting values)"
...
This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9.
This patch hasn't been right. Repost it in the right way.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
254eb51c4c
Registry server: Enhances commit "type" != NULL (when getting values)
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
083785c091
Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" doesn't has to be NULL
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
c26cb44e03
Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"
...
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25.
Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
b23c3c24c2
Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL
...
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
5f2ab665bd
Registry server: Cosmetic corrections
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
ac4808c11f
Cleanups of server files
...
Cosmetic corrections
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
e23e997644
Registry server: More work to be compatible
...
Some fixup's and assure, that we send only initialized values.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f58f74949d
ldb_get_value_by_id: Fix the return of the default value
...
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-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
036b650ee4
reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"
...
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-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
1938cb1e83
ldb_del_value: Free key data also when removing the default attribute
2008-10-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
d7be73eea2
Fixes for the WINREG RPC server
...
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-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
ad778c00e7
Fix for allowing the REG_BINARY type and introducing the default attribute
...
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-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
16ab396d52
Fix for the empty string (REG_SZ) problem
...
I enhanced the "utf8_push" function, who finally accepts now also the char sequence "" with length 1 as valid UTF8 string.
2008-10-21 14:40:40 +02:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00
Jelmer Vernooij
6069407ed1
Fix rpcecho test.
2008-10-21 14:23:42 +02:00
Günther Deschner
9f46669871
s3-build: fix the build.
...
Guenther
2008-10-21 12:26:58 +02:00
Günther Deschner
b11f3a60fd
s3-lsa-server: fix _lsa_GetUserName.
...
Guenther
2008-10-21 11:39:45 +02:00