1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

7499 Commits

Author SHA1 Message Date
Stefan Metzmacher
e246a06751 r12126: get rid of the local ->terminate hacks, we do that genericly now
metze
(This used to be commit a7baf165c10c00096265b790d5362905c527806a)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
7eb3fc533d r12125: make the deferred connection termination the default,
so that I can remove all the other versions of it

metze
(This used to be commit 82de98b8e9f3030449225634935a71a3dd7e117c)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
91cf3943d3 r12124: we don't need this comment twice
metze
(This used to be commit 62c4ae8dde918d8393a3b181a5cac1be1e57e158)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
91abd131e6 r12123: handle fde == NULL at the correct level
metze
(This used to be commit 1dd5bb60a5047b94034eb084473bb8f4a9926e7c)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
35cb1931ed r12122: add forward declaration for packet_context
metze
(This used to be commit 2ea8e61f2383c1d375c852bb0a44aac5a5af2d96)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
3ef038b267 r12121: remove some dublicate code
metze
(This used to be commit 2fe8a643d3d01e669d40f714d58502b00e2446c5)
2007-10-10 13:47:11 -05:00
Andrew Tridgell
111a920fdb r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback

this removes one of the common mistakes in writing a composite function
(This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
344703bfc0 r12115: bring SMB sesssetup_spnego in sync with SMB2 sesssetup
metze
(This used to be commit 99cf7dbb177f92df40301ed8faeeb93e89452922)
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
89f5d66dfe r12114: - smb2_keepalive() acts on the smb2_transport
- smb2_logoff() acts on the smb2_session

metze
(This used to be commit ae1ca2bb4affefff1026c03f0765faf28c2b316b)
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
3edfa552a2 r12113: in SMB2 we should only allocate a new session
when the client sends UID = 0, otherwise we return
NT_STATUS_USER_SESSION_DELETED

metze
(This used to be commit 15973be48e3da0a49130911b9d3f192338c23783)
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
25f82c19f6 r12105: Formatting.
rafal
(This used to be commit 13d7b8fa43fe7ae74d511820c4d28f5caf44f006)
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
17280956c3 r12104: Move to (sync) smb_composite_connect from smbcli_tree_full_connection()
This is one of the last places using the latter function.

rafal
(This used to be commit c95d30d38c4969c070766d320ed52e332e131195)
2007-10-10 13:47:09 -05:00
Rafal Szczesniak
3b85d04025 r12103: Comments and a bit of formatting.
rafal
(This used to be commit 4a12711c310f3dc228ea7be539703fc3fc77444a)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
273f340376 r12102: for SMB2 we need to allocate tcons per session
metze
(This used to be commit 4d527ac005086c2db954578b4126ca128e436e01)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
2184ad5af7 r12101: revert my last commit, I breaks the build and I don't know why...
metze
(This used to be commit dc664df873c208c57752e8288a82cef77bc61338)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
6b1ee03c53 r12095: the most SMB2 opcodes need a valid session and tcon,
metze
(This used to be commit 40b301c6bdb329ad347ac8a474be85dcbc671518)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
05bfa9ad86 r12094: - implement dummy smb2srv_tcon()
- implement smb2srv_tdis()

metze
(This used to be commit cb9ddf7997731a4ad21f274fcb2e713614b382ef)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
41c575729f r12093: add missing file
metze
(This used to be commit 1506be37db16e24c3694278739fc3e52719d0d8b)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
2634f22bfc r12092: - add dummy functions for the missing SMB2 opcodes
- implement keepalive and logoff

metze
(This used to be commit 859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
e5adca67f2 r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings)

metze
(This used to be commit 436c5127ef7baec22377d2f1d129702597486575)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
3adb3013b1 r12090: use the _trigger_error() function in the function
that allocated the composite_context

metze
(This used to be commit 998a7f8572bb90b5d478f03f09fba9867a6d8bfa)
2007-10-10 13:47:08 -05:00
Rafal Szczesniak
b38783f40a 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
(This used to be commit 218db3ebc06f2d3e906f23a36bad088861b8e720)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
d1c41cb83f r12088: Use a structure to pass arguments to dcerpc connection functions
and move migrated (async) code to a new file.

rafal
(This used to be commit 79b231bc534e10149d86a2c647a27c27ce524949)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
18cfac7c71 r12087: Split dcerpc pipe connection functions into separate file.
It's going to contain async functions and ncacn_np is the
first.

rafal
(This used to be commit 3fe2df5fe3165972536c937620d770e763b0d5bb)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
5245679015 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)
(This used to be commit 0f1de4b1db7f0035e2b31f967d86de9306558968)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
d55ab321b2 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
(This used to be commit afccf73ecf6cf85e72c04e28724096aa6da96a80)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
08377f458e r12084: added a comment on what is appropriate for parameter_control
(This used to be commit 040d798a88ad6e6d56179de2b9036e3d0c36afc8)
2007-10-10 13:47:06 -05:00
Andrew Tridgell
67d0bb8dc7 r12082: fixed a valgrind error found by kukks in the transs server handling
(This used to be commit 5c81986bff06efeacf95d3d64254d566181c30bb)
2007-10-10 13:47:06 -05:00
Rafal Szczesniak
4a397070b6 r12079: Fix to the comment for sake of completness...
rafal
(This used to be commit 7aa40e3a3ff7a655c5ed8ee67c55af92193815f1)
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
dbd36ef49d r12078: fix the build on hosts with old compilers
metze
(This used to be commit 82fa27da0725b1d84688e26ca189b445c4a08f4e)
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
37cc5873e0 r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
test

metze
(This used to be commit 224dab45ab8de9fd4288c473b141541614cde422)
2007-10-10 13:47:06 -05:00
Stefan Metzmacher
529b03be13 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
(This used to be commit 81d322f91aa7097a51c13648211a0556b0424fa4)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
c53a5c4f3e r12073: fix vlgrind error, calculate the correct size for memcpy()
and don't assume out_len is >= sizeof(*in_addr)

metze
(This used to be commit 61dbe9e5070085117b12b5b37cf0e7fe4342e2a3)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
7dbe0e3199 r12072: fix sgroup,active,owned vs. sgroup,non-active case
metze
(This used to be commit 47ce4286dec3df9eb22ac2efde18af807ecf9cfa)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
82d0d26eaa 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
(This used to be commit bd78c97cfff7e2d3a053e4bb4d6459afad5fba5c)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
5c7707ddcb r12070: make sure a unique record with multiple addresses becauses mhomed
metze
(This used to be commit 4be3b576f2926279686ecada52144b9df8165a03)
2007-10-10 13:47:05 -05:00
Stefan Metzmacher
9286235cf8 r12069: fix typo
metze
(This used to be commit 3c442ccb594d1a781e42f2268a3582578ae82d76)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
bf6ac47848 r12068: a better fix to prevent crashing, on errors
metze
(This used to be commit 7b20f8e66d55774877ec1441175fb707856c6609)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
7ab5c74a98 r12067: print out some more details
metze
(This used to be commit 8207969a5727e54877752be5168931f609591be1)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
dbeb44eeda 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
(This used to be commit a37aaa93cb25c559b27f4c1a7c48285d4223b9aa)
2007-10-10 13:47:04 -05:00
Stefan Metzmacher
89260f978e r12065: fix compiler warning
metze
(This used to be commit c60bac5baa572a597ce6e1c2e3639be4c7daeefc)
2007-10-10 13:47:03 -05:00
Andrew Tridgell
16c7e92cd2 r12064: pass back the socket level error correctly (so we get
NT_STATUS_CONNECTION_REFUSED when a KDC is not listening)
(This used to be commit 0f85fc204c6018f8403c2e8f75f683aed38ba83b)
2007-10-10 13:47:03 -05:00
Andrew Tridgell
469aad2c48 r12063: fixed the krb5 client code to handle ICMP port unreachable errors, and
error out immediatelly. This prevents a long timeout
(This used to be commit f6c0fccc06060582ef870a0ac590dabeec2f2e6a)
2007-10-10 13:47:03 -05:00
Andrew Bartlett
687545e94e r12062: SASL negotiation now requires a gensec_security context, so that we
only try permitted mechanims.

Andrew Bartlett
(This used to be commit 0f50239dc40ee128e4985f8aec5bb5f440a4f3f0)
2007-10-10 13:47:03 -05:00
Andrew Bartlett
c3f35aafed r12061: Add missing file to previous commit. This provides a hook on which to
attach a restriction on available GENSEC mechanisms.

Andrew Bartlett
(This used to be commit 8154f2421f828be65ee89f21ed7ac0f5e2132ca9)
2007-10-10 13:47:03 -05:00
Andrew Bartlett
61bd609574 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
(This used to be commit 11c7a89e523f85afd728d5e5f03bb084dc620244)
2007-10-10 13:47:02 -05:00
Andrew Bartlett
42f2bfbd9b r12059: Use random keytab names (so we get different keytabs, rather than
share the MEMORY: keytab).

Andrew Bartlett
(This used to be commit 6c43de27086d3c463891598eb55a44877194cb0d)
2007-10-10 13:47:02 -05:00
Andrew Bartlett
f8a44902f4 r12058: Set an anonymous fallback, if the machine account isn't available.
Andrew Bartlett
(This used to be commit 55cb72f5cfe9a2c520c30e11ab34896588e91730)
2007-10-10 13:47:02 -05:00
Andrew Tridgell
da574945ca r12057: fixed authentication in ldb client tools
(This used to be commit 020de11a61a1aa2c77c0a308186c85960c10fe32)
2007-10-10 13:47:02 -05:00
Andrew Bartlett
c7c6b5620b r12056: Some clarification fixes for the keytab code, and use the right
function for enctype to string.

Andrew Bartlett
(This used to be commit ae6c968cb27f451e5f8cea62be7f33b4b4716f82)
2007-10-10 13:47:02 -05:00