1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

63190 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
ce99f9e734 s4:web_server/wsgi.c - fix "asprintf" call 2010-05-28 10:04:48 +02:00
Matthias Dieter Wallnöfer
fe2a607640 s4:utils/ntlm_auth.c - fix "asprintf" calls 2010-05-28 10:04:48 +02:00
Matthias Dieter Wallnöfer
a64262697a s4:smbd/pidfile.c - fix "asprintf" calls 2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
67b2c424ce s4:scripting/python/modules.c - fix "asprintf" calls 2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
e831af7f07 s4:param/loadparm.c - fix "asprintf" call 2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
7a3a1cb5a7 s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf" 2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
69166d3ebb s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf" 2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
315ae8ae97 s4:libcli/clideltree.c - fix "asprintf"s 2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
2c325236be s4:regshell - fix an "asprintf" 2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
8ddb4f6c84 s4:regshell - don't use negative exit codes 2010-05-28 10:04:45 +02:00
Matthias Dieter Wallnöfer
3318459fdc s4:client/client.c - fix "asprintf"s
Fix the result values or change them into "talloc_asprintf"s where possible

see bug #6404
2010-05-28 10:04:45 +02:00
Andrew Bartlett
892a4b24e7 waf Read VERSION file inside WAF to set package version
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.

Andrew Bartlett
2010-05-28 15:20:03 +10:00
Günther Deschner
0ca8e2252b s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.
54 + 4 = 58 (and not 60).

Found by torture test.

Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
c5eeb0d155 s3-auth: fix c++ buildwarnings.
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
38d69ca547 s3-build: remove duplicate ndr_krb5pac.h inclusion.
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
6d194756e0 s3-build: use ndr_misc.h where needed.
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
66adb84e46 s3-build: only use ndr_samr.h where needed.
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
60079f59b0 s3-idl: fix some missing dependencies to other IDL files.
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
30eeb1e3d9 s3-rpc_client: move protos to init_netlogon.h
Guenther
2010-05-28 02:49:36 +02:00
Simo Sorce
f888c82fe0 s3:auth Add comment to clarify usage of session keys.
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
2010-05-27 20:40:22 -04:00
Simo Sorce
20fb373202 s3:auth remove login_server from server info
It is not used anymore, we have that information in
info3->base.logon_server already
2010-05-27 19:41:07 -04:00
Simo Sorce
3bb819581b Fix Out of memory checks
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
2010-05-27 19:23:54 -04:00
Simo Sorce
2a6a696e32 s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 01:20:09 +02:00
Simo Sorce
606be25ecf s3:auth Free sampass as soon as we have server_info
We don't keep sampass in server_info anymore
So it makes no sense to keep it around.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:56:02 +02:00
Simo Sorce
d9cffc01be s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Simo Sorce
6713f3d945 s3:auth add function to copy a netr_SamInfo3 structure
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:27 +02:00
Simo Sorce
605cfef56c s3:auth: add function to convert samu to netr_SamInfo3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:17 +02:00
Günther Deschner
667716d204 s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
Guenther
2010-05-28 00:22:40 +02:00
Günther Deschner
7803bcdae6 s4-smbtorture: remove obsolete handmarshalled rap code.
Guenther
2010-05-28 00:22:18 +02:00
Günther Deschner
82982bd480 s4-smbtorture: we can fully use autogenerated code to pull info unions now.
Guenther
2010-05-28 00:17:45 +02:00
Günther Deschner
7bcd9c5583 libndr: add support for relative_rap_convert.
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).

Guenther
2010-05-27 23:25:15 +02:00
Kai Blin
49a80fe671 s3-waf: Fix typo
Sorry for the noise
2010-05-27 22:45:13 +02:00
Kai Blin
21e8548c0a s3-waf: Also set "developer" env when building in developer mode 2010-05-27 22:42:59 +02:00
Volker Lendecke
abbf8efb24 s3: Fix a bad memleak in the async echo responder 2010-05-27 18:15:19 +02:00
Günther Deschner
eff13393b3 s3-waf: fix the build after tstream changes.
Guenther
2010-05-27 17:18:20 +02:00
Volker Lendecke
9b534ad145 s3: Remove an unused variable 2010-05-27 14:27:58 +02:00
Günther Deschner
869eed76e6 s3-lanman: use samr for api_RNetUserGetInfo.
Following MS-RAP 3.2.5.13 NetUserGetInfo Command.

Guenther
2010-05-27 13:37:40 +02:00
Günther Deschner
a1fc7aebfc s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.
Guenther
2010-05-27 13:37:28 +02:00
Holger Hetterich
dd895e526c vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-27 10:27:07 +02:00
Stefan Metzmacher
85a3853249 s3:rpc_server: make use of the npa_tstream code to connect to named pipes
This way we use the newest protocol, which is able to pass
the local and remote address of the SMB connection.

And we correctly support message mode named pipes
without the hack that analyzes the content for DCERPC pdus.

metze
2010-05-27 07:13:59 +02:00
Stefan Metzmacher
4afa54fd53 s3:Makefile.in: add npa_tstream.o to the build of smbd
metze
2010-05-27 07:13:58 +02:00
Stefan Metzmacher
9a6636a56e s3:rpc_server: pass down local and remote tsocket_address to np_open()
metze
2010-05-27 07:13:56 +02:00
Stefan Metzmacher
56ebbb53c8 s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes
metze
2010-05-27 07:13:55 +02:00
Stefan Metzmacher
9a77cb247d s3:rpc_server: add np_read_in_progress() function
metze
2010-05-27 07:13:53 +02:00
Stefan Metzmacher
8c0be92044 s3:rpc_server: make sure we don't send uninitialized memory for the named_pipe_auth handshake
metze
2010-05-27 07:13:52 +02:00
Günther Deschner
6a14dad13c s3-net: fix the build.
Guenther
2010-05-26 23:17:35 +02:00
Günther Deschner
66e9b8c888 s4-smbtorture: add usergetinfo to RAP-SAM.
Guenther
2010-05-26 22:58:36 +02:00
Günther Deschner
e94e13bd8d rap: use rap_LogonHours in rap_NetUserInfo11 as well.
Guenther
2010-05-26 22:55:45 +02:00
Günther Deschner
20f843b678 s3-waf: more work on krb5 build.
Guenther
2010-05-26 22:53:13 +02:00
Kai Blin
eb6d6114f3 s3-waf: Allow to build with kerberos support 2010-05-26 22:53:04 +02:00