1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

16999 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
08953e44db Registry client: Remove all conversion helper functions 2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
4c7203367f Registry client library: Remove two elementar conversion functions 2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
5c3e76eddd Revert "Registry tool "regtree": Removing an error message"
This reverts commit f37a57fa366e2b0d77f9c1bd232d42a0f2cceb52.
2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
9038f2a0fd Torture suite: Fixes the tests to not segfault again SAMBA 4 registry server 2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
03e582cc86 Registry client: Fixup the "patchfile" library
Rework and enhance the "patchfile" library (used in "regdiff")
2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
f25f0dd744 Registry client: Implement the "winreg_QueryValue" call
This is needed for the registry patchfile library
2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
9b70485207 Registry client library: Use "talloc_zero" to avoid uninitialized values 2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
db829f04ad Registry tool "regdiff": Add the event context for remote connections
Adds the event context for remote connections to make the tool working again.
2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
04f29b84a4 Registry client library: Fixes the creation of new keys
Giving the right permissions
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
1e178ffc03 Registry client library: Fix some buffer problems
This buffer maximum values are used in Windows (2000), so I take them also for SAMBA 4.
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
c1fef1fabf Registry client library: Various fixup's and corrections
I reverted the change with the string conversions because they aren't needed and included
many fixup's and improvements in the code. We should be able now to connect to a Windows WINREG server
 without a problem.
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
92e1574d3d Registry tools "regshell" and "regtree": Small fixup's
I fixed up my fault regarding the handling of the default value (if it doesn't exist
it hasn't the index number zero and you get immediately the subvalues). Then I corrected an error in regshell to find the right registry context.
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
5bf6226050 Registry client: Various cleanups and charset conversions
This patch contains various changes to the "rpc.c" file to clean it up and introduces the right string charset conversions (UNIX <-> UTF16).
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
a2d8ccad73 Registry tool "regshell": Handle the default attribute in the right way
This commit introduces the default attribute in "regshell"
2008-09-21 23:17:58 +02:00
Matthias Dieter Wallnöfer
965a12f5b8 Registry tool "regtree": Removing an error message
The error message "Error occurred while fetching values" doesn't seem very useful, so remove it.
2008-09-21 23:17:58 +02:00
Matthias Dieter Wallnöfer
faa4ac2a52 Registry tool "regtree": Handle the default attribute in the right way
This commit introduces the default attribute in "regtree"
2008-09-21 23:17:58 +02:00
Jelmer Vernooij
afa850910f Avoid printing characters when in immediate mode. 2008-09-21 23:09:56 +02:00
Jelmer Vernooij
beee9debea Print status (one character per test) when not running selftest with --immediate. 2008-09-21 22:26:44 +02:00
Jelmer Vernooij
05ea5e23cf Revert "Rename smbd -> samba."
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21 21:32:40 +02:00
Jelmer Vernooij
236eb0694b Use absolute paths for wbinfo rather than relying on it being in PATH. 2008-09-21 21:29:13 +02:00
Jelmer Vernooij
0e9008be35 Rename smbd -> samba. 2008-09-21 21:26:40 +02:00
Jelmer Vernooij
bbfce1b43d Allow SWAT to be run outside of smbd. 2008-09-21 20:06:18 +02:00
Jelmer Vernooij
f3d513b378 Support POST requests again, provide more variables in environment. 2008-09-21 20:01:00 +02:00
Jelmer Vernooij
ef8d9f8a75 Make standard SWAT script print received headers. 2008-09-21 20:00:44 +02:00
Jelmer Vernooij
1ed040d8e2 First GET request works. SWAT now displays a Hello world message. 2008-09-21 19:03:12 +02:00
Jelmer Vernooij
4141e70da9 Properly call WSGI request handler when requests come in. 2008-09-21 18:45:09 +02:00
Jelmer Vernooij
1271066234 Remove support for ESP in the web server. 2008-09-21 16:53:29 +02:00
Jelmer Vernooij
fda85985e9 Remove some dependencies of the web server on esp. 2008-09-21 16:03:52 +02:00
Jelmer Vernooij
2df040d899 Add input / error stream objects in WSGI implementation. 2008-09-21 16:03:52 +02:00
Jelmer Vernooij
a4e8ff7429 Add more parts of the WSGI implementation. 2008-09-21 16:03:52 +02:00
Jelmer Vernooij
4bb17b60ef Add initial work on WSGI support in the web server. 2008-09-21 16:03:52 +02:00
Jelmer Vernooij
ef5a04485a Rename http to esp, in preparation of adding a python backend. 2008-09-21 16:03:52 +02:00
Jelmer Vernooij
da987d8fb4 No longer set PATH during selftest, was only required for smbscript. 2008-09-21 15:55:08 +02:00
Jelmer Vernooij
13c44dec54 Stop installing JS libraries. 2008-09-21 15:08:16 +02:00
Jelmer Vernooij
9f178f5b67 Fix last samba3sam.py test. 2008-09-21 05:21:56 +02:00
Jelmer Vernooij
db6bd2a3d6 Fix DNs - only one more samba3sam test failing now. 2008-09-21 03:42:27 +02:00
Jelmer Vernooij
442d31c7f6 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs 2008-09-21 02:32:19 +02:00
Jelmer Vernooij
0e2928f946 Don't expose ldb_request in the Python API but rather use regular
parameters.
2008-09-20 15:06:26 +02:00
Jelmer Vernooij
f63c83deef More code simplifications. 2008-09-20 14:35:21 +02:00
Simo Sorce
e42caab6f9 Fix ldb standalone build.
Add shared-build target to the ldb library, and make it possible to build
it against libtalloc, libevents, libtdb as shared libraries.
2008-09-19 18:08:28 -04:00
Simo Sorce
474de0f217 Fix libevents standalone build
Make sure to build against libtalloc.a and not individual talloc objects,
so that the library can be also built against libtalloc.so and use it as
a shared library instead of statically compiling talloc.
Also add shared-build target to the events library.
Useful to build multiple standalone libraries that depend on each other
without having to install them to the final install dir during the build.
2008-09-19 18:08:12 -04:00
Matthias Dieter Wallnöfer
8ac5db1246 LDAP Server: Don't create the SASL SECBLOB output object twice
Removes one "talloc" creation of the output object.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-09-19 16:33:47 +02:00
Matthias Dieter Wallnöfer
d173644f10 NTLMSSP Server: Correctly fills in the DNS server name and server domain
Don't rely on "get*" system calls but rather on SAMBA "lp_*" calls.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-09-19 16:33:30 +02:00
Jelmer Vernooij
163292f325 Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs 2008-09-19 16:26:00 +02:00
Jelmer Vernooij
acae07bc17 Add support for implementing LDB modules in Python. 2008-09-19 16:17:52 +02:00
Jelmer Vernooij
9e8881414b Fix dependencies for nbt python module. 2008-09-19 13:00:11 +02:00
Jelmer Vernooij
186d2d83cb Provide tdb.open and ldb.open python functions. 2008-09-19 12:47:52 +02:00
Jelmer Vernooij
3fbcc2149e Fix formatting. 2008-09-19 12:44:00 +02:00
Jelmer Vernooij
c7d069a483 Fix path to ndrdump in blackbox test, don't start smb server for ndrdump
tests.
2008-09-19 12:07:03 +02:00
Jelmer Vernooij
0c193b7a10 Simplify code, remove print statements. 2008-09-19 12:04:13 +02:00