Volker Lendecke
63f9607ea7
r22905: cli_send_mailslot had a message_send_pid inside
...
(This used to be commit 3fdfb5b7cdf25f4db7bbacb416523d75cab1b103)
2007-10-10 12:22:06 -05:00
Derrell Lipman
00790cb8af
r22850: - Fixes bug 4601. smbc_getxattr() would not, in one case, properly return the
...
required size of a buffer needed to contain the extended attributes.
(This used to be commit 34f77af02e2073ccaabe1583011abeeabbbb24e1)
2007-10-10 12:22:02 -05:00
Volker Lendecke
b4a7b7a888
r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
...
replace all data_blob(NULL, 0) calls.
(This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
2007-10-10 12:22:01 -05:00
Volker Lendecke
7192160599
r22747: Fix some C++ warnings
...
(This used to be commit a66a04e9f11f6c4462f2b56b447bae4eca7b177c)
2007-10-10 12:21:54 -05:00
Volker Lendecke
e6383f4762
r22736: Start to merge the low-hanging fruit from the now 7000-line cluster patch.
...
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))
Volker
(This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10 12:21:52 -05:00
Derrell Lipman
d1153fc790
r22732: - Testing of libsmbclient against Vista revealed what is likely a bug in
...
Vista. Vista provides a plethora of kludges to simulate older versions of
Windows. The kludges are in the form of shortcuts (or more likely symbolic
links, but I don't know enough about Vista to determine that definitively)
and in most cases, attempts to access them get back an "access denied"
error. On one particular folder, however, "<share>/Users/All Users", it
returns an unknown (to ethereal and the Samba3 code) NT status code:
0x8000002d. Although this code does not have a high byte of 0xc0 indicating
that it is an error, it appears to be an alternate form of "access denied".
Without this patch, libsmbclient times out on an attempt to enumerate that
folder rather than returning an error to the caller. This patch corrects
that problem.
(This used to be commit cc0cd3a12f76b8cd711e3165d4cfe920552f256d)
2007-10-10 12:21:52 -05:00
Günther Deschner
116c1532e7
r22664: When we have krb5_get_init_creds_opt_get_error() then try to get the NTSTATUS
...
codes directly out of the krb5_error edata.
Guenther
(This used to be commit dcd902f24a59288bbb7400d59c0afc0c8303ed69)
2007-10-10 12:19:53 -05:00
Günther Deschner
e7d06b1c25
r22655: Call correct free-macros in netsamlogon_cache_get() error paths. Forgot those
...
in the previous commit.
Guenther
(This used to be commit fce2fe9903417f4ee58a1ddc03ad0083109b7c50)
2007-10-10 12:19:53 -05:00
Günther Deschner
b213b35e08
r22647: Avoid leaking a full info3 structure on each winbindd cached login by making
...
netsamlogon_cache_get() return a talloc'ed structure.
Guenther
(This used to be commit 5b149967cc3ab68057db015e67b688c9b9577f0d)
2007-10-10 12:19:52 -05:00
Günther Deschner
d14e7803e7
r22644: Fix memleak.
...
Guenther
(This used to be commit 65a2701f36439db37e8cd6067be69e8ffdc4615b)
2007-10-10 12:19:52 -05:00
Jeremy Allison
be8b0685a5
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
(This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10 12:19:49 -05:00
Jeremy Allison
12ba88574b
r22542: Move over to using the _strict varients of the talloc
...
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
(This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10 12:19:44 -05:00
Günther Deschner
1ee9650a1d
r22479: Add "net ads keytab list".
...
Guenther
(This used to be commit 9ec76c542775ae58ff03f42ebfa1acc1a63a1bb1)
2007-10-10 12:19:37 -05:00
Simo Sorce
b304cabb44
r22425: Avoid to segfault if we only have the realm.
...
(This used to be commit ace1520270d19d41c24236d4e26ccf77071ebeb9)
2007-10-10 12:19:34 -05:00
James Peach
8a22b1f0ea
r22417: Refactor the various daemon run-mode options to make the semantics
...
of the various flags explicit.
(This used to be commit 19c929c6330a50f278ac322ac5fcb83d03734ea2)
2007-10-10 12:19:33 -05:00
Jeremy Allison
0829e1ad1c
r22391: Looks bigger than it is. Make "inbuf" available
...
to all callers of smb_setlen (via set_message()
calls). This will allow the server to reflect back
the correct encryption context.
Jeremy.
(This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
2007-10-10 12:19:30 -05:00
Jeremy Allison
dc90cd89a7
r22389: Start preparing for multiple encryption contexts in the
...
server. Allow server to reflect back to calling client
the encryption context that was sent.
Jeremy.
(This used to be commit b49e90335d1e589916b5ab4992e3c4a2d221ca7e)
2007-10-10 12:19:30 -05:00
Stefan Metzmacher
f2da00aadc
r22362: fix the build on othersystems
...
metze
(This used to be commit 68a681038ca60c83784321979c595def9e74ed41)
2007-10-10 12:19:29 -05:00
Jeremy Allison
5cee3be014
r22358: Use gss error to NTSTATUS mapping function for errors.
...
Jeremy.
(This used to be commit 11fa0ca9e21d478a4b79b8ca1e92936b26b03fe0)
2007-10-10 12:19:29 -05:00
Jeremy Allison
e8d19d5e1a
r22355: Ensure we get good debug messages from gss_XX calls.
...
Jeremy.
(This used to be commit fe36fc79ddd4f2f2c88204055fca60a193586234)
2007-10-10 12:19:28 -05:00
Jeremy Allison
f7fc540d84
r22354: Make client select krb5 encrpyt if krb5 already on.
...
Jeremy.
(This used to be commit 7b89a5de57cd5fed814eda95e44dcc345f380fb2)
2007-10-10 12:19:28 -05:00
Jeremy Allison
383cc1fa1c
r22353: Fix bad #ifdefs.
...
Jeremy.
(This used to be commit 9173c846b11c587e04a70ede387cd4a15173e4f2)
2007-10-10 12:19:28 -05:00
Jeremy Allison
c5fb215efb
r22349: Fix missing ) in #else path.
...
Jeremy.
(This used to be commit 0f5680adcfb4f1636ba5a5c3ba9684f9fde8476a)
2007-10-10 12:19:28 -05:00
Jeremy Allison
093bcd7df9
r22345: Only use new krb5 OID.
...
Jeremy.
(This used to be commit 1a46d2dcb930f433457877e143f5a602b6b9091e)
2007-10-10 12:19:27 -05:00
Jeremy Allison
8e1b82e7ac
r22344: Correctly create sub-struct for GSS encryption.
...
Jeremy.
(This used to be commit 197c90ec78545e7e3c03ff5787839ca134f3036a)
2007-10-10 12:19:27 -05:00
Jeremy Allison
9812a7e32e
r22327: Finish the gss-spnego part of the seal code. Now
...
for testing....
Jeremy.
(This used to be commit 1c1f5360b67792f14b50835a2c5a4d4ac68aca8f)
2007-10-10 12:19:27 -05:00
Jeremy Allison
282018a366
r22212: Cope with signature errors on sessionsetupX logins
...
where the server just reflects our signature back
to us. Allow the upper layer to see the real error.
Jeremy.
(This used to be commit 6cf0b93b1d8cb97dc665e14ace94a259def67724)
2007-10-10 12:19:20 -05:00
Jeremy Allison
4e0a6bd9a7
r22154: Make struct smbdb_ctx an opaque pointer so users of the API
...
don't need to have tdb.h.
Jeremy.
(This used to be commit 512542c90a78006bda3470eed7fb6d3f6e708eed)
2007-10-10 12:19:17 -05:00
Jeremy Allison
bca29ddbba
r22122: Start to fix csc issue with Vista. Make smbd support
...
the extended 7 word response for tconX rather than the
3 word one we supported previously.
Jeremy.
(This used to be commit 137953226a2d691259e7e84d6ae0dc24755e5a3a)
2007-10-10 12:19:14 -05:00
Stefan Metzmacher
14ac7712f3
r22093: send also the correct OID_KERBEROS5 not only the broken
...
OID_KERBEROS_OLD one.
metze
(This used to be commit 294c69334fce1cbb74ae9eb5a06e17b397f994df)
2007-10-10 12:19:10 -05:00
Stefan Metzmacher
eceb926df9
r22092: - make spnego_parse_auth_response() more generic and
...
not specific for NTLMSSP
- it's possible that the server sends a mechOID and authdata
if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still
force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE
metze
(This used to be commit e9f2aa22f90208a5e530ef3b68664151960a0a22)
2007-10-10 12:19:10 -05:00
Volker Lendecke
bcab9254cc
r22091: Fix an uninitialized variable warning
...
(This used to be commit a6e1e39f1dcd9ebcb5db199fd152a861b9be929b)
2007-10-10 12:19:10 -05:00
Jeremy Allison
0a2cc569a1
r22045: As Volker noticed, skip_string's last argument is
...
redundent. Remove it.
Jeremy.
(This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
2007-10-10 12:19:05 -05:00
Jeremy Allison
44ca85a506
r22016: Try and fix the build - move things out of proto.h
...
Jeremy.
(This used to be commit 29933600cff458f6599e4604f9e861cd20fc8e38)
2007-10-10 12:19:02 -05:00
Jeremy Allison
261c004d7b
r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,
...
but I've no option.
Jeremy.
(This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
2007-10-10 12:19:01 -05:00
Jeremy Allison
b0bcb48369
r22013: Move to SSPI framing (sig first in NTLM).
...
Jeremy
(This used to be commit 22eaed76f01ea9d0184dcaf57adca23abc6330b9)
2007-10-10 12:19:01 -05:00
Jeremy Allison
1ff60ed7bc
r22012: Ensure we use the same technique to pull the share mode
...
data out that locking/locking.c does.
Jeremy.
(This used to be commit 1fec4da6d6267289bf93f930de4cb5e21c450e15)
2007-10-10 12:19:01 -05:00
Stefan Metzmacher
bc2b6436d0
r22009: change TDB_DATA from char * to unsigned char *
...
and fix all compiler warnings in the users
metze
(This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10 12:19:00 -05:00
Jeremy Allison
71b8fdff85
r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
...
call as smb_krb5_locate_kdc to prevent incorrect linking
and crashes on Solaris.
Jeremy.
(This used to be commit 7d30737c8d851505e81a60443baf9a8c7e523472)
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
56ba447668
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
...
which matches what samba4 has.
also fix all the callers to prevent compiler warnings
metze
(This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10 12:18:59 -05:00
Günther Deschner
cece5a62ae
r21998: Fix tdb keynames in netsamlogon_clear_cached_user().
...
No point in deleting U/DOMAIN/RID and UG/DOMAIN/RID keys if we only store U/SID
and UG/SID keys :-)
Next we need to verify the need of calling netsamlogon_clear_cached_user() at all.
Guenther
(This used to be commit 78d13f14672b65c2d4798ce94322e945334eea62)
2007-10-10 12:18:58 -05:00
Jeremy Allison
e9157961d6
r21997: Implement the server side of gss seal negotiate.
...
Jeremy.
(This used to be commit 6b923acfee59e39eea69e9e9a00f1f6118ed4270)
2007-10-10 12:18:58 -05:00
Jeremy Allison
3215c09a81
r21994: Ignore keepalives in the correct buffer (out not in :-).
...
Jeremy.
(This used to be commit 9785528ddf26c4943e8bdfcf7694314a52218520)
2007-10-10 12:18:58 -05:00
Jeremy Allison
208367f4d1
r21993: Don't let keepalives interferece with sign or seal
...
in the client code.
Jeremy.
(This used to be commit 3e901389feedadd64c6ba712ab09cdfb497a9e0a)
2007-10-10 12:18:58 -05:00
Jeremy Allison
0eab431194
r21992: Fix keepalive processing when encryption turned on.
...
Jeremy.
(This used to be commit 8f113ad1918dcd2746ec527ceb79a2a7baa1d415)
2007-10-10 12:18:58 -05:00
Jeremy Allison
4a66d0e232
r21991: I hate Steve French :-). Add support for encryption
...
contexts....
Jeremy.
(This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
2007-10-10 12:18:58 -05:00
Jeremy Allison
34dac35e48
r21990: Stop messing with the signing engine just because
...
we're encrypted. This will make further changes and
spec much more clear.
Jeremy.
(This used to be commit ffa3a5c508a494d22e8ee3ada424a6517ddf8923)
2007-10-10 12:18:57 -05:00
Stefan Metzmacher
1c98e62118
r21975: if we use the _bystring() version when storing, we should use it on fetch too...
...
metze
(This used to be commit d105723f063d617ef9f8394e7921749b21f1d755)
2007-10-10 12:18:54 -05:00
Jeremy Allison
8b63654c2e
r21969: Start working on the gss-side of the server negotiation.
...
Jeremy.
(This used to be commit fbc569b530104679e47fe743963eb0c4384de6ae)
2007-10-10 12:18:54 -05:00
Jeremy Allison
3adeddcc4a
r21967: Add conversion from gss errors to nt status.
...
Jeremy
(This used to be commit 8ba138efd097b08dcfe98f99b67c77579babf250)
2007-10-10 12:18:53 -05:00