Simo Sorce
ae02691200
tsocket: Improve the language in some parts of the guide.
2010-05-19 17:04:45 -04:00
Thomas Nagy
66cbc62961
s4-waf: Replace local includes in header files with proper system names.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-19 22:30:05 +02:00
Jeremy Allison
b0d7a3d123
Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
...
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.
Jeremy.
2010-05-19 10:36:39 -07:00
Jelmer Vernooij
ac9341245a
pynet: Raise proper exceptions rather than invoking sys.exit.
2010-05-19 19:35:22 +02:00
Stefan Metzmacher
d18fbda0d0
testprogs/win32: make it possible to specify MINGW_CC
...
metze
2010-05-19 13:59:45 +02:00
Stefan Metzmacher
4ce04f6f6f
testprogs/win32/spoolss: we don't need absolute pathes to mingw locations
...
metze
2010-05-19 13:58:26 +02:00
Stefan Metzmacher
38d1776c79
testprogs/win32/npecho: use 'rm -f' instead of 'del' on unix
...
metze
2010-05-19 13:57:04 +02:00
Stefan Metzmacher
d133ef997d
testprogs/win32: explain how to use nmake with NMakefile
...
metze
2010-05-19 13:56:54 +02:00
Stefan Metzmacher
64fa63c3e9
testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile
...
metze
2010-05-19 11:12:53 +02:00
Stefan Metzmacher
b00acc81fb
testprogs/win32/spoolss: rename Makefile => NMakefile
...
metze
2010-05-19 11:12:53 +02:00
Jeremy Allison
572e5dec1b
Implement missing info level SMB_FILE_LINK_INFORMATION.
...
Fix bug #7435 - SMB2 hardlink fails (invalid level).
Found at the Microsoft plugsharing plugfest.
Jeremy.
2010-05-18 18:34:54 -07:00
Jeremy Allison
c7982074a7
Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 spec required).
...
Jeremy.
2010-05-18 17:11:54 -07:00
Kamen Mazdrashki
ad9050a6ff
s4/drsuapi: Add another set of predefined ATTIDs
...
Very useful for debugging/dumping purposes
2010-05-19 02:49:05 +03:00
Kamen Mazdrashki
799eb535a9
s4/metadata: fix whitespaces
2010-05-19 02:49:05 +03:00
Kamen Mazdrashki
242b41a3d8
s4/selftest: fix passwords in selftest-vars script
2010-05-19 02:49:05 +03:00
Jeremy Allison
6a903078cb
Fix our NTLMSSP implementation against the Microsoft torture tester.
...
We need to return a version blob if we negotiate version info.
Jeremy.
2010-05-18 16:34:14 -07:00
Jeremy Allison
829c87634b
Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now).
...
It makes no sense to talloc off the null context, then talloc steal
into the required context - just talloc off the correct context, and
change data_blob() to pass in the null context to data_blob_talloc().
Jeremy.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:57:23 +02:00
Günther Deschner
f6f3bb1813
s3-passdb: move get_logon_hours_from_pdb() into samr server.
...
Guenther
2010-05-18 21:43:05 +02:00
Günther Deschner
8478770c35
s3-rpc_client: move protos to init_samr.h
...
Guenther
2010-05-18 21:42:57 +02:00
Günther Deschner
5a6f3a0666
s3-rpc_client: move protos to init_spoolss.h
...
Guenther
2010-05-18 21:42:48 +02:00
Günther Deschner
cc06133b0a
s3-rpc_client: move protos to cli_spoolss.h
...
Guenther
2010-05-18 21:42:45 +02:00
Günther Deschner
230b880d14
s3-rpc_client: move protos to cli_lsarpc.h
...
Guenther
2010-05-18 21:42:41 +02:00
Günther Deschner
5ed3654112
s3-rpc_client: move protos to cli_netlogon.h
...
Guenther
2010-05-18 21:42:37 +02:00
Günther Deschner
3f2719c202
s3-rpc_client: move protos to cli_samr.h
...
Guenther
2010-05-18 21:42:32 +02:00
Andrew Bartlett
7a8e34fe86
s3:split secrets.c to put machine account secrets in a new file
...
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:39:42 +02:00
Matthias Dieter Wallnöfer
1ffc65d462
s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME"
...
Obviously this isn't needed and in general site names shouldn't be hardcoded
anymore (except there is a good reason).
2010-05-18 17:22:35 +02:00
Andrew Bartlett
864a95fd9c
s3:winbind use no_srv_register to avoid needing rpc_srv_register
...
This pidl attribute avoids the need for this dummy function, which
helps s3compat.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 17:17:43 +02:00
Andrew Bartlett
f5f184a77c
pidl: Allow new property 'no_srv_register'.
...
This Samba-only property prevents pild from emitting the
rpc_wbint_init function, which causes problems because it needs
rpc_srv_register().
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 17:17:29 +02:00
Andreas Schneider
0953087f82
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 16:37:16 +02:00
Günther Deschner
20537d6516
s3-pidfile: set the close on exec flag for the created pidfiles.
...
Guenther
2010-05-18 16:16:19 +02:00
Simo Sorce
d6a73ad85b
s3-spoolss: Removed the Phantom DeviceMode.
...
This was a hack that required a special client from HP.
The client code has never been released and was discontinued,
so this code was just dead weight.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:52:28 +02:00
Günther Deschner
007b996267
s3-net: also dump security descriptors from ntprinters.tdb in "net printing dump".
...
Guenther
2010-05-18 15:34:02 +02:00
Matthieu Patou
a79b446e11
s4:smb_server: add dfs smbtorture to selftests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Matthieu Patou
fc94c50a9f
s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Matthieu Patou
90d768989c
s4:smb_server: fix trailling whitespace in trans2.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:13 +02:00
Matthieu Patou
9f01e7af6b
s4 torture: Add tests for dfs referrals handling in SMB/trans2 requests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:13 +02:00
Matthieu Patou
0e4e39c7f5
s4 torture test: Adapt ndr-dfsblobs torture test to new idl
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:12 +02:00
Matthieu Patou
970cbad79a
librpc/idl: fix errors and improve idl in dfsblobs
...
Fix problems between strings and nstring
Allow get_deferral parameters to be used by ndr_push/pull_blobs
Handle correctly the 16 bytes padding
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:12 +02:00
Stefan Metzmacher
6f264106a4
s4:librpc: fix the autoconf build
...
metze
2010-05-18 15:31:11 +02:00
Stefan Metzmacher
9b9def0d72
s4:dynconfig: let the autoconf build compile again
...
metze
2010-05-18 15:31:11 +02:00
Andreas Schneider
4108728b7e
s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:18:30 +02:00
Andreas Schneider
7d363b8922
s3-spoolss: Create a spoolss_map_to_os2_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:17:23 +02:00
Andreas Schneider
a3b81a908c
s3-spoolss: Use better names for set_last_from_to.
...
Use set_driver_mapping() and get_win_driver(), get_os2_driver().
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:16:55 +02:00
Günther Deschner
9bbf761bfe
s3-net: Added a rather trivial "net printing dump" command.
...
Guenther
2010-05-18 15:06:17 +02:00
Andreas Schneider
f3063d9254
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:05:58 +02:00
Andreas Schneider
4bc46e0f27
s3-spoolss: Sorted the builtin forms alphabetically.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:05:42 +02:00
Günther Deschner
d4474ba470
s3-secdesc: use SD_REVISION from security.idl.
...
Guenther
2010-05-18 12:52:18 +02:00
Günther Deschner
a531537341
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
...
Guenther
2010-05-18 12:51:35 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00