Jelmer Vernooij [Sun, 5 Mar 2006 17:15:19 +0000 (17:15 +0000)]
r13840: Mark some functions as public.
(This used to be commit
9a188eb1f48a50d92a67a4fc2b3899b90074059a)
Jelmer Vernooij [Sun, 5 Mar 2006 16:05:26 +0000 (16:05 +0000)]
r13839: Use registration mechanism for backends as well (in the same sense
my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.
(This used to be commit
fb2f70de4f6c4a9b13ad590cb4d3a9c858cede49)
Simo Sorce [Fri, 3 Mar 2006 22:52:57 +0000 (22:52 +0000)]
r13827: Minor enhancements or cosmetic changes
(This used to be commit
7ef63abae12f65835a82f9931ad1f5ea75e5f3f6)
Simo Sorce [Fri, 3 Mar 2006 22:52:38 +0000 (22:52 +0000)]
r13826: Try to keep this backend updated
This need more testing and to be built by default when possible
(This used to be commit
76cbab0e252620ef6591e2a7354484660bbb6df5)
Simo Sorce [Fri, 3 Mar 2006 20:01:19 +0000 (20:01 +0000)]
r13823: make async_wait part of the modules ops
(This used to be commit
b4202cf030d5f154f0f94f5f501ecd648ba5c48f)
Simo Sorce [Fri, 3 Mar 2006 17:44:03 +0000 (17:44 +0000)]
r13818: Make ldb_tdb 'fake' async.
Simo.
(This used to be commit
0db616ef59ed51cac7e0bfaea8a799d5aa42ef16)
Stefan Metzmacher [Fri, 3 Mar 2006 08:28:42 +0000 (08:28 +0000)]
r13813: fix compiler warnings
metze
(This used to be commit
f1471c6c6ca796b5852e940ba88563b2edc21167)
Stefan Metzmacher [Fri, 3 Mar 2006 08:23:57 +0000 (08:23 +0000)]
r13812: fix compiler warning
metze
(This used to be commit
1340cb1f3bdbde4d3759d77b28631611c4e150bb)
Stefan Metzmacher [Fri, 3 Mar 2006 08:21:11 +0000 (08:21 +0000)]
r13811: nicer format...
metze
(This used to be commit
89f7a2b93f7b69339baddff2ac30e648d7b2f8b9)
Stefan Metzmacher [Fri, 3 Mar 2006 08:17:55 +0000 (08:17 +0000)]
r13810: global data types are defined in core.h now...
metze
(This used to be commit
c6137a1af982bd77e4b24d05e82c8621b36d0fac)
Stefan Metzmacher [Fri, 3 Mar 2006 08:15:29 +0000 (08:15 +0000)]
r13809: move ldb specific define
metze
(This used to be commit
6f47fcbd44ae83e7268aedf91ac56fff4189c763)
Stefan Metzmacher [Fri, 3 Mar 2006 08:08:46 +0000 (08:08 +0000)]
r13808: remove unused define
metze
(This used to be commit
b639b814d912891d32c31f0995df7c06d6a10522)
Stefan Metzmacher [Fri, 3 Mar 2006 08:01:09 +0000 (08:01 +0000)]
r13807: print out the netbios name the packet is for
metze
(This used to be commit
e73cc5060c4cf4ac286c407fb8a323ce6be6b79c)
Andrew Tridgell [Fri, 3 Mar 2006 02:29:48 +0000 (02:29 +0000)]
r13803: fixed two errors found with 'make valgrindtest'
(This used to be commit
4257fd91ceca34dd868a9168efc28b6cb63f0357)
Jelmer Vernooij [Thu, 2 Mar 2006 17:06:49 +0000 (17:06 +0000)]
r13790: Add Samba as category
(This used to be commit
71f64baa87ea49fe3d52262117c05aa51d5e138e)
Jelmer Vernooij [Thu, 2 Mar 2006 16:55:35 +0000 (16:55 +0000)]
r13789: Add metadata files for the GTK+ apps
(This used to be commit
3e980a75c5adc2a870de07771c7ce1d737a6fb3e)
Jelmer Vernooij [Thu, 2 Mar 2006 16:32:53 +0000 (16:32 +0000)]
r13786: [merge] Add registration functions for LDB modules
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.
The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
(This used to be commit
52a235650514039bf8ffee99a784bbc1b6ae6b92)
Simo Sorce [Wed, 1 Mar 2006 20:06:34 +0000 (20:06 +0000)]
r13773: Be consistent in the way you get out and free allocated data
(This used to be commit
1113d4caa7bea1a7ffb9a50f42c5672bc1d452b4)
Stefan Metzmacher [Wed, 1 Mar 2006 15:02:07 +0000 (15:02 +0000)]
r13770: - do fsync() on the debug fd, as we do in samba3,
I have an report that smbd memory usage grows to 1,5 GB or more
without this...
- make log_timestamp static
metze
(This used to be commit
551dd12baf9340ab070c8a8edca6b56770243a61)
Stefan Metzmacher [Wed, 1 Mar 2006 13:20:32 +0000 (13:20 +0000)]
r13769: the "wins partners"-option will not be readded
metze
(This used to be commit
7a1a486727c50a64c6e80df51b98ede3ee1e930f)
Stefan Metzmacher [Wed, 1 Mar 2006 13:19:10 +0000 (13:19 +0000)]
r13768: be less verbose...
metze
(This used to be commit
18fe8a6fbb7b01c0c4d4318ca39ac0af9bab5e5f)
Stefan Metzmacher [Wed, 1 Mar 2006 12:10:10 +0000 (12:10 +0000)]
r13767: fix compiler warnings
metze
(This used to be commit
0ab3a42341bc1b44de4834adf010a0e511383bfa)
Jelmer Vernooij [Tue, 28 Feb 2006 19:47:02 +0000 (19:47 +0000)]
r13760: Remove extern declaration for SMB_PASSWD_FILE
(This used to be commit
8e2efc9981695495b0da3739f55a8e7f88de8e2a)
Jelmer Vernooij [Tue, 28 Feb 2006 13:33:48 +0000 (13:33 +0000)]
r13754: Update TODO
(This used to be commit
3b17f48343631389cf8ae9967d02900a4724d77b)
Jelmer Vernooij [Tue, 28 Feb 2006 13:17:39 +0000 (13:17 +0000)]
r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs
(This used to be commit
fb620c2706fec93f34afcdbafa999fbaff724467)
Jelmer Vernooij [Tue, 28 Feb 2006 13:12:39 +0000 (13:12 +0000)]
r13752: Add doxyfile and fix formatting of comments. Current output is available at samba.org/~jelmer/util-api/
(This used to be commit
90812203df151a5e62394306827c72adfe13c63c)
Andrew Tridgell [Tue, 28 Feb 2006 05:48:21 +0000 (05:48 +0000)]
r13745: remove some code I was experimenting with and forgot was there when I
committed
that will teach me to run svn diff before committing ....
(This used to be commit
ef6e30c72cf610728584dfab1755b47bfc53f01c)
Simo Sorce [Tue, 28 Feb 2006 04:38:53 +0000 (04:38 +0000)]
r13744: Make ldb_ldap async
(This used to be commit
ec833b409c1fff4ab908fe194579e701d2e950b0)
Simo Sorce [Tue, 28 Feb 2006 04:37:47 +0000 (04:37 +0000)]
r13743: Generic fixes and improvements
(This used to be commit
c5eb27e5f7b23e5aa7e0fb1e11abfc760b499e85)
Simo Sorce [Tue, 28 Feb 2006 04:36:29 +0000 (04:36 +0000)]
r13742: Fix tests to work better with ldap
(This used to be commit
4de76fd09e74a4a98d01777dd11bd2cfb1a681aa)
Andrew Tridgell [Tue, 28 Feb 2006 04:02:26 +0000 (04:02 +0000)]
r13741: make the pointer type in pidl handle any size pointer, just in case we
have a 128 bit machine out there somewhere
(This used to be commit
4a1b7580a7ea5db7d10c8ee6a5b3950313b7d273)
Andrew Tridgell [Tue, 28 Feb 2006 03:49:13 +0000 (03:49 +0000)]
r13740: the BASE-DELETE test now passes, and is a quick test
(This used to be commit
b6c2d1e0b958a029053f7d1f5abef00708d018e1)
Andrew Tridgell [Tue, 28 Feb 2006 03:47:02 +0000 (03:47 +0000)]
r13739: a fairly major overhaul of the opendb code to allow the BASE-DELETE
test to pass. To try to make the code a bit more understandable, I
moved to using an IDL description of the opendb tdb record format.
One of the larger changes was to make directory opens and creates go
via the opendb code, so directory operations now obey all the share
mode restrictions, as well as delete on close semantics. I also
changed the period over which the opendb locks are held, to try to
minimise races due to two open operations happening at the same time.
(This used to be commit
cd2602d05725e1734b0862131dd91601c6b6d51a)
Andrew Tridgell [Tue, 28 Feb 2006 03:42:19 +0000 (03:42 +0000)]
r13738: added support for a "pointer" type in pidl. This will be used in the
opendb work that will be committed shortly.
The pointer type assumes that pointers fit in 64 bits, which is
probably OK on all our supported architectures.
(This used to be commit
d2a2057ea5af140ca88a9c305a38fc5dca9eaafd)
Jelmer Vernooij [Tue, 28 Feb 2006 00:01:04 +0000 (00:01 +0000)]
r13735: Add summary of changes since the first TP so far. Please let me know
if I've gotten details wrong or if there's something missing.
(This used to be commit
95a85998061f538692f0e70cdc7d8a946fde7871)
Rafal Szczesniak [Mon, 27 Feb 2006 19:55:21 +0000 (19:55 +0000)]
r13726: Fix indentation.
rafal
(This used to be commit
cedaf08170fddc8e4a3f9e4aea0f2c7f08759061)
Stefan Metzmacher [Mon, 27 Feb 2006 10:23:59 +0000 (10:23 +0000)]
r13710: fix compiler warnings
metze
(This used to be commit
6ee7de9bbf6ff55221fc8e3a6f467e69e564e2e1)
Stefan Metzmacher [Mon, 27 Feb 2006 10:14:11 +0000 (10:14 +0000)]
r13709: fix compiler warnings
metze
(This used to be commit
291da7bac3e8707009b239bd3c8b0a0d14f54481)
Stefan Metzmacher [Mon, 27 Feb 2006 09:57:14 +0000 (09:57 +0000)]
r13708: fix compiler warnings
metze
(This used to be commit
830c42afda70c616ccd32703c6e7c47f38c2271c)
Andrew Tridgell [Mon, 27 Feb 2006 03:23:28 +0000 (03:23 +0000)]
r13707: expanded the delete on close test some more, and make it easier to
track down where a error is happening. The semantics sure are strange!
(This used to be commit
f722aed66d19edc6b49ecde927853aaa7895ab91)
Andrew Tridgell [Mon, 27 Feb 2006 01:03:21 +0000 (01:03 +0000)]
r13701: removed some unnecessary casts
(This used to be commit
f7d0ac936380102e087d4b7c336d7feb68b62314)
Andrew Tridgell [Mon, 27 Feb 2006 00:39:26 +0000 (00:39 +0000)]
r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
the @BASEINFO sequenceNumber
(simo, I changed the function pointer to a structure element as you
preferred)
(This used to be commit
68c9ac38c7eed221b44499ee3d74597063dfe7a1)
Andrew Tridgell [Mon, 27 Feb 2006 00:36:08 +0000 (00:36 +0000)]
r13699: restore the system/select.h include, as otherwise we don't detect
epoll support
(This used to be commit
71eb159f9cc00e8de23a8700cea0e7a3be8c64d4)
Jelmer Vernooij [Thu, 23 Feb 2006 20:56:10 +0000 (20:56 +0000)]
r13662: Typo fix, add more public headers
(This used to be commit
d98948716f237c3a501b283a0bbc3837bb3fd3c8)
Jelmer Vernooij [Thu, 23 Feb 2006 15:52:24 +0000 (15:52 +0000)]
r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
- Remove even more files from include/
(This used to be commit
ba62880f5b05c2a505dc7f54676b231197a7e707)
Jelmer Vernooij [Thu, 23 Feb 2006 12:48:13 +0000 (12:48 +0000)]
r13655: Use new name of build header
(This used to be commit
bca0e8054f6d9c7adc9d92e0c30d4323f994c9e9)
Jelmer Vernooij [Thu, 23 Feb 2006 12:44:21 +0000 (12:44 +0000)]
r13654: Move some more stuff out of include/
(This used to be commit
2ec7bba03a2edf713004941e9ed74798f5cf8d32)
Jelmer Vernooij [Thu, 23 Feb 2006 11:52:55 +0000 (11:52 +0000)]
r13653: Copy headers from the right place
(This used to be commit
5e884f156f8f824b0540351ce07cd423595d9d1f)
Jelmer Vernooij [Thu, 23 Feb 2006 11:29:01 +0000 (11:29 +0000)]
r13652: Move some more stuff out off include/
(This used to be commit
26bf2a393b90acc098be0b30886dbba34d348a01)
Jelmer Vernooij [Thu, 23 Feb 2006 09:58:24 +0000 (09:58 +0000)]
r13651: Always make sure pkgconfig directory exists
(This used to be commit
45997039148e5d689dacf4d47c09740b937ac379)
Jelmer Vernooij [Thu, 23 Feb 2006 09:55:50 +0000 (09:55 +0000)]
r13650: Install manpages when building standalone
(This used to be commit
65128577a9909872bebb576f548668600352a645)
Jelmer Vernooij [Thu, 23 Feb 2006 09:33:44 +0000 (09:33 +0000)]
r13649: Move the general introduction to Samba4 to README and
prepare WHATSNEW.txt for release notes (similar as we do for Samba3).
(This used to be commit
b4e9f0c99510413e851495bce5f02081beef38c3)
Günther Deschner [Wed, 22 Feb 2006 16:25:31 +0000 (16:25 +0000)]
r13637: Adding more netr_UserFlags.
Guenther
(This used to be commit
3ad84a844c612104592ddee07c9512eddb3467ae)
Günther Deschner [Wed, 22 Feb 2006 14:07:04 +0000 (14:07 +0000)]
r13634: Fix typo.
Guenther
(This used to be commit
cd569446a1bbfca08ff16a06b3af7bb94986a5ad)
Günther Deschner [Wed, 22 Feb 2006 14:05:49 +0000 (14:05 +0000)]
r13633: Adding more SE_GROUP bits and make it a bitmask as well.
Guenther
(This used to be commit
8e939896822e9727919a49638c818a7d7faabb78)
Günther Deschner [Wed, 22 Feb 2006 13:56:46 +0000 (13:56 +0000)]
r13632: The "password_properties" is a bitmask as well.
Guenther
(This used to be commit
0d918764b1f0c1aa65f826b9a845746c914f87df)
Günther Deschner [Wed, 22 Feb 2006 13:53:33 +0000 (13:53 +0000)]
r13631: Add DOMAIN_PASSWORD_LOCKOUT_ADMINS (this bit only allows to lockout
Administrator, not Domain Admins in general).
Guenther
(This used to be commit
abad44a57dfdf492f548c05a897af341ba0f5e68)
Günther Deschner [Wed, 22 Feb 2006 13:52:00 +0000 (13:52 +0000)]
r13630: Add new ACB-bits as seen in acct_flags in the PAC info3
(merge from Samba 3).
Guenther
(This used to be commit
fa1127c5456fd112568e929e409953dcd3cb2e21)
Stefan Metzmacher [Wed, 22 Feb 2006 13:42:54 +0000 (13:42 +0000)]
r13629: export env-vars
metze
(This used to be commit
fbd78b6272eaca4b89071139e4b34cbdd15ed644)
Stefan Metzmacher [Wed, 22 Feb 2006 13:37:21 +0000 (13:37 +0000)]
r13628: fix the logic:-)
metze
(This used to be commit
7f1de54c84f86c292833c7e66ab2699ee4f83c52)
Stefan Metzmacher [Wed, 22 Feb 2006 12:10:29 +0000 (12:10 +0000)]
r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
(This used to be commit
ae559920e1d227e4e787fe34d908a965b922b284)
Stefan Metzmacher [Wed, 22 Feb 2006 11:53:04 +0000 (11:53 +0000)]
r13626: fix make test
metze
(This used to be commit
2acf203949998f3ca2423a8535302a777accacb7)
Stefan Metzmacher [Wed, 22 Feb 2006 11:19:46 +0000 (11:19 +0000)]
r13624: as abartlet requested, move the saslauthd parsing stuff to a seperate file
metze
(This used to be commit
3c8bc98c1bc654287a3a16277c7c63c476ddfff4)
Stefan Metzmacher [Wed, 22 Feb 2006 11:11:16 +0000 (11:11 +0000)]
r13623: - make sure ntvfs_map_qfileinfo isn't used for async replies
- add some comments
metze
(This used to be commit
e1611b622184b48d2cef1eff2646a09f9e691f9b)
Stefan Metzmacher [Wed, 22 Feb 2006 10:23:14 +0000 (10:23 +0000)]
r13621: add an idl structure to parse saslauthd requests
metze
(This used to be commit
d003654b1c1cbc00602e994b83f40fcfcf349596)
Stefan Metzmacher [Wed, 22 Feb 2006 09:50:07 +0000 (09:50 +0000)]
r13620: initialize the CMD with 0 too
metze
(This used to be commit
7cf1423bc850aca93453d337b49ba593a034000d)
Stefan Metzmacher [Wed, 22 Feb 2006 09:49:07 +0000 (09:49 +0000)]
r13619: fix compiler warning
metze
(This used to be commit
7b284174aa36fdd5d6841dab4934f1f6ecfba4ce)
Stefan Metzmacher [Wed, 22 Feb 2006 09:48:35 +0000 (09:48 +0000)]
r13618: fix compiler warning
metze
(This used to be commit
252d5edfb5b4c2a32f943e881f19b61698e9662f)
Stefan Metzmacher [Wed, 22 Feb 2006 09:48:13 +0000 (09:48 +0000)]
r13617: fix compiler warning
metze
(This used to be commit
082f418fab867e1ca5ab9418514d5578a069eebb)
Andrew Bartlett [Wed, 22 Feb 2006 09:28:58 +0000 (09:28 +0000)]
r13616: Add new ldb functions: ldb_msg_add_steal_string() and
ldb_msg_add_steal_value().
These try to maintain the talloc heirachy, which must be correct
otherwise talloc_steal operations of entire attribute lists fails.
This fixes the currentTime value, found by using Microsoft's dcdiag
tool (before this commit, it pointed to invalid memory, due to the
changes in -r 13606)
Andrew Bartlett
(This used to be commit
424df1bb369fddcfd358cf26dd0da9d3851d181e)
Simo Sorce [Wed, 22 Feb 2006 05:21:43 +0000 (05:21 +0000)]
r13615: Make ldb_set_errstring get ldb instead of module as parameter.
The module was just used to get to the ldb so it was meningless.
Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c
(This used to be commit
d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
Simo Sorce [Wed, 22 Feb 2006 01:31:35 +0000 (01:31 +0000)]
r13609: Get in the initial work on making ldb async
Currently only ldb_ildap is async, the plan
is to first make all backend support the async calls,
and then remove the sync functions from backends and
keep the only in the API.
Modules will need to be transformed along the way.
Simo
(This used to be commit
1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
Andrew Bartlett [Wed, 22 Feb 2006 00:26:56 +0000 (00:26 +0000)]
r13606: An attempt to fix #3525.
The problem was that the supportedControls were being stolen into the
result sent to the client, then talloc_free()ed. This caused them to
be invalid on the next rootDSE query.
This also tries to avoid attaching the result to the long-term samdb
context, and avoids an extra loop in the result processing (pointed
out by tridge).
Andrew BARtlett
(This used to be commit
d0b8957f38fda4d84a318d6121ad87ba53a9ddb3)
Andrew Bartlett [Wed, 22 Feb 2006 00:18:07 +0000 (00:18 +0000)]
r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
(This used to be commit
b0e7a58cc9e513240c117ad5464c613c7b62410d)
Simo Sorce [Tue, 21 Feb 2006 16:03:58 +0000 (16:03 +0000)]
r13592: Incredible how bugs like this can sweep in even after peer review and testing ...
(This used to be commit
8483f61a1df0c80f3385b1ab5a2628c2a97d41a2)
Andrew Bartlett [Tue, 21 Feb 2006 00:17:52 +0000 (00:17 +0000)]
r13584: Another try at SPNEGO stuff. I need to write a better testsuite for this.
This tries to ensure that when we are a client, we cope with mechs
(like GSSAPI) that only abort (unknown server) at first runtime.
Andrew Bartlett
(This used to be commit
cb5d18c6190fa1809478aeb60e352cb93c4214f6)
Andrew Bartlett [Tue, 21 Feb 2006 00:07:59 +0000 (00:07 +0000)]
r13583: Realise that the member server name appears in all calls that use the
credentials.
Consistantly rename these elements in the IDL to computer_name.
Fix the server-side code to always lookup by this name.
Add new, even nastier tests to RPC-SCHANNEL to prove this.
Andrew Bartlett
(This used to be commit
341a0abeb4a9f88d64ffd4681249cb1f643a7a5a)
Andrew Bartlett [Tue, 21 Feb 2006 00:05:01 +0000 (00:05 +0000)]
r13582: Indent
(This used to be commit
06ddac2bb1899937b79e3bf89cb84c750c3ce4c5)
Simo Sorce [Mon, 20 Feb 2006 22:21:21 +0000 (22:21 +0000)]
r13580: fix broken client side sort
(This used to be commit
cbbc0d7cc4f589235d209011bdb0a0401b492d9e)
Jelmer Vernooij [Mon, 20 Feb 2006 20:40:51 +0000 (20:40 +0000)]
r13577: Move some (possibly system-defined) defines to replace.h
(This used to be commit
2b3d56e153b229119fddfa7b378f4d671ee0092c)
Rafal Szczesniak [Mon, 20 Feb 2006 18:03:58 +0000 (18:03 +0000)]
r13572: Comments to async pipe open functions and copyright note.
rafal
(This used to be commit
7dde77942bfcb73dfdd7a9840d3ba2a984c05064)
Rafal Szczesniak [Mon, 20 Feb 2006 17:30:15 +0000 (17:30 +0000)]
r13568: Comments to async rpc connect functions.
rafal
(This used to be commit
9ef2275f6179869f2683e96c6f91d9569a6360c8)
Rafal Szczesniak [Sun, 19 Feb 2006 16:58:48 +0000 (16:58 +0000)]
r13561: Turn all dcerpc connect and socket functions to async version.
Now, each rpc interface (named pipe, tcp/ip, lrpc and unix
socket) works asynchronously.
Comments to follow.
rafal
(This used to be commit
789f9d43db7ea59e79d5aa498e2e9fd077448825)
Andrew Bartlett [Fri, 17 Feb 2006 23:51:43 +0000 (23:51 +0000)]
r13551: Add an accessor function for the user sid.
Andrew Bartlett
(This used to be commit
273cb8fd4288f7bf15e0bcad9f6a4cbf4f142b24)
Andrew Bartlett [Wed, 15 Feb 2006 21:08:10 +0000 (21:08 +0000)]
r13516: We can't bind to both 0.0.0.0 and specific network interfaces at the
same time.
This was causing the kdc to shut itself down if 'bind interfaces only = no'.
Andrew Bartlett
(This used to be commit
02ff22a25050687478cfcca4dce35c2346cc2241)
Stefan Metzmacher [Wed, 15 Feb 2006 15:19:10 +0000 (15:19 +0000)]
r13508: some ASN.1 element in LDAP are optional,
make it possible to code the difference between a zero length and a NULL DATA_BLOB...
metze
(This used to be commit
54f0b19c55df8ad3882f31a114e2ea0e4cf940ae)
Stefan Metzmacher [Wed, 15 Feb 2006 15:13:05 +0000 (15:13 +0000)]
r13507: the 'data' element of LDAP controls is optional.
(prepare the next commit)
metze
(This used to be commit
a1bbf7f2982185cb6cd544b65b4709ab33a850c5)
Stefan Metzmacher [Wed, 15 Feb 2006 13:33:33 +0000 (13:33 +0000)]
r13506: zero memory as some ASN.1 elements are optional, and we should initialize
them for the internal use...
found by 'make valgrindtest'
metze
(This used to be commit
1db9501c5261a974c6da1938537c7991ff6cfefd)
Andrew Tridgell [Wed, 15 Feb 2006 04:18:11 +0000 (04:18 +0000)]
r13505: allow servers to bind to non-broadcast interfaces. Servers now
specifically ask for iface_n_bcast() and have to check if it returns
NULL, in which case it is a non-broadcast interface
(This used to be commit
d004e250b6710251ea089ac242775481f13b5c2b)
Andrew Tridgell [Wed, 15 Feb 2006 02:56:31 +0000 (02:56 +0000)]
r13504: add back in a comment noting fred as the contributor of the address
calculation code. This was originally done in 1997, and has been
morphed a lot since then, but fred should still get credit
(This used to be commit
172e41596fb3b4d2768d6885aea43295cc2f81c1)
Andrew Bartlett [Mon, 13 Feb 2006 00:08:16 +0000 (00:08 +0000)]
r13481: As far as I can tell, my changes in -r 12863 were dangerously untested.
We do need the gsskrb5_get_initiator_subkey() routine. But we should
ensure that we do always get a valid key, to prevent any segfaults.
Without this code, we get a different session key compared with
Win2k3, and so kerberised smb signing fails.
Andrew Bartlett
(This used to be commit
cfd0df16b74b0432670b33c7bf26316b741b1bde)
Andrew Bartlett [Mon, 13 Feb 2006 00:04:28 +0000 (00:04 +0000)]
r13480: Explain a little about how these credentials structures should be used.
Andrew Bartlett
(This used to be commit
b90959f7968ebbfc82ac55d4775d5574b1fc6925)
Andrew Bartlett [Mon, 13 Feb 2006 00:02:31 +0000 (00:02 +0000)]
r13479: Return the joined domain SID and user SID as structures, not strings.
Andrew Bartlett
(This used to be commit
e1de45bce47292eef1f9c56ea5576c0436e6151d)
Andrew Bartlett [Sun, 12 Feb 2006 14:19:31 +0000 (14:19 +0000)]
r13472: After Volker's advise, try every combination of parameters. This
isn't every parameter on NTLMSSP, but it is most of the important
ones.
This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.
Andrew Bartlett
(This used to be commit
990da31b5f63f1e707651af8bf1a3241a8309811)
Andrew Bartlett [Sun, 12 Feb 2006 13:53:42 +0000 (13:53 +0000)]
r13471: With more 'try all options' testing, I found this 'simple' but in the
NTLM2 signing code.
Andrew Bartlett
(This used to be commit
16e5c968756c40b8595503da47a1adb9cb09c447)
Andrew Bartlett [Sun, 12 Feb 2006 12:42:37 +0000 (12:42 +0000)]
r13470: Thanks to a report from VL:
We were causing mayhem by weakening the keys at the wrong point in time.
I think this is the correct place to do it. The session key for SMB
signing, and the 'smb session key' (used for encrypting password sets)
is never weakened.
The session key used for bulk data encryption/signing is weakened.
This also makes more sense, when we look at the NTLM2 code.
Andrew Bartlett
(This used to be commit
3fd32a12094ff2b6df52f5ab2af7c0ffceb5a4a0)
Andrew Bartlett [Sun, 12 Feb 2006 12:06:08 +0000 (12:06 +0000)]
r13467: Add new parametric options (for testing) controlling LM_KEY and 56-bit
encryption behaviour.
Andrew Bartlett
(This used to be commit
2b3b2f33a4c531f2b0f65521cc352e6d762e95bd)
Andrew Bartlett [Sun, 12 Feb 2006 12:04:41 +0000 (12:04 +0000)]
r13466: Make it easier to understand what this function actually does.
Andrew Bartlett
(This used to be commit
f075497926f3b8131bf8427ee3a3d5c9e5ee77d7)
Andrew Bartlett [Thu, 9 Feb 2006 03:06:02 +0000 (03:06 +0000)]
r13405: Allow a fallback if SPNEGO is somehow disabled in the client, to just NTLMSSP.
Andrew Bartlett
(This used to be commit
3e96975d910496db87e8e34e310f0f6d283210bf)
Andrew Bartlett [Thu, 9 Feb 2006 03:05:22 +0000 (03:05 +0000)]
r13404: Comments, whitespace.
Andrew Bartlett
(This used to be commit
04e2fe8b6d293092af86a54215c1fa037bbb20e9)