Jeremy Allison
e850958928
Check all SMB_MALLOC returns correctly. Found by Andreas Moroder <andreas.moroder@gmx.net>.
...
Jeremy
2010-09-10 11:56:26 -07:00
Stefan Metzmacher
c91bdd2b0e
s3:torture: fix printf output, lines can't start with lower case "test"
...
metze
2010-09-10 17:21:33 +02:00
Stefan Metzmacher
a489fb3ee2
s3:torture: fix run_uid_regression_test
...
metze
2010-09-10 17:21:33 +02:00
Stefan Metzmacher
cd8e2fd9fa
s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED
...
metze
2010-09-10 17:21:32 +02:00
Günther Deschner
bf7ca3f5e7
s3-spoolss: Fix _spoolss_GetPrinter().
...
In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-)
Guenther
2010-09-10 17:11:12 +02:00
Andreas Schneider
fc1a5dbffb
s3-spoolss: Don't leak memory on the session counter list.
...
Thanks Günther, please check.
2010-09-10 16:10:46 +02:00
Simo Sorce
ed2c06f9da
s3-spoolss: Allow multiple client backchannels.
...
When we run spoolssd we need to support multiple clients connecting.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:04 +02:00
Simo Sorce
a736385b97
s3-spoolss: Split function to send notification.
...
More digestible this way.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:04 +02:00
Simo Sorce
9db2be245e
s3-spoolss: Use a single structure for all the back channel data.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Simo Sorce
433ac757dc
s3-spoolss: Rename Printer_entry to struct printer_handle.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Simo Sorce
4a8d042afa
s3-spoolss: Move Printer_entry to srv_spoolss_nt.c
...
It is used only there, and it is a good idea to make this one private and
opaque to the rest of the code.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Simo Sorce
e257e68b4b
s3-spoolss: Allocate printer entries on the pipe struct.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Simo Sorce
0e5b1a67d2
s3-spoolss: Rename session counter structure and use talloc.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Günther Deschner
c59961dd81
s3-dsgetdcname: cleanup receive_getdc_response a little.
...
Guenther
2010-09-10 13:21:41 +02:00
Günther Deschner
33fdf8dac2
s3-build: use proper RPC_X_OBJ target names.
...
Guenther
2010-09-10 13:20:13 +02:00
Günther Deschner
4577fb3163
s3-waf: use proper RPC_X_SRC names.
...
This allows to build using waf without --enable-developer and should also fix
support for rpc server modules.
Guenther
2010-09-10 13:20:13 +02:00
Günther Deschner
7b1efc7282
s3-build: only link LIBNDR_XATTR_OBJ where needed.
...
Guenther
2010-09-10 11:29:26 +02:00
Günther Deschner
32a1b21f1c
s3-waf: only link LIBNDR_XATTR_SRC where needed.
...
Guenther
2010-09-10 11:29:20 +02:00
Günther Deschner
a1392ee9a0
s3-build: link ndr_notify only where needed.
...
Guenther
2010-09-10 11:27:52 +02:00
Günther Deschner
b15ac83bda
s3-waf: link ndr_notify only where needed.
...
Guenther
2010-09-10 11:26:35 +02:00
Günther Deschner
ed239fc784
s3-build: link ndr_named_pipe_auth only where needed.
...
Guenther
2010-09-10 11:24:28 +02:00
Günther Deschner
f8b10a738c
s3-waf: link ndr_named_pipe_auth only where needed.
...
Guenther
2010-09-10 11:23:59 +02:00
Günther Deschner
26ea51c7ab
s3-spoolss: allow a short printername w/o servername.
...
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test.
Guenther
2010-09-10 00:31:27 +02:00
Jeremy Allison
718fd39f10
Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder <andreas.moroder@gmx.net>".
...
Jeremy.
2010-09-09 15:29:03 -07:00
Jeremy Allison
e6b85c2a7b
More paranoia to ensure SD's can't be set on read-only shares.
...
Jeremy.
2010-09-09 15:28:43 -07:00
Günther Deschner
9962462278
s3-selftest: rename printer "print4" to "lp".
...
This should trigger a false error condition in our code.
Guenther
2010-09-10 00:26:26 +02:00
Volker Lendecke
789a162989
s3: Ensure NULL termination for "workstation" in auth_crap
2010-09-09 14:26:28 -07:00
Günther Deschner
9f4c1a2a7b
s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.
...
Guenther
2010-09-09 23:14:08 +02:00
Volker Lendecke
18962ea385
s3: These assignments are overwritten immediately
...
Dump them
2010-09-09 14:08:23 -07:00
Günther Deschner
71b95703f9
s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
36d7efa75a
s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.
...
Couldn't find any reproducer for a short request, so removing it for now.
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
bfda968e07
s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
f002b7fa1b
s3-nmbd: handle source_name in one location in nmbd_process_logon().
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
5fc7d14b06
s3-nmbd: use nbt_netlogon_packet in process_logon_packet().
...
Guenther
2010-09-09 23:07:11 +02:00
Andreas Schneider
81e97c09c3
s3-printing: Make missing auth_serversupplied_info const.
2010-09-09 16:39:33 +02:00
Andreas Schneider
59c14282eb
s3-spoolss: Use systerm server_info for winreg connection.
...
This will ensure that we have the rights we need to access the regsitry.
2010-09-09 16:00:08 +02:00
Andreas Schneider
1c42bc3ad4
s3-spoolss: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
bbf2cd50b0
s3-printing: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
021539570b
s3-msdfs: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
0d9fa9e96f
s3-rpcint: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
669213e812
s3-auth: Added get_server_info_system function.
2010-09-09 16:00:07 +02:00
Andreas Schneider
cd2b9db04b
s3-spoolss: Fixed some build warnings.
2010-09-09 16:00:07 +02:00
Günther Deschner
f1aa9ebb08
s3-utils: remove unused variable in smbget.
...
Guenther
2010-09-09 11:11:04 +02:00
Volker Lendecke
eedf476c24
s3: Remove "mem_ctx" from a few functions
2010-09-09 06:19:25 +02:00
Volker Lendecke
eaf778593f
s3: Remove "mem_ctx" from wcache_save_creds()
2010-09-09 06:19:24 +02:00
Volker Lendecke
d38e1d13ea
s3: Remove "mem_ctx" from lookup_cached_name()
2010-09-09 06:19:24 +02:00
Volker Lendecke
c7d6e6f571
s3: Remove a nested if-statement
2010-09-09 06:19:24 +02:00
Volker Lendecke
6f1916524b
s3: Fill in workstation in winbindd_pam_auth_crap_send
2010-09-09 06:19:24 +02:00
Volker Lendecke
f506871538
s3: Fill in domain in winbindd_pam_auth_crap_send
2010-09-09 06:19:23 +02:00
Volker Lendecke
c2048db59d
s3: Remove redundant flag checks
...
We're checking these in the parent already (winbindd_pam_auth_send and
winbindd_pam_auth_crap_send). No point in doing it in the child as well
2010-09-09 06:19:23 +02:00