ira/wip.git
15 years agoFix building the common libcli/samsync code
Andrew Bartlett [Thu, 16 Apr 2009 00:17:34 +0000 (10:17 +1000)]
Fix building the common libcli/samsync code

15 years agoFix Samba4 build errors with common libcli/samsync
Andrew Bartlett [Thu, 16 Apr 2009 00:17:17 +0000 (10:17 +1000)]
Fix Samba4 build errors with common libcli/samsync

15 years agos3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.
Günther Deschner [Wed, 15 Apr 2009 23:42:35 +0000 (01:42 +0200)]
s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.

LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED.

Guenther
(cherry picked from commit 1c9266c8caa59e287b993393b6050732a0b33547)

15 years agoFix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
Jeremy Allison [Wed, 15 Apr 2009 22:40:00 +0000 (15:40 -0700)]
Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
What a difference a name makes... :-). Just because something is missnamed
SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.

15 years agos4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.
Günther Deschner [Wed, 15 Apr 2009 20:47:15 +0000 (22:47 +0200)]
s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.

Also disable security descriptor based tests while testing samba3.

Guenther

15 years agos3-examples: make sure to match correct key name in adssearch.
Günther Deschner [Wed, 15 Apr 2009 15:07:48 +0000 (17:07 +0200)]
s3-examples: make sure to match correct key name in adssearch.

Guenther

15 years agos4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.
Günther Deschner [Tue, 14 Apr 2009 21:30:13 +0000 (23:30 +0200)]
s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.

Guenther

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge...
Andrew Bartlett [Wed, 15 Apr 2009 04:36:13 +0000 (14:36 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge-without-netlogond

15 years agoAdd missing header, remove generated header
Andrew Bartlett [Wed, 15 Apr 2009 04:23:33 +0000 (14:23 +1000)]
Add missing header, remove generated header

(This isn't a rename, honest :-)

15 years agocommon:libcli/auth Add missing samsync config.mk
Andrew Bartlett [Wed, 15 Apr 2009 04:00:24 +0000 (14:00 +1000)]
common:libcli/auth Add missing samsync config.mk

15 years agoEnable software rollout through AD
Matthias Dieter Wallnöfer [Tue, 14 Apr 2009 00:08:42 +0000 (10:08 +1000)]
Enable software rollout through AD

This enables the sofware rollout feature in Samba4

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
15 years agoEnsure a tls key is only generated once - wrap create & destroy in a mutex.
Jeremy Allison [Tue, 14 Apr 2009 22:19:39 +0000 (15:19 -0700)]
Ensure a tls key is only generated once - wrap create & destroy in a mutex.
Change the function names to add _once to the tls_create & tls_destroy to
make this obvious.
Jeremy.

15 years agos3-spoolss: Fix format of description string in spoolss_PrinterInfo1.
Günther Deschner [Tue, 14 Apr 2009 21:19:25 +0000 (23:19 +0200)]
s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.

This is what windows does and should get us closer to show the appropriate
printer location string in explorer.

Guenther

15 years agonetdomjoin-gui: make sure to grey out change fields when not running as root.
Günther Deschner [Tue, 14 Apr 2009 20:39:36 +0000 (22:39 +0200)]
netdomjoin-gui: make sure to grey out change fields when not running as root.

Guenther

15 years agoTry and fix the S4 build - include thread includes.
Jeremy Allison [Tue, 14 Apr 2009 20:02:29 +0000 (13:02 -0700)]
Try and fix the S4 build - include thread includes.
Jeremy.

15 years agoMake talloc_stack threadsafe using TLS. Volker please
Jeremy Allison [Tue, 14 Apr 2009 19:23:22 +0000 (12:23 -0700)]
Make talloc_stack threadsafe using TLS. Volker please
check. Passes make test and basic valgrind testing.
Jeremy.

15 years agolibwbclient: Fix undocumented arguments doxygen warnings.
Günther Deschner [Tue, 14 Apr 2009 14:27:05 +0000 (16:27 +0200)]
libwbclient: Fix undocumented arguments doxygen warnings.

Guenther
(cherry picked from commit f2b3fbf0c04a6f9484853da263174a472eb6bb6d)

15 years agos3-nsswitch: fix make test_wbpad.
Günther Deschner [Tue, 14 Apr 2009 12:55:24 +0000 (14:55 +0200)]
s3-nsswitch: fix make test_wbpad.

Guenther

15 years agosocket_wrapper: fix the build on systems without ipv6 support
Stefan Metzmacher [Tue, 14 Apr 2009 10:45:48 +0000 (12:45 +0200)]
socket_wrapper: fix the build on systems without ipv6 support

metze

15 years agos4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.
Günther Deschner [Tue, 14 Apr 2009 10:10:22 +0000 (12:10 +0200)]
s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.

Guenther

15 years agos3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().
Günther Deschner [Tue, 14 Apr 2009 10:08:55 +0000 (12:08 +0200)]
s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().

Make sure we are not copying more than what we have as valid data.

Fix from Jeremy. Thanks a lot for watching this so closely!

Guenther

15 years agos3-spoolss: remove unused dup_nt_devicemode().
Günther Deschner [Tue, 14 Apr 2009 10:00:39 +0000 (12:00 +0200)]
s3-spoolss: remove unused dup_nt_devicemode().

Guenther

15 years agos4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.
Günther Deschner [Mon, 13 Apr 2009 23:08:23 +0000 (01:08 +0200)]
s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.

Guenther

15 years agos3: Fix ntlm_auth and winbindd to use new common libcli/auth APIs
Andrew Bartlett [Tue, 14 Apr 2009 09:33:04 +0000 (19:33 +1000)]
s3: Fix ntlm_auth and winbindd to use new common libcli/auth APIs

15 years agoRework to use new API for common netlogon credential chaining
Andrew Bartlett [Thu, 9 Apr 2009 04:26:04 +0000 (14:26 +1000)]
Rework to use new API for common netlogon credential chaining

15 years agoLink in the common samsync decryption code
Andrew Bartlett [Thu, 9 Apr 2009 04:25:50 +0000 (14:25 +1000)]
Link in the common samsync decryption code

15 years agolibcli/auth Push schannel check into common libcli/auth
Andrew Bartlett [Thu, 9 Apr 2009 04:22:04 +0000 (14:22 +1000)]
libcli/auth Push schannel check into common libcli/auth

This means we have a single choke point to ensure the remote client is
using schannel.

Andrew Bartlett

15 years agoMake Samba3 use the new common libcli/auth code
Andrew Bartlett [Mon, 6 Apr 2009 12:56:13 +0000 (22:56 +1000)]
Make Samba3 use the new common libcli/auth code

This is particuarly in the netlogon client (but not server at this
stage)

15 years agoRework Samba4 to use the new common libcli/auth code
Andrew Bartlett [Mon, 6 Apr 2009 12:54:44 +0000 (22:54 +1000)]
Rework Samba4 to use the new common libcli/auth code

In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.

Andrew Bartlett

15 years agoRework netlogon credentials for the top level
Andrew Bartlett [Mon, 6 Apr 2009 12:53:01 +0000 (22:53 +1000)]
Rework netlogon credentials for the top level

This makes constructor functions that return the allocated structure,
rather than having the caller pass them in, and makes the server init
function also check the first credential.

The rename of creds_ to netlogon_creds should make it more clear what
this code works with.

Andrew Bartlett

15 years agoPush schannel_state.c into the top level.
Andrew Bartlett [Mon, 6 Apr 2009 12:51:32 +0000 (22:51 +1000)]
Push schannel_state.c into the top level.

This is the server side state for netlogon credential chaining

Andrew Bartlett

15 years agoUse common samsync delta decryption functions in libnet_samsync.c
Andrew Bartlett [Fri, 27 Mar 2009 01:16:17 +0000 (12:16 +1100)]
Use common samsync delta decryption functions in libnet_samsync.c

Andrew Bartlett

15 years agoMore work to adapt to merged libcli/auth function prototypes
Andrew Bartlett [Tue, 17 Mar 2009 09:08:31 +0000 (20:08 +1100)]
More work to adapt to merged libcli/auth function prototypes

15 years agoAdapt to common crypto functions: sam_pwd_hash() -> sam_rid_crypt()
Andrew Bartlett [Tue, 17 Mar 2009 09:06:46 +0000 (20:06 +1100)]
Adapt to common crypto functions: sam_pwd_hash() -> sam_rid_crypt()

15 years agolibcli/auth Don't compile against un-needed Samba4 headers
Andrew Bartlett [Tue, 17 Mar 2009 09:03:32 +0000 (20:03 +1100)]
libcli/auth Don't compile against un-needed Samba4 headers

15 years agoPort Samba4 to the new combined libcli/auth functions
Andrew Bartlett [Tue, 17 Mar 2009 03:03:02 +0000 (14:03 +1100)]
Port Samba4 to the new combined libcli/auth functions

For example, some of the new shared functionality was previously in the wkssvc
torture test.

Andrew Bartlett

15 years agoMove ntlm_check.h into the common libcli/auth
Andrew Bartlett [Mon, 16 Mar 2009 23:02:45 +0000 (10:02 +1100)]
Move ntlm_check.h into the common libcli/auth

15 years agoRework Samba3 to use new libcli/auth code (partial)
Andrew Bartlett [Mon, 16 Mar 2009 10:27:58 +0000 (21:27 +1100)]
Rework Samba3 to use new libcli/auth code (partial)

This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).

We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server

Andrew Bartlett

15 years agoMerge smbencrypt.c between Samba3 and Samba4
Andrew Bartlett [Mon, 16 Mar 2009 10:19:10 +0000 (21:19 +1100)]
Merge smbencrypt.c between Samba3 and Samba4

15 years agoRework trivial msrpc parser to use convert_string_talloc()
Andrew Bartlett [Mon, 16 Mar 2009 10:17:29 +0000 (21:17 +1100)]
Rework trivial msrpc parser to use convert_string_talloc()

Also avoid still string conversions when trying to match NTLMSSP in
the header of the NTLMSSP packet.

This also changes a few things to avoid const warnings.

Andrew Bartlett

15 years agoMove MSRPC-PARSE into the common libcli/auth
Andrew Bartlett [Mon, 16 Mar 2009 07:08:15 +0000 (18:08 +1100)]
Move MSRPC-PARSE into the common libcli/auth

This is a depenceny of smbencrypt.c

15 years agoMove DRSUAPI per-attribute decryption into a common file
Andrew Bartlett [Mon, 16 Mar 2009 04:20:28 +0000 (15:20 +1100)]
Move DRSUAPI per-attribute decryption into a common file

This file (contining metze's decryption routines) is now also be used by
Samba3's DRSUAPI implementation

Andrew Bartlett

15 years agoMove libcli/auth to the top level
Andrew Bartlett [Mon, 16 Mar 2009 02:26:38 +0000 (13:26 +1100)]
Move libcli/auth to the top level

15 years agos3:charcnv remove now unused malloc() based conversion functions
Andrew Bartlett [Wed, 18 Mar 2009 06:36:35 +0000 (17:36 +1100)]
s3:charcnv remove now unused malloc() based conversion functions

15 years agoAdd some harmless use of talloc_tos() in ntlm_auth
Andrew Bartlett [Tue, 14 Apr 2009 02:43:34 +0000 (12:43 +1000)]
Add some harmless use of talloc_tos() in ntlm_auth

15 years agoConvert Samba3 to use the common lib/util/charset API
Andrew Bartlett [Thu, 19 Mar 2009 01:20:11 +0000 (12:20 +1100)]
Convert Samba3 to use the common lib/util/charset API

This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API

To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c

(the actual implementation remains distinct, but the API is now shared)

Andrew Bartlett

15 years agoSolve some of the conflict between Samba3 and Samba4 push_string
Andrew Bartlett [Tue, 17 Mar 2009 03:04:43 +0000 (14:04 +1100)]
Solve some of the conflict between Samba3 and Samba4 push_string

This renames push_string in Samba3 into push_string_base and
push_string_check for the two different use cases.

This should allow push_string to be imported from Samba4, using it's
calling conventions.

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Andrew Bartlett [Tue, 14 Apr 2009 00:55:53 +0000 (10:55 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel

15 years agos4:ldb Make it possible to re-run ldap.py again
Andrew Bartlett [Tue, 14 Apr 2009 00:52:33 +0000 (10:52 +1000)]
s4:ldb Make it possible to re-run ldap.py again

The parentGUID test didn't clean up after itself correctly.

Andrew Bartlett

15 years agos3-rpcclient: add set_job command.
Günther Deschner [Mon, 13 Apr 2009 21:11:23 +0000 (23:11 +0200)]
s3-rpcclient: add set_job command.

Guenther

15 years agos4-smbtorture: fix two valgrind warnings.
Günther Deschner [Mon, 13 Apr 2009 18:44:19 +0000 (20:44 +0200)]
s4-smbtorture: fix two valgrind warnings.

Guenther

15 years agos4-smbtorture: disable test_SecondaryClosePrinter when running against s3 for now.
Günther Deschner [Mon, 13 Apr 2009 15:06:37 +0000 (17:06 +0200)]
s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 for now.

Guenther

15 years agos4-smbtorture: move test_ReplyOpenPrinter from RPC-SPOOLSS to RPC-SPOOLSS-NOTIFY.
Günther Deschner [Mon, 13 Apr 2009 15:05:12 +0000 (17:05 +0200)]
s4-smbtorture: move test_ReplyOpenPrinter from RPC-SPOOLSS to RPC-SPOOLSS-NOTIFY.

Guenther

15 years agos3-spoolss: fix typo in fill_printer_driver_info3().
Günther Deschner [Mon, 13 Apr 2009 21:40:46 +0000 (23:40 +0200)]
s3-spoolss: fix typo in fill_printer_driver_info3().

Guenther

15 years agos3-loadparm: Fix resume command typo for "printing = vlp".
Günther Deschner [Mon, 13 Apr 2009 15:03:46 +0000 (17:03 +0200)]
s3-loadparm: Fix resume command typo for "printing = vlp".

Guenther

15 years agos3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.
Günther Deschner [Mon, 13 Apr 2009 13:20:47 +0000 (15:20 +0200)]
s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.

Found by smbtorture test.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 13 Apr 2009 14:02:02 +0000 (16:02 +0200)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: add spoolss_DriverAttributes bitmask.
Günther Deschner [Mon, 13 Apr 2009 14:01:30 +0000 (16:01 +0200)]
spoolss: add spoolss_DriverAttributes bitmask.

Guenther

15 years agos3-spoolss: use enumprinterdrivers_level() for level 3 enum.
Günther Deschner [Mon, 13 Apr 2009 13:42:32 +0000 (15:42 +0200)]
s3-spoolss: use enumprinterdrivers_level() for level 3 enum.

Guenther

15 years agos3-spoolss: use enumprinterdrivers_level() for level 2 enum.
Günther Deschner [Mon, 13 Apr 2009 13:40:39 +0000 (15:40 +0200)]
s3-spoolss: use enumprinterdrivers_level() for level 2 enum.

Guenther

15 years agos3-spoolss: use enumprinterdrivers_level() for level 1 enum.
Günther Deschner [Mon, 13 Apr 2009 13:31:52 +0000 (15:31 +0200)]
s3-spoolss: use enumprinterdrivers_level() for level 1 enum.

Guenther

15 years agos3-spoolss: add generic enumprinterdrivers_level function.
Günther Deschner [Mon, 13 Apr 2009 13:27:55 +0000 (15:27 +0200)]
s3-spoolss: add generic enumprinterdrivers_level function.

Guenther

15 years agos4-smbtorture: use printerinfo level 1 name, not description in
Günther Deschner [Mon, 13 Apr 2009 12:48:32 +0000 (14:48 +0200)]
s4-smbtorture: use printerinfo level 1 name, not description in
test_EnumPrinters_old().

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 13 Apr 2009 12:16:04 +0000 (14:16 +0200)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fix order of strings in PrinterInfo1 structs.
Günther Deschner [Mon, 13 Apr 2009 12:15:21 +0000 (14:15 +0200)]
spoolss: fix order of strings in PrinterInfo1 structs.

Guenther

15 years agoUse convert_string_talloc, thanks Andrew!
Volker Lendecke [Mon, 13 Apr 2009 07:29:32 +0000 (09:29 +0200)]
Use convert_string_talloc, thanks Andrew!

15 years agoWe have to deny a level 2 oplock if kernel oplocks are enabled
Volker Lendecke [Wed, 8 Apr 2009 06:29:23 +0000 (08:29 +0200)]
We have to deny a level 2 oplock if kernel oplocks are enabled

The second r/o opener of a file is supposed to get a level2 oplock. The first
opener due to the protection in process_oplock_break_message() has been forced
to break to no oplock. The second opener according to locking.tdb gets a level2
oplock. Further down in open_file_ntcreate we try to set this level2 oplock in
the kernel, and the non-clustered Linux kernel disallows this. The rules for
the kernel leases are a bit baroque, but the attempt to do the SETLEASE
correctly fails and we end up with no oplock for any client.

In the clustered case however the linux kernel on the second opening node has
not seen the open fd of the first node, it is only the cluster fs that has this
information. If the cluster fs does not have the very same notion of leases as
the local kernel has, we can end up with a WRLCK style kernel lease for the
second opener where locking.tdb only indicates a level2 oplock. Getting a
kernel oplock break signal with just a level2 oplock in locking.tdb is
something smbd is not prepared for. For example after sending out the break in
response to the kernel signal we set a timeout, waiting for a reply.

More work needs to be done to make level2 kernel oplocks real for us. This
patch addresses a real problem we have right now without them.

15 years agoFix a bug in smbclient not sending the correct called name
Volker Lendecke [Sun, 12 Apr 2009 10:52:42 +0000 (12:52 +0200)]
Fix a bug in smbclient not sending the correct called name

Jeremy, I think the ability to say

smbclient //foo/bar -I <ip-address> -p 139

making the called name to "foo" got lost with 3d2d0203. Was this removed
deliberately? If so, please revert this patch. If not, please merge
appropriately.

Thanks,

Volker

15 years agoAdd "netbios retarget"
Volker Lendecke [Sun, 12 Apr 2009 12:31:53 +0000 (14:31 +0200)]
Add "netbios retarget"

This is fun -- XP still does this :-)

netbios retarget : foo = 192.168.234.10:1139

and if you connect to port 139 name foo, XP will happily do SMB over 1139

15 years agoReactivate get_socket_port
Volker Lendecke [Sun, 12 Apr 2009 12:25:02 +0000 (14:25 +0200)]
Reactivate get_socket_port

15 years agowrite_data already guarantees everything was written
Volker Lendecke [Sun, 12 Apr 2009 12:05:58 +0000 (14:05 +0200)]
write_data already guarantees everything was written

15 years agoExtract and print the server name type the client connects to
Volker Lendecke [Sun, 12 Apr 2009 09:59:18 +0000 (11:59 +0200)]
Extract and print the server name type the client connects to

15 years agoFix some nonempty blank lines
Volker Lendecke [Thu, 9 Apr 2009 13:51:35 +0000 (15:51 +0200)]
Fix some nonempty blank lines

15 years agoFix a memleak in an unlikely error path in change_notify_create()
Volker Lendecke [Thu, 9 Apr 2009 09:40:08 +0000 (11:40 +0200)]
Fix a memleak in an unlikely error path in change_notify_create()

15 years agoUse talloc_tos() for a temp convert_string_allocate()
Volker Lendecke [Thu, 9 Apr 2009 09:36:45 +0000 (11:36 +0200)]
Use talloc_tos() for a temp convert_string_allocate()

15 years agoLink in the threads functions, not yet used.
Jeremy Allison [Fri, 10 Apr 2009 21:45:45 +0000 (14:45 -0700)]
Link in the threads functions, not yet used.
Jeremy.

15 years agos4:rpc_server: split out the parsing of the ncacn_packet from analyzing of the content
Stefan Metzmacher [Tue, 7 Apr 2009 12:37:05 +0000 (14:37 +0200)]
s4:rpc_server: split out the parsing of the ncacn_packet from analyzing of the content

metze

15 years agos4:rpc_server: report available output for all replies
Stefan Metzmacher [Tue, 7 Apr 2009 19:02:55 +0000 (21:02 +0200)]
s4:rpc_server: report available output for all replies

metze

15 years agosocket_wrapper: fix crash bug in swrap_readv/writev
Stefan Metzmacher [Wed, 8 Apr 2009 17:08:34 +0000 (19:08 +0200)]
socket_wrapper: fix crash bug in swrap_readv/writev

metze

15 years agos3-spoolss: implement dummy _spoolss_AddPort().
Günther Deschner [Fri, 10 Apr 2009 01:28:49 +0000 (03:28 +0200)]
s3-spoolss: implement dummy _spoolss_AddPort().

Guenther

15 years agos3-spoolss: add support for level 8 in _spoolss_GetPrinter().
Günther Deschner [Fri, 10 Apr 2009 01:28:17 +0000 (03:28 +0200)]
s3-spoolss: add support for level 8 in _spoolss_GetPrinter().

Guenther

15 years agos3-eventlog: implement _eventlog_FlushEventLog().
Günther Deschner [Wed, 8 Apr 2009 16:32:06 +0000 (18:32 +0200)]
s3-eventlog: implement _eventlog_FlushEventLog().

Guenther

15 years agos3-eventlog: implement _eventlog_GetLogInformation().
Günther Deschner [Wed, 8 Apr 2009 16:31:32 +0000 (18:31 +0200)]
s3-eventlog: implement _eventlog_GetLogInformation().

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 8 Apr 2009 18:34:24 +0000 (20:34 +0200)]
s3: re-run make samba3-idl.

Guenther

15 years agoeventlog: make EVENTLOG_FULL_INFORMATION a public struct.
Günther Deschner [Wed, 8 Apr 2009 18:33:58 +0000 (20:33 +0200)]
eventlog: make EVENTLOG_FULL_INFORMATION a public struct.

Guenther

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Fri, 10 Apr 2009 05:46:59 +0000 (22:46 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agoFix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3) has parameter...
Jeremy Allison [Fri, 10 Apr 2009 05:44:56 +0000 (22:44 -0700)]
Fix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3) has parameter "msdfs root = yes"
This was broken by the refactoring around create_file().
MSDFS pathname processing must be done FIRST.
MSDFS pathnames containing IPv6 addresses can
be confused with NTFS stream names (they contain
":" characters.
Jeremy.

15 years agos3-selftest: enable the RPC-NTSVCS torture test against Samba3.
Günther Deschner [Thu, 9 Apr 2009 22:44:36 +0000 (00:44 +0200)]
s3-selftest: enable the RPC-NTSVCS torture test against Samba3.

Guenther

15 years agos3-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize.
Günther Deschner [Thu, 9 Apr 2009 22:43:55 +0000 (00:43 +0200)]
s3-ntsvcs: fix _PNP_GetDeviceList and _PNP_GetDeviceListSize.

Guenther

15 years agos4-smbtorture: perform the ntsvcs devicelist tests against the Spooler service.
Günther Deschner [Thu, 9 Apr 2009 22:42:35 +0000 (00:42 +0200)]
s4-smbtorture: perform the ntsvcs devicelist tests against the Spooler service.

Guenther

15 years agos3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list().
Günther Deschner [Thu, 9 Apr 2009 22:00:44 +0000 (00:00 +0200)]
s3-rpcclient: allow to set flags in cmd_ntsvcs_get_dev_list().

Guenther

15 years agoerror-codes: add WERR_CM_INVALID_POINTER.
Günther Deschner [Thu, 9 Apr 2009 21:44:24 +0000 (23:44 +0200)]
error-codes: add WERR_CM_INVALID_POINTER.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 9 Apr 2009 22:01:41 +0000 (00:01 +0200)]
s3: re-run make samba3-idl.

Guenther

15 years agontsvcs: add PNP_GetIdListFlags flags.
Günther Deschner [Thu, 9 Apr 2009 15:53:36 +0000 (17:53 +0200)]
ntsvcs: add PNP_GetIdListFlags flags.

Guenther

15 years agos3-svcctl: minor fix for _svcctl_EnumDependentServicesW().
Günther Deschner [Thu, 9 Apr 2009 13:39:45 +0000 (15:39 +0200)]
s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().

Guenther

15 years agos4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL.
Günther Deschner [Thu, 9 Apr 2009 13:30:18 +0000 (15:30 +0200)]
s4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 9 Apr 2009 14:41:32 +0000 (16:41 +0200)]
s3: re-run make samba3-idl.

Guenther

15 years agosvcctl: use svcctl_ServiceState type for dependent calls in IDL.
Günther Deschner [Thu, 9 Apr 2009 14:40:13 +0000 (16:40 +0200)]
svcctl: use svcctl_ServiceState type for dependent calls in IDL.

Guenther

15 years agos3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().
Günther Deschner [Thu, 9 Apr 2009 13:08:29 +0000 (15:08 +0200)]
s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().

Found by torture-test.

Guenther

15 years agos4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.
Günther Deschner [Thu, 9 Apr 2009 08:26:17 +0000 (10:26 +0200)]
s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.

Guenther