1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

7280 Commits

Author SHA1 Message Date
Rafal Szczesniak
c95d30d38c r12104: Move to (sync) smb_composite_connect from smbcli_tree_full_connection()
This is one of the last places using the latter function.

rafal
2007-10-10 13:47:09 -05:00
Rafal Szczesniak
4a12711c31 r12103: Comments and a bit of formatting.
rafal
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
4d527ac005 r12102: for SMB2 we need to allocate tcons per session
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
dc664df873 r12101: revert my last commit, I breaks the build and I don't know why...
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
40b301c6bd r12095: the most SMB2 opcodes need a valid session and tcon,
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
cb9ddf7997 r12094: - implement dummy smb2srv_tcon()
- implement smb2srv_tdis()

metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
1506be37db r12093: add missing file
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
859ab627f4 r12092: - add dummy functions for the missing SMB2 opcodes
- implement keepalive and logoff

metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
436c5127ef r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings)

metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
998a7f8572 r12090: use the _trigger_error() function in the function
that allocated the composite_context

metze
2007-10-10 13:47:08 -05:00
Rafal Szczesniak
218db3ebc0 r12089: Couple of fixes in cases of memory outage before we sort
out how and when to use composite_error() and composite_trigger_error().
Spotted by Metze.

rafal
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
79b231bc53 r12088: Use a structure to pass arguments to dcerpc connection functions
and move migrated (async) code to a new file.

rafal
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
3fe2df5fe3 r12087: Split dcerpc pipe connection functions into separate file.
It's going to contain async functions and ncacn_np is the
first.

rafal
2007-10-10 13:47:07 -05:00
Andrew Tridgell
0f1de4b1db r12086: reverted the utf8string change in xattr.idl. See the discussion on
samba-technical on why this should stay as a simple null terminated
string (basically to make hand-written parsers easier)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
afccf73ecf r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring the
Samba4 and ethereal IDL into line, so ethereal doesn't lose any
existing strucutres when switching to idl
2007-10-10 13:47:07 -05:00
Andrew Tridgell
040d798a88 r12084: added a comment on what is appropriate for parameter_control 2007-10-10 13:47:06 -05:00
Andrew Tridgell
5c81986bff r12082: fixed a valgrind error found by kukks in the transs server handling 2007-10-10 13:47:06 -05:00
Rafal Szczesniak
7aa40e3a3f r12079: Fix to the comment for sake of completness...
rafal
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
82fa27da07 r12078: fix the build on hosts with old compilers
metze
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
224dab45ab r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
test

metze
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
81d322f91a r12074: in accept() we need to set socket name of the child socket by looking
up what address the client has used, as the socket is maybe bound to '0.0.0.0'

metze
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
61dbe9e507 r12073: fix vlgrind error, calculate the correct size for memcpy()
and don't assume out_len is >= sizeof(*in_addr)

metze
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
47ce4286de r12072: fix sgroup,active,owned vs. sgroup,non-active case
metze
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
bd78c97cff r12071: - implement MHOMED merging
- implement late release demands

we now pass the full NBT-WINSREPLICATION torture test
but only with non-socket_wrapper mode

metze
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
4be3b576f2 r12070: make sure a unique record with multiple addresses becauses mhomed
metze
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
3c442ccb59 r12069: fix typo
metze
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
7b20f8e66d r12068: a better fix to prevent crashing, on errors
metze
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
8207969a57 r12067: print out some more details
metze
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
a37aaa93cb r12066: - add a unique,active,owner vs. unique,active,replica tests where
we respond with the replicas address to the challenge
- fix some skip checks

metze
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
c60bac5baa r12065: fix compiler warning
metze
2007-10-10 13:47:03 -05:00
Andrew Tridgell
0f85fc204c r12064: pass back the socket level error correctly (so we get
NT_STATUS_CONNECTION_REFUSED when a KDC is not listening)
2007-10-10 13:47:03 -05:00
Andrew Tridgell
f6c0fccc06 r12063: fixed the krb5 client code to handle ICMP port unreachable errors, and
error out immediatelly. This prevents a long timeout
2007-10-10 13:47:03 -05:00
Andrew Bartlett
0f50239dc4 r12062: SASL negotiation now requires a gensec_security context, so that we
only try permitted mechanims.

Andrew Bartlett
2007-10-10 13:47:03 -05:00
Andrew Bartlett
8154f2421f r12061: Add missing file to previous commit. This provides a hook on which to
attach a restriction on available GENSEC mechanisms.

Andrew Bartlett
2007-10-10 13:47:03 -05:00
Andrew Bartlett
11c7a89e52 r12060: Work towards allowing the credentials system to allow/deny certain
GENSEC mechansims.  This will allow a machine join to an NT4 domain to
avoid even trying kerberos, or a sensitive operation to require it.

Andrew Bartlett
2007-10-10 13:47:02 -05:00
Andrew Bartlett
6c43de2708 r12059: Use random keytab names (so we get different keytabs, rather than
share the MEMORY: keytab).

Andrew Bartlett
2007-10-10 13:47:02 -05:00
Andrew Bartlett
55cb72f5cf r12058: Set an anonymous fallback, if the machine account isn't available.
Andrew Bartlett
2007-10-10 13:47:02 -05:00
Andrew Tridgell
020de11a61 r12057: fixed authentication in ldb client tools 2007-10-10 13:47:02 -05:00
Andrew Bartlett
ae6c968cb2 r12056: Some clarification fixes for the keytab code, and use the right
function for enctype to string.

Andrew Bartlett
2007-10-10 13:47:02 -05:00
Andrew Bartlett
d5a2de8ef0 r12037: Fix malloc corruption caused by double-free(), where realloc(ptr, 0)
is equivilant to free().

This is the issue tridge was seeing in the MEMORY: keytab code.

Andrew Bartlett
2007-10-10 13:47:01 -05:00
Andrew Bartlett
0c4ea6f641 r12036: Fix more KDC memory leaks (and there are probably still more...).
Andrew Bartlett
2007-10-10 13:47:01 -05:00
Andrew Bartlett
b60531b109 r12035: Fix memory leaks in the KDC.
Andrew Bartlett
2007-10-10 13:47:01 -05:00
Stefan Metzmacher
144bde91b3 r12024: do some extra sleeping to give the server the chance to handle our reply
metze
2007-10-10 13:47:01 -05:00
Stefan Metzmacher
9e84c85b3d r12023: use the NBTD IRPC proxy calls for implementing the challenge and release demand
conflict cases

metze
2007-10-10 13:47:01 -05:00
Stefan Metzmacher
d7d14cb2bd r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,
used for replication conflicts

metze
2007-10-10 13:47:00 -05:00
Stefan Metzmacher
8fb07b1ea8 r12021: remove shortpath for winsdb_lookup, this isn't needed
metze
2007-10-10 13:47:00 -05:00
Stefan Metzmacher
2433800834 r12020: fix memory hierachie
metze
2007-10-10 13:47:00 -05:00
Stefan Metzmacher
f4f0d626e0 r12019: - let us only reference libblkid stuff in one file
- and make it it bit simpler, by caching the GUID struct instead of the device name
- and this also removes all compiler warnings...

metze
2007-10-10 13:47:00 -05:00
Andrew Tridgell
482548031e r12016: fixed a valgrind error 2007-10-10 13:47:00 -05:00
Stefan Metzmacher
bd4f85ab5f r12014: free the irpc_request structure with the irpc_call_recv functions,
to match all other _recv functions we have

metze
2007-10-10 13:46:59 -05:00