Andrew Bartlett [Wed, 14 Dec 2005 17:16:06 +0000 (17:16 +0000)]
r12232: I hate SWAT code being outside 'source'. Add in code to push the
user's session info into ldb structure for the ldb tests.
Andrew Bartlett
(This used to be commit
4e1a60a24f7c38170a22d6092b4d5392f5bca5d3)
Stefan Metzmacher [Wed, 14 Dec 2005 10:56:43 +0000 (10:56 +0000)]
r12230: prepare for a generic periodic processing scheduling of
pull,push,scavenging and reread-config events
metze
(This used to be commit
977117278c4b9fc1b7845b6aa6d5862e5a776651)
Stefan Metzmacher [Wed, 14 Dec 2005 08:46:52 +0000 (08:46 +0000)]
r12229: fix the expire time for released records
metze
(This used to be commit
6d355a953838bb551b6aef05b2daaeae13682a7b)
Stefan Metzmacher [Wed, 14 Dec 2005 08:38:25 +0000 (08:38 +0000)]
r12228: fix the expire time for RELEASED records
metze
(This used to be commit
afb0f660a2e4e5ae78c2906e2acf9eba50ea598f)
Andrew Bartlett [Wed, 14 Dec 2005 07:22:25 +0000 (07:22 +0000)]
r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldb
backend.
The idea is that every time we open an LDB, we can provide a
session_info and/or credentials. This would allow any ldb to be remote
to LDAP. We should also support provisioning to a authenticated ldap
server.
(They are separate so we can say authenticate as foo for remote, but
here we just want a token of SYSTEM).
Andrew Bartlett
(This used to be commit
ae2f3a64ee0b07575624120db45299c65204210b)
Jelmer Vernooij [Tue, 13 Dec 2005 21:42:03 +0000 (21:42 +0000)]
r12219: Use some more common functions
(This used to be commit
57ea480c24ff914dfa6cbc5a309020b21fa4af39)
Jelmer Vernooij [Tue, 13 Dec 2005 21:00:52 +0000 (21:00 +0000)]
r12218: Use common functions for generating lists
(This used to be commit
ba913b86e866a67402785d9177711beb16db2cab)
Stefan Metzmacher [Tue, 13 Dec 2005 19:45:24 +0000 (19:45 +0000)]
r12217: add my copyright
metze
(This used to be commit
f251c5709678415521b3ebae413a6616daa6e50a)
Jelmer Vernooij [Tue, 13 Dec 2005 19:38:12 +0000 (19:38 +0000)]
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit
432296207400636dd81d0929ec7b1b4cebbcaa62)
Stefan Metzmacher [Tue, 13 Dec 2005 17:39:24 +0000 (17:39 +0000)]
r12211: remove unused element
metze
(This used to be commit
1c0586868083455780aec38f638277b313dcfa1a)
Jelmer Vernooij [Tue, 13 Dec 2005 16:48:37 +0000 (16:48 +0000)]
r12209: Fix some issues with XML entities.
(This used to be commit
754e51b19d2d1fd6be8e01d62b6ec892688f934c)
Jelmer Vernooij [Tue, 13 Dec 2005 16:25:07 +0000 (16:25 +0000)]
r12208: Remove obsolete scons directory
(This used to be commit
e90abfcc7d84d0cae566ecf395dbef4b927de0f9)
Jelmer Vernooij [Tue, 13 Dec 2005 16:11:45 +0000 (16:11 +0000)]
r12207: More improvements to the Debian package by Steinar Gunderson.
(This used to be commit
72df2de396a3d8ada56362b807532ca6416d99e4)
Jelmer Vernooij [Tue, 13 Dec 2005 13:14:23 +0000 (13:14 +0000)]
r12206: Fix some issues in NOEMIT
(This used to be commit
905cebd117f3b05a286f014e2c21b0843e8f7caf)
Jelmer Vernooij [Tue, 13 Dec 2005 01:56:04 +0000 (01:56 +0000)]
r12205: Support 'TFS' command in conformance files
(This used to be commit
3241ce7ad75a2f91327815374ad698e8bedb2e73)
Jelmer Vernooij [Mon, 12 Dec 2005 21:56:40 +0000 (21:56 +0000)]
r12201: Remove some lines that I accidently added more then once
(This used to be commit
332dbf755796c7e51752bd735b5de3f693bbf88e)
Stefan Metzmacher [Mon, 12 Dec 2005 21:31:42 +0000 (21:31 +0000)]
r12200: - move the the winsreplication client and server code to the packet_context
system
- this needs to be in one big patch, because of the merging code,
that changes client in server connections and the other way around
- use socket_connect_send/_recv() in the client code
metze
(This used to be commit
f0105b7fcdc3032d22444a1973927fff2dd9a06f)
Jelmer Vernooij [Mon, 12 Dec 2005 19:45:47 +0000 (19:45 +0000)]
r12198: Some more Debian updates. Thanks to Steinar H. Gunderson
(This used to be commit
049100bb9b2e39e20b79247f5111f86a9ca4118b)
Jelmer Vernooij [Mon, 12 Dec 2005 19:33:09 +0000 (19:33 +0000)]
r12197: Some improvements to the Debian package. Thanks to Steinar Gunderson
(This used to be commit
538afb479d6d217ac6f7c64592e94966607f23fb)
Jelmer Vernooij [Sun, 11 Dec 2005 14:44:38 +0000 (14:44 +0000)]
r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Harris. Fixes #3313
(This used to be commit
daff0cba2c8e4d56055673b1113e19c265a8bf63)
Andrew Bartlett [Sun, 11 Dec 2005 08:31:46 +0000 (08:31 +0000)]
r12179: Allow our KDC to use LDAP to get to the backend database.
To avoid a circular depenency, it is not allowed to use Krb5 as an
authentication mechanism, so this must be removed from the list. An
extension to the credentials system allows this function.
Also remove proto.h use for any of the KDC, and use NTSTATUS returns
in more places.
Andrew Bartlett
(This used to be commit
5f9dddd02c9c821675d2ccd07561a55edcd7f5b4)
Andrew Bartlett [Sun, 11 Dec 2005 08:27:14 +0000 (08:27 +0000)]
r12178: Make ldb_ildap work against localhost again, by setting the event
context into the ldb opaque. I'm sure this was done before, and must
have been lost by some other change.
Andrew Bartlett
(This used to be commit
dddedf13717e860bda0dadd8a1dfc4f891e355b5)
Rafal Szczesniak [Sat, 10 Dec 2005 10:10:44 +0000 (10:10 +0000)]
r12162: More comments.
rafal
(This used to be commit
2d69e4b13e547768a36e293a9164923e35da7334)
Volker Lendecke [Sat, 10 Dec 2005 09:18:03 +0000 (09:18 +0000)]
r12161: Fix a memleak and do the -O1 janitor :-)
(This used to be commit
82d87d62614a33ec9d2ed20e63d80a7af64e8678)
Andrew Tridgell [Fri, 9 Dec 2005 23:43:02 +0000 (23:43 +0000)]
r12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.
This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
(This used to be commit
8185731c1846412c1b3366824cdb3d05b2d50b73)
Andrew Tridgell [Fri, 9 Dec 2005 23:40:14 +0000 (23:40 +0000)]
r12157: ldb_dump_results() is useful to call from within gdb, so you can see a
set of results
(This used to be commit
2be62eb2dde9250f8bfe3a3272851e152a1d6b68)
Andrew Tridgell [Fri, 9 Dec 2005 23:39:00 +0000 (23:39 +0000)]
r12156: added samdb_domain_sid(), a routine to get the domain sid by looking
up the rootDomainNamingContext in the rootdse, then getting the
objectsid from the root of the domain
(This used to be commit
152590101e64ec260304e4b34cb1e2ef64333a02)
Volker Lendecke [Fri, 9 Dec 2005 21:49:11 +0000 (21:49 +0000)]
r12154: Torture test for bug # 3303.
Jeremy, to run this against Samba3 at all you need to insert a "goto line 957"
in line 548. Without this we fail some tests before # 16 and bail out.
While looking at it, you wanted to fix the directory-based ones a while
ago.... :-))
Volker
(This used to be commit
45cd224102f21364c4f6ca056417f956f21eb02e)
Stefan Metzmacher [Fri, 9 Dec 2005 20:42:09 +0000 (20:42 +0000)]
r12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even if
you don't ask for.
with this patch the epoll mode behaves like the select mode
metze
(This used to be commit
f26c28a3ae7951657cc304659f3d19c16f462dd8)
Stefan Metzmacher [Fri, 9 Dec 2005 20:14:55 +0000 (20:14 +0000)]
r12151: match the select mode of the standard events system and the liboop system,
and report errors as read events
metze
(This used to be commit
5bbd54e96c75af765f827238d6c80101613ae64f)
Volker Lendecke [Fri, 9 Dec 2005 19:36:40 +0000 (19:36 +0000)]
r12150: Reformatting
(This used to be commit
aaa21b7132ec81008ad2ec7b2aafc4604d13093d)
Simo Sorce [Fri, 9 Dec 2005 18:33:30 +0000 (18:33 +0000)]
r12148: add the docs for the paged results control
(This used to be commit
9fab4ab2724d8276765cb42f5e8e177c4ef1ca20)
Stefan Metzmacher [Fri, 9 Dec 2005 17:49:48 +0000 (17:49 +0000)]
r12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,
let our code make it explicit, to make it clear
metze
(This used to be commit
cf733e2684ab0d43d83b1ab5c9d178d895f768a1)
Stefan Metzmacher [Fri, 9 Dec 2005 17:30:14 +0000 (17:30 +0000)]
r12141: - move epoll related code into one big #ifdef, and use dummy #define's
for the case where, epoll isn't available at compile time
- only pass the private std_event_context, to the local function,
to get rid of the talloc_get_type() calls
- use the private pointer to std_event_context_init() to decide if we want to
disable epoll at runtime
metze
(This used to be commit
de322ea8b761df5434e60879b7eae3796ea68007)
Stefan Metzmacher [Fri, 9 Dec 2005 16:43:19 +0000 (16:43 +0000)]
r12140: - add an additional_flags field to the fd_event struct, so that
the events backend can store private flags
- add function to access the gtk event loop ops struct
metze
(This used to be commit
a5cc0758a393f36a770cdd57e317214d03934c13)
Andrew Tridgell [Fri, 9 Dec 2005 06:22:09 +0000 (06:22 +0000)]
r12139: - fixed up the ace object flags checking
- allow for arbitrary access masks in sddl_encode_ace()
(This used to be commit
5e2b1bd6afafe2eb96e98c4636e0a62235693183)
Andrew Tridgell [Fri, 9 Dec 2005 05:21:47 +0000 (05:21 +0000)]
r12138: added use of 2 letter SID codes in sddl_encode_sid()
(This used to be commit
a0662ae9d3f719d2db193490361923095bd4d419)
Andrew Tridgell [Fri, 9 Dec 2005 04:54:30 +0000 (04:54 +0000)]
r12137: added sddl_encode(), the reverse of the sddl_decode() function added a
couple of days ago. Doesn't yet encode using the shorthand for well
known SIDs.
(This used to be commit
655a4ebe8e0ee18133103bfba0ca6d14cbf81d56)
Andrew Tridgell [Fri, 9 Dec 2005 04:11:44 +0000 (04:11 +0000)]
r12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
(This used to be commit
5ce6a62f2e8fd27e50bcbdcf13d34c60e70c9923)
Rafal Szczesniak [Fri, 9 Dec 2005 00:04:38 +0000 (00:04 +0000)]
r12135: Move named pipe connect on smb2 function to async implementation.
Completely untested, it's a bit difficult without having vista
around (yet), so - Andrew, please test it and let me know what's
wrong.
rafal
(This used to be commit
b9e7522bd4b626402c51a69695bea0928f5baef7)
Stefan Metzmacher [Thu, 8 Dec 2005 14:17:58 +0000 (14:17 +0000)]
r12128: add --enable-socket-wrapper
metze
(This used to be commit
8d40b2f4d05615e77c3037726ca890aafde9c722)
Stefan Metzmacher [Thu, 8 Dec 2005 14:06:42 +0000 (14:06 +0000)]
r12127: add --option=rpc_login:samr_auth=yes, to work against w2k3
metze
(This used to be commit
d8902e3513e518827f827dbf4bf3e0f17da2a95c)
Stefan Metzmacher [Thu, 8 Dec 2005 10:23:56 +0000 (10:23 +0000)]
r12126: get rid of the local ->terminate hacks, we do that genericly now
metze
(This used to be commit
a7baf165c10c00096265b790d5362905c527806a)
Stefan Metzmacher [Thu, 8 Dec 2005 09:13:28 +0000 (09:13 +0000)]
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)
Stefan Metzmacher [Thu, 8 Dec 2005 08:48:35 +0000 (08:48 +0000)]
r12124: we don't need this comment twice
metze
(This used to be commit
62c4ae8dde918d8393a3b181a5cac1be1e57e158)
Stefan Metzmacher [Thu, 8 Dec 2005 08:31:59 +0000 (08:31 +0000)]
r12123: handle fde == NULL at the correct level
metze
(This used to be commit
1dd5bb60a5047b94034eb084473bb8f4a9926e7c)
Stefan Metzmacher [Thu, 8 Dec 2005 07:52:52 +0000 (07:52 +0000)]
r12122: add forward declaration for packet_context
metze
(This used to be commit
2ea8e61f2383c1d375c852bb0a44aac5a5af2d96)
Stefan Metzmacher [Thu, 8 Dec 2005 07:50:38 +0000 (07:50 +0000)]
r12121: remove some dublicate code
metze
(This used to be commit
2fe8a643d3d01e669d40f714d58502b00e2446c5)
Andrew Tridgell [Thu, 8 Dec 2005 01:13:45 +0000 (01:13 +0000)]
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)
Stefan Metzmacher [Wed, 7 Dec 2005 08:11:50 +0000 (08:11 +0000)]
r12115: bring SMB sesssetup_spnego in sync with SMB2 sesssetup
metze
(This used to be commit
99cf7dbb177f92df40301ed8faeeb93e89452922)
Stefan Metzmacher [Wed, 7 Dec 2005 07:28:43 +0000 (07:28 +0000)]
r12114: - smb2_keepalive() acts on the smb2_transport
- smb2_logoff() acts on the smb2_session
metze
(This used to be commit
ae1ca2bb4affefff1026c03f0765faf28c2b316b)
Stefan Metzmacher [Wed, 7 Dec 2005 07:14:13 +0000 (07:14 +0000)]
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)
Rafal Szczesniak [Tue, 6 Dec 2005 19:48:47 +0000 (19:48 +0000)]
r12105: Formatting.
rafal
(This used to be commit
13d7b8fa43fe7ae74d511820c4d28f5caf44f006)
Rafal Szczesniak [Tue, 6 Dec 2005 19:48:06 +0000 (19:48 +0000)]
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)
Rafal Szczesniak [Tue, 6 Dec 2005 19:44:49 +0000 (19:44 +0000)]
r12103: Comments and a bit of formatting.
rafal
(This used to be commit
4a12711c310f3dc228ea7be539703fc3fc77444a)
Stefan Metzmacher [Tue, 6 Dec 2005 17:59:20 +0000 (17:59 +0000)]
r12102: for SMB2 we need to allocate tcons per session
metze
(This used to be commit
4d527ac005086c2db954578b4126ca128e436e01)
Stefan Metzmacher [Tue, 6 Dec 2005 17:42:04 +0000 (17:42 +0000)]
r12101: revert my last commit, I breaks the build and I don't know why...
metze
(This used to be commit
dc664df873c208c57752e8288a82cef77bc61338)
Stefan Metzmacher [Tue, 6 Dec 2005 14:17:06 +0000 (14:17 +0000)]
r12095: the most SMB2 opcodes need a valid session and tcon,
metze
(This used to be commit
40b301c6bdb329ad347ac8a474be85dcbc671518)
Stefan Metzmacher [Tue, 6 Dec 2005 14:14:43 +0000 (14:14 +0000)]
r12094: - implement dummy smb2srv_tcon()
- implement smb2srv_tdis()
metze
(This used to be commit
cb9ddf7997731a4ad21f274fcb2e713614b382ef)
Stefan Metzmacher [Tue, 6 Dec 2005 14:11:55 +0000 (14:11 +0000)]
r12093: add missing file
metze
(This used to be commit
1506be37db16e24c3694278739fc3e52719d0d8b)
Stefan Metzmacher [Tue, 6 Dec 2005 13:26:24 +0000 (13:26 +0000)]
r12092: - add dummy functions for the missing SMB2 opcodes
- implement keepalive and logoff
metze
(This used to be commit
859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
Stefan Metzmacher [Tue, 6 Dec 2005 12:33:32 +0000 (12:33 +0000)]
r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings)
metze
(This used to be commit
436c5127ef7baec22377d2f1d129702597486575)
Stefan Metzmacher [Tue, 6 Dec 2005 11:52:16 +0000 (11:52 +0000)]
r12090: use the _trigger_error() function in the function
that allocated the composite_context
metze
(This used to be commit
998a7f8572bb90b5d478f03f09fba9867a6d8bfa)
Rafal Szczesniak [Tue, 6 Dec 2005 11:11:11 +0000 (11:11 +0000)]
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)
Rafal Szczesniak [Tue, 6 Dec 2005 08:58:21 +0000 (08:58 +0000)]
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)
Rafal Szczesniak [Tue, 6 Dec 2005 08:56:13 +0000 (08:56 +0000)]
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)
Andrew Tridgell [Tue, 6 Dec 2005 05:25:03 +0000 (05:25 +0000)]
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)
Andrew Tridgell [Tue, 6 Dec 2005 03:53:51 +0000 (03:53 +0000)]
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)
Andrew Tridgell [Tue, 6 Dec 2005 03:51:54 +0000 (03:51 +0000)]
r12084: added a comment on what is appropriate for parameter_control
(This used to be commit
040d798a88ad6e6d56179de2b9036e3d0c36afc8)
Andrew Tridgell [Tue, 6 Dec 2005 00:12:32 +0000 (00:12 +0000)]
r12082: fixed a valgrind error found by kukks in the transs server handling
(This used to be commit
5c81986bff06efeacf95d3d64254d566181c30bb)
Rafal Szczesniak [Mon, 5 Dec 2005 22:34:45 +0000 (22:34 +0000)]
r12079: Fix to the comment for sake of completness...
rafal
(This used to be commit
7aa40e3a3ff7a655c5ed8ee67c55af92193815f1)
Stefan Metzmacher [Mon, 5 Dec 2005 22:22:05 +0000 (22:22 +0000)]
r12078: fix the build on hosts with old compilers
metze
(This used to be commit
82fa27da0725b1d84688e26ca189b445c4a08f4e)
Stefan Metzmacher [Mon, 5 Dec 2005 15:47:15 +0000 (15:47 +0000)]
r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
test
metze
(This used to be commit
224dab45ab8de9fd4288c473b141541614cde422)
Stefan Metzmacher [Mon, 5 Dec 2005 15:26:49 +0000 (15:26 +0000)]
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)
Stefan Metzmacher [Mon, 5 Dec 2005 15:22:38 +0000 (15:22 +0000)]
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)
Stefan Metzmacher [Mon, 5 Dec 2005 12:47:32 +0000 (12:47 +0000)]
r12072: fix sgroup,active,owned vs. sgroup,non-active case
metze
(This used to be commit
47ce4286dec3df9eb22ac2efde18af807ecf9cfa)
Stefan Metzmacher [Mon, 5 Dec 2005 12:25:19 +0000 (12:25 +0000)]
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)
Stefan Metzmacher [Mon, 5 Dec 2005 12:18:16 +0000 (12:18 +0000)]
r12070: make sure a unique record with multiple addresses becauses mhomed
metze
(This used to be commit
4be3b576f2926279686ecada52144b9df8165a03)
Stefan Metzmacher [Mon, 5 Dec 2005 10:24:07 +0000 (10:24 +0000)]
r12069: fix typo
metze
(This used to be commit
3c442ccb594d1a781e42f2268a3582578ae82d76)
Stefan Metzmacher [Mon, 5 Dec 2005 10:15:56 +0000 (10:15 +0000)]
r12068: a better fix to prevent crashing, on errors
metze
(This used to be commit
7b20f8e66d55774877ec1441175fb707856c6609)
Stefan Metzmacher [Mon, 5 Dec 2005 10:03:10 +0000 (10:03 +0000)]
r12067: print out some more details
metze
(This used to be commit
8207969a5727e54877752be5168931f609591be1)
Stefan Metzmacher [Mon, 5 Dec 2005 07:56:22 +0000 (07:56 +0000)]
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)
Stefan Metzmacher [Mon, 5 Dec 2005 06:55:20 +0000 (06:55 +0000)]
r12065: fix compiler warning
metze
(This used to be commit
c60bac5baa572a597ce6e1c2e3639be4c7daeefc)
Andrew Tridgell [Mon, 5 Dec 2005 06:05:02 +0000 (06:05 +0000)]
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)
Andrew Tridgell [Mon, 5 Dec 2005 06:01:22 +0000 (06:01 +0000)]
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)
Andrew Bartlett [Mon, 5 Dec 2005 04:10:13 +0000 (04:10 +0000)]
r12062: SASL negotiation now requires a gensec_security context, so that we
only try permitted mechanims.
Andrew Bartlett
(This used to be commit
0f50239dc40ee128e4985f8aec5bb5f440a4f3f0)
Andrew Bartlett [Mon, 5 Dec 2005 03:42:28 +0000 (03:42 +0000)]
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)
Andrew Bartlett [Mon, 5 Dec 2005 03:20:40 +0000 (03:20 +0000)]
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)
Andrew Bartlett [Mon, 5 Dec 2005 01:38:26 +0000 (01:38 +0000)]
r12059: Use random keytab names (so we get different keytabs, rather than
share the MEMORY: keytab).
Andrew Bartlett
(This used to be commit
6c43de27086d3c463891598eb55a44877194cb0d)
Andrew Bartlett [Mon, 5 Dec 2005 01:36:53 +0000 (01:36 +0000)]
r12058: Set an anonymous fallback, if the machine account isn't available.
Andrew Bartlett
(This used to be commit
55cb72f5cfe9a2c520c30e11ab34896588e91730)
Andrew Tridgell [Mon, 5 Dec 2005 00:43:50 +0000 (00:43 +0000)]
r12057: fixed authentication in ldb client tools
(This used to be commit
020de11a61a1aa2c77c0a308186c85960c10fe32)
Andrew Bartlett [Sun, 4 Dec 2005 12:17:02 +0000 (12:17 +0000)]
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)
Andrew Bartlett [Sat, 3 Dec 2005 00:47:51 +0000 (00:47 +0000)]
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
(This used to be commit
d5a2de8ef06a08274d25ab005f2a68ec32e226f0)
Andrew Bartlett [Sat, 3 Dec 2005 00:46:23 +0000 (00:46 +0000)]
r12036: Fix more KDC memory leaks (and there are probably still more...).
Andrew Bartlett
(This used to be commit
0c4ea6f6413e260a15c0afe331a066ea7051fd9f)
Andrew Bartlett [Fri, 2 Dec 2005 22:37:07 +0000 (22:37 +0000)]
r12035: Fix memory leaks in the KDC.
Andrew Bartlett
(This used to be commit
b60531b109cf9539a9d58d46436f397346352cee)
Stefan Metzmacher [Fri, 2 Dec 2005 15:51:39 +0000 (15:51 +0000)]
r12024: do some extra sleeping to give the server the chance to handle our reply
metze
(This used to be commit
144bde91b3ccbf40494b3f235a2f2699e32f9ad8)
Stefan Metzmacher [Fri, 2 Dec 2005 15:40:26 +0000 (15:40 +0000)]
r12023: use the NBTD IRPC proxy calls for implementing the challenge and release demand
conflict cases
metze
(This used to be commit
9e84c85b3de178e0dd093ed9344d30d4c9ea6730)
Stefan Metzmacher [Fri, 2 Dec 2005 15:37:52 +0000 (15:37 +0000)]
r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,
used for replication conflicts
metze
(This used to be commit
d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
Stefan Metzmacher [Fri, 2 Dec 2005 15:30:25 +0000 (15:30 +0000)]
r12021: remove shortpath for winsdb_lookup, this isn't needed
metze
(This used to be commit
8fb07b1ea8fdf353da832212289aceef20495bda)
Stefan Metzmacher [Fri, 2 Dec 2005 15:02:21 +0000 (15:02 +0000)]
r12020: fix memory hierachie
metze
(This used to be commit
2433800834293a95669c3c48eb2462b76d1b3029)