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

52167 Commits

Author SHA1 Message Date
Günther Deschner
9bdca59fc5 s3-spoolss: remove old rpccli_spoolss_enumforms.
Guenther
2009-03-06 14:30:26 +01:00
Günther Deschner
01e4f63c5e s3-net: use new rpccli_spoolss_enumforms wrapper.
Guenther
2009-03-06 14:30:17 +01:00
Günther Deschner
6336366abb s3-rpcclient: use new rpccli_spoolss_enumforms wrapper.
Guenther
2009-03-06 14:30:10 +01:00
Günther Deschner
c14a589a46 s3-spoolss: add convencience wrapper around rpccli_spoolss_EnumForms.
Guenther
2009-03-06 14:30:02 +01:00
Günther Deschner
b4707d8df3 s3: re-run make samba3-idl.
Guenther
2009-03-06 14:28:41 +01:00
Günther Deschner
75046db121 spoolss: fix [size_is] declaration for enum calls.
This took me ages to find. Thanks metze!

Guenther
2009-03-06 14:28:35 +01:00
Günther Deschner
007f3f2319 s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
2009-03-06 14:28:28 +01:00
Günther Deschner
8bc7bb77be s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
2009-03-06 14:28:22 +01:00
Günther Deschner
2fcc921237 s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
2009-03-06 14:28:17 +01:00
Günther Deschner
8e68eb2cc3 s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
2009-03-06 14:28:10 +01:00
Günther Deschner
47adaea11e s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.
Guenther
2009-03-06 14:28:04 +01:00
Günther Deschner
c6aea64e92 spoolss: fix spoolss enum calls helper macro code after pointer changes.
Guenther
2009-03-06 14:27:57 +01:00
Günther Deschner
4941e80d0e s3: re-run make samba3-idl.
Guenther
2009-03-06 14:27:49 +01:00
Günther Deschner
fb4ab25eec spoolss: make all enum out info pointers a pointer to an array.
Without this we never can get a reasonable s3 cli_spoolss fn for the enum calls.

Guenther
2009-03-06 14:27:41 +01:00
Stefan Metzmacher
df145c3382 s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
metze
2009-03-06 07:31:33 +01:00
Jeremy Allison
67d12e9c6b Get the sense of the integer wrap test the right way around. Sorry.
Jeremy.
2009-03-05 22:00:22 -08:00
Jeremy Allison
4e74d811aa Now we're allowing a lower bound for auth_len, ensure we
also check for an upper one (integer wrap).
Jeremy.
2009-03-05 21:06:48 -08:00
Jeremy Allison
66c0f3690a Fix bug #6161 - smbclient corrupts source path in tar mode
This was my fault. I broke the smbclient tar argument processing
in creating the string for chdir when removing pstrings.
Jeremy.
2009-03-05 17:19:18 -08:00
Jeremy Allison
0d9f4a2886 Last part of fix for #6154 - zfs does not honor admin users.
Jeremy.
2009-03-05 15:18:18 -08:00
Volker Lendecke
2544ba6a0a Complete the fix for bug 6100
According to [MS-RPCE].pdf, section 2.2.2.11:

----
A client or a server that (during composing of a PDU) has allocated more space
for the authentication token than the security provider fills in SHOULD fill in
the rest of the allocated space with zero octets. These zero octets are still
considered to belong to the authentication token part of the PDU.<36>
----

RPC implementations are allowed to send padding bytes at the end of an auth
footer. Windows 7 makes use of this.

Thanks to Nick Meier <nmeier@microsoft.com>

Volker
2009-03-05 22:28:07 +01:00
Jeremy Allison
bb1dab3a97 Fix bug #6160 - Office 2007 fails saving files to a Samba mapped drive.
Confirmed by reporters.
Jeremy.
2009-03-05 09:04:16 -08:00
Tim Prouty
6652646432 librpc: Re-run make idl_full from source3 2009-03-04 18:32:13 -08:00
Tim Prouty
cfb4757386 pidl: Don't generate variables declarations for pointless array counters.
Code isn't generated to iterate over arrays of length 0, but the
variable declarations still are.  The result is 'unused variable'
warnings. This only seems to be happening in one place right now, so I
targeted the fix to this case, but refactoring could be done to make
all variable declarations do this zero length check.  Making it the
default would be a much more invasive fix.

Jelmer, please check!
2009-03-04 18:32:13 -08:00
Tim Prouty
04f5f73905 s3 OneFS: Use the public open_streams_for_delete 2009-03-04 18:32:13 -08:00
Tim Prouty
f61f169054 s3: Change open_streams_for_delete to call through the vfs layer
This eliminates the last direct caller of create_file_unixpath
2009-03-04 18:32:12 -08:00
Bo Yang
d526d340d8 Fix careless mistake in winbindd_setup_sig_usr2_handler 2009-03-04 17:26:57 -08:00
Jeremy Allison
c8ea9d1f13 Second part of fix for #6154, ensure we return max access
if admin user.
Jeremy.
2009-03-04 17:17:43 -08:00
Jeremy Allison
badad0a6a6 Fix bug #6154 - zfs does not honor admin users.
Jeremy
2009-03-04 16:57:37 -08:00
Andrew Bartlett
ebe5b28353 Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel 2009-03-05 11:11:19 +11:00
Andrew Bartlett
5a10d80491 Remove parse_control from header, long after the function was removed
Simo reminded me that when (long ago) I moved parse_controls away from
this place, I forgot to update the manually maintained header file.

Andrew Bartlett
2009-03-05 11:07:35 +11:00
Andrew Bartlett
92bb91a611 Update talloc version so we don't fail on system talloc 1.2.0
The problem is that talloc in the Samba tree now includes
talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's
talloc 1.2.0.

Andrew Bartlett
2009-03-05 10:46:46 +11:00
Jeremy Allison
f85aa66ca2 Fix crashes when running RAW-ACLs against system with tdb ACL modules
(caused by the POSIX pathname fixes).
Jeremy.
2009-03-04 14:48:33 -08:00
Michael Adam
bb0fb97562 s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outside
Michael
2009-03-04 22:49:25 +01:00
Michael Adam
9d798494a9 s3:smbconf: move smbconf_share_exists checks into backend
Michael
2009-03-04 22:49:24 +01:00
Michael Adam
0945789031 s3:net conf: reduce memory usage of "net conf import".
"net conf import" was wrapped in one big transaction.
This lead to MAX_TALLOC_SIZE being exceeded at roughly
1500 shares. This patch resolves that problem by
limiting the top level transactions in "net conf import"
to 100 shares.

Michael
2009-03-04 22:49:24 +01:00
Tim Prouty
f9636b0c01 socket wrapper: Fix 'might be used uninitialized' warning 2009-03-04 12:59:16 -08:00
Steven Danneman
5a9f668dab s3: Remove madvise support
This reverts 193be432.  The MADVISE_PROTECT is inherited by all child
processes and cannot be unset.  The intention of the original patch was
to protect the parent process, but allow children to be killed in low
memory.  Since this isn't possible with the current API, reverting the
whole feature.
2009-03-04 11:07:27 -08:00
Volker Lendecke
ddc1864fb2 Attempt to fix the build on IRIX 2009-03-04 12:28:39 +01:00
Volker Lendecke
e8484e01ed Make use of gpfs_get_real_filename optional 2009-03-04 11:23:12 +01:00
Michael Adam
fb70a8a255 s3: Fix a memleak in dbwrap_rbt.
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of
the db context. This is a quick fix using talloc instead of malloc
for allocation of the node data.

Since malloc was originally used for performance reasons, one
might want to reverse to malloc and create a talloc destructor
that walks the tree and frees all the node data if this talloc
approach proves to be too slow..

Michael
2009-03-04 11:23:05 +01:00
Stefan Metzmacher
27cf23958b socket_wrapper: add multiple interface support for ipv6
We use FD00::5357:5FXX in the same way we use 127.0.0.XX

metze
2009-03-04 08:32:33 +01:00
Stefan Metzmacher
b99bb962aa socket_wrapper: add ipv6 pcap support
metze
2009-03-04 08:32:33 +01:00
Stefan Metzmacher
8ae34cc994 socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap support for ipv6
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
40da086fe0 socket_wrapper: prepare pcap support for ipv6 traffic
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
d52e813117 s4:blackbox/test_ldb: make use of the $VALGRIND envvar
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
c51e5a23fb socket_wrapper: don't crash if we get EAGAIN from real_recv()
This fixes a crash in the ldaps tests with socket wrapper pcap support.

metze
2009-03-04 08:32:31 +01:00
Andrew Bartlett
8ee0cc24b8 Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-03-04 14:10:41 +11:00
Andrew Bartlett
52542e1aff Pull in all the schema information during DRS schema fetch
This includes things such as allowed attributes, which were not
populated into the schema structure before.

Andrew Bartlett
2009-03-04 14:06:11 +11:00
Andrew Bartlett
952bdffaad Don't print the admin password if we don't set one.
For example, if we don't create the admin user (perhaps expecting
users to be in LDAP already, or we are due an incoming replication) we
should not confuse the administrator by printing a unused password.

Andrew Bartlett
2009-03-04 14:02:35 +11:00
Andrew Bartlett
44c94b6c66 Allow 'net vampire' to work without an existing smb.conf
Now the provision can generate one based on the detected settings from
the target domain.

Andrew Bartlett
2009-03-04 13:58:07 +11:00