1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

6331 Commits

Author SHA1 Message Date
Alexander Bokovoy
5bd6a11471 r9476: Make intention to ignore result of receiving excplicit. Fixes warning found by Coverity
(This used to be commit d1b7a4a24c3af1bfcc289a3476c9fb33ed2fb840)
2007-10-10 13:34:20 -05:00
Stefan Metzmacher
7fe42c9b18 r9473: - assume the case that happens on most boxes, to remove compiler warnings on them
metze
(This used to be commit 3b83cf6b5bae877cf7c6a858683bc6fe781ad104)
2007-10-10 13:34:20 -05:00
Jelmer Vernooij
5b15e435d1 r9472: Add read-only version of Samba3 registry database (doesn't compile yet)
(This used to be commit 77cbb6299847bab1272cc681f4b8f54a9fca1339)
2007-10-10 13:34:19 -05:00
Deryck Hodge
535c6fa436 r9471: Rough first pass at a menu system. It's hacked together, but
I wanted to just get it working to play with it.  Only the
reg editor works from this menu.  The rest will follow later.

deryck
(This used to be commit 93e648ade28eb7e0fd147fdde281b3edfb2e9367)
2007-10-10 13:34:19 -05:00
Andrew Tridgell
656a885c22 r9470: non-working attempt to add a little table for values to the reg editor
hopefully deryck will be able to tell me what I've screwed up :-)
(This used to be commit e68db751f064a0d968bd0995805141ffe5938ee7)
2007-10-10 13:34:19 -05:00
Deryck Hodge
8005114fda r9469: Add a right-click menu to the SWAT desktop.
This includes a generic showMessage() for opening
a dialog window to the user.

Next is a start menu, and then I'll move on to more
practical functionality... user manager, server config, etc.

deryck
(This used to be commit eeacd73ef2da16337f2968aec86f9f9313085c25)
2007-10-10 13:34:19 -05:00
Andrew Tridgell
f35e72d9ca r9466: add display of values as well as keys in the registry editor
(This used to be commit 62d55a250afa3e3923a6b9da7b59177ad59d55a3)
2007-10-10 13:34:19 -05:00
Andrew Tridgell
f4aa80d88f r9465: handle encoding and decoding of pointers, representing them as a
string containing "(POINTER)"
(This used to be commit 6f69eeb8f258063f1ac911ab38e667e7743ccba3)
2007-10-10 13:34:18 -05:00
Andrew Tridgell
81556a9078 r9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
now use the same free technique as is used for mpr strings, rather than relying on
being a child of the variable
(This used to be commit 3d6739eaa6e1b56d67bc7d9b5350a6911c96597a)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
86e796643e r9463: Fix DumpFunction() (was ignoring elements)
Fix use of pidl for people that don't have it installed...
Generate documentation for pidl debian package
(This used to be commit de66450c242b943cfb226187b0ad14f380f08479)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
2280017bbd r9462: Fix locations for generating the yapp files
(This used to be commit 714f96b9bf2c6271f23bfcd35c58d5bf7b29aae2)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
390924883f r9461: Couple of very small fixes.
(This used to be commit f91121bded545b414b873cd3f3824556d0d2a42e)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
59b13f9a1d r9460: - Move pidl to lib/. This fixes standalone installation of pidl.
- Update the README
- Allow building the docs stand-alone
(This used to be commit b56084ce251ab7a35dd1422f38de258e8e1e1477)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
efc03df292 r9459: Move pidl up one level (to prevent too much nesting)
(This used to be commit e48202275e60c18e464457d200daeb953386e221)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
6e388c27d8 r9455: Support for reading the policy database
(This used to be commit 7548a5012aad41bde0652d4532d184545997be86)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
7fca0f1b98 r9453: Add samba3_samaccount (fix the build)
(This used to be commit 65ddea09b952452468aa4319e97d272a61ae7c06)
2007-10-10 13:34:17 -05:00
Simo Sorce
894a1ed5ae r9451: some fixes now core.schema and cosine.schema are also read properly
(This used to be commit 0a26ee04322a06069be48dbc33307e4997700f74)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
70ca861538 r9450: Initial work on reading group mapping database.
(This used to be commit 788fd262fc736a1bdb0fe6f266b31b2268f9d8d8)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
0b3f8c443d r9449: Add simple utility for dumping Samba3 domain information. Currently
only prints rids and usernames of users in passdb database.

Update plan
(This used to be commit 651d06728fb21393c15268ea47689c738c2c6b86)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
7de12a8d50 r9448: Work on reading the secrets tdb. Build tdbsam support by default.
(This used to be commit 9ea601c0a675767f8ea5f316c9355572dffbc4c0)
2007-10-10 13:34:16 -05:00
Simo Sorce
5c16371daa r9447: Add a new tool to convert openLdap schema files into an ldif
My first test with nis.schema seem to confirm it works properly

Use a command line like:
oLschema2ldif -I tests/schema/nis.schema -O nis_schema.ldif -b "dc=sambadom,dc=samba,dc=org"
to see how it works.

SSS
(This used to be commit fc373fd4631420c9d8d4087a2c698b08e18372d7)
2007-10-10 13:34:16 -05:00
Simo Sorce
f975eb06f0 r9446: clean up old test file
(This used to be commit 10e4ebcc4233de7c89eb25b679db69b41b3d8273)
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
9796ba264c r9445: Support flags, add DATA_BLOB support
(This used to be commit cb5b23f0382ea7e242248cdfbbed82bc4eedfe42)
2007-10-10 13:34:15 -05:00
Deryck Hodge
375d11ac78 r9443: We can now move windows around anywhere on our SWAT "desktop".
QxWidget doesn't accept percentages, so I feed the toplevel
widget the actual brower height/width onload and onresize.

deryck
(This used to be commit dadc89f8839b5c481ba47eeadec9f7bf4d3e14a9)
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
f0b06b36f9 r9442: Support some more primitive types. Fix charset support.
(This used to be commit eeced29eb3dd2cbc4540555bdb642b2685eb9c5c)
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
df3248f108 r9441: Use "const char *" for fixed-size arrays with charset() because
these can require more elements in the local charset (usually UTF8) then
in the wire one.
(This used to be commit a0e63c2691f596cdacbc2e15404829ebca075429)
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
997da16d6c r9440: Fix bug introduced by new zero-padding code. Caught by the buildfarm.
(This used to be commit 9be03c057e229e9cf7fe8b1db04adb9d2f1efc64)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
7c77a16e40 r9439: Make sure the remainder of the array is always initialized if the buffer is
larger then the string to be pushed.
(This used to be commit 70b52e26f31b00637ed7f90f77ff0b2794dad729)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
3c4cc87bf8 r9438: Add initial files for ldb_map
(This used to be commit a66eeadecdcc5f67dd34c4ae82f5ae9191163499)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
85a12fe9af r9437: Update PLAN and README for Samba3 compatibility layer
Add support for reading tdbsam files
(This used to be commit 75ac972909ac601fb876e208a992eeebafaf6417)
2007-10-10 13:34:14 -05:00
Andrew Tridgell
2997f4bd43 r9434: moved the registry editor into a common js library. Deryck, does this
look ok? Apologies if this treads on your toes.
(This used to be commit 8295eb01c0e1eec4f7c5bd211eac80b92ff9549e)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
449c6acd70 r9433: - Update TODO & README
- Extend compatibility module (work towards being able to generate
  Midl-compatible IDL files, pretty much just removing attributes
  midl doesn't know such as value() and charset())
- Support charset() on fixed-size arrays of characters
(This used to be commit 43817eb0bd46aab10d1595ce008d8380565246f0)
2007-10-10 13:34:13 -05:00
Volker Lendecke
520139439e r9431: Check an error code in BASE-DELETE.
Volker
(This used to be commit 71571fffc0493a5658c5980e6ebe4d8f9ada4699)
2007-10-10 13:34:13 -05:00
Jelmer Vernooij
2069f87843 r9430: Remove obsolete file.
Update pidl documentation, including description on ethereal conformance files
Nicer --help ouput
(This used to be commit 6c36864daee75b64fef86ce99cf980106624e0f7)
2007-10-10 13:34:13 -05:00
Jelmer Vernooij
d86fa7c48f r9429: Update link to DCOM spec. Fix HRESULT values.
(This used to be commit fad3413de5655eb6b1a1c4172b02acd80ae24cda)
2007-10-10 13:34:13 -05:00
Tim Potter
75d2cc1cab r9424: Remove duplicate interface name in DCERPC subdissector strings. Also
shorten some of the autogenerated function names.
(This used to be commit f380e86806aca0aa5159fc3ad1f4bdf633375c86)
2007-10-10 13:33:38 -05:00
Tim Potter
00b06c014d r9423: Fix a typo.
(This used to be commit d971da4b1d1f21925f95b9c000f32a88f55b5da0)
2007-10-10 13:33:38 -05:00
Andrew Bartlett
839d0130f8 r9422: Include crypto.h header.
Andrew Bartlett
(This used to be commit 340955220443533cc70dcb0ef9bae4815f30e6c5)
2007-10-10 13:33:37 -05:00
Andrew Bartlett
684c824e9a r9421: Move arcfour code into it's own file, in lib/crypto.
Andrew Bartlett
(This used to be commit ca6cf462708810637544d4b4bef0f404fb89a002)
2007-10-10 13:33:37 -05:00
Andrew Bartlett
6baa6e0aa8 r9420: Fix the SPNEGO system again: Update the state position after
processing the state.

Andrew Bartlett
(This used to be commit c3a8080a189e084c5774bdd1a9f3ea62daed715e)
2007-10-10 13:33:37 -05:00
Andrew Bartlett
1ba76ee8ba r9419: Silly, silly, untested mistake...
Andrew Bartlett
(This used to be commit 66cdd4dbd7f4024b49bcc9fe1c7ff2a0de7e82e8)
2007-10-10 13:33:37 -05:00
Andrew Bartlett
7f7b6a59b4 r9418: SPNEGO fixes:
- Fix mixing of code and data
- send mechListMic again in SPENGO server
- only send optomistic first packet in the client.
(This used to be commit 9941da8081ef5a669b0946265860d2f20d3718d3)
2007-10-10 13:33:36 -05:00
Andrew Bartlett
897e9f2b4d r9417: Ask for the ASYNC_REPLIES feature, as will want that.
Andrew Bartlett
(This used to be commit 8cb8f99ae602f3bca0235e5e695ecb1ba55b0e46)
2007-10-10 13:33:36 -05:00
Andrew Bartlett
7e36c7e607 r9416: Cleanups inspired by jra's work to migrate Samba4's NTLMSSP code back
into Samba3.

The NTLMSSP sign/seal code now assumes that GENSEC has already checked
to see if SIGN or SEAL should be permitted.  This simplfies the code
ensures that no matter what the mech, the correct code paths have been
set in place.

Also remove duplication caused by the NTLMv2 code's history, and
document why some of the things a bit funny.

In SPNEGO, create a new routine to handle the negTokenInit creation.
We no longer send an OID for a mech we can't start (like kerberos on
the server without a valid trust account).

Andrew Bartlett
(This used to be commit fe45ef608f961a6950d4d19b4cb5e7c27b38ba5f)
2007-10-10 13:33:36 -05:00
Andrew Bartlett
40f56f63be r9415: Remove old kerberos code (including salt guessing code) that has only
caused me pain (and covourty warnings).

Simply gensec_gssapi to assume the properties of lorikeet-heimdal,
rather than having #ifdef around critical features.  This simplifies
the code rather a lot.

Andrew Bartlett
(This used to be commit 11156f556db678c3d325fe5ced5e41a76ed6a3f1)
2007-10-10 13:33:36 -05:00
Andrew Bartlett
479be53c0a r9414: Fix failure to find own domain info due to recent ldb_dn upgrade - we
don't use a simple char* here any more.

Andrew Bartlett
(This used to be commit f21c31c7e151e23caa2699b1727d1ae310fbed4e)
2007-10-10 13:33:36 -05:00
Andrew Bartlett
55f5453bc8 r9413: Bring Samba4 back up to date with lorikeet-heimdal.
Delete test_crypto_wrapping.c, previously included but unbuilt.

Andrew Bartlett
(This used to be commit d5fb30fb0cef330e0947969f0c9afc1f58fc4c7d)
2007-10-10 13:33:35 -05:00
Andrew Bartlett
b456bfa015 r9412: Simplfy this NTLM authentication code by requiring the caller to
supply the user_sess_key and lm_sess_key parameters.  Inspired by
coverty complaining about inconsistant checking.

Also factor out some of this code, where we deal with just NT and LM
hashes, or embedded plaintext passwords.

Andrew Bartlett
(This used to be commit ceec35564f44c8043888c8ffa776f137bd1171c8)
2007-10-10 13:33:35 -05:00
Andrew Bartlett
8e11003e21 r9411: Ensure we don't send a challenge without first getting a negotiate in
NTLMSSP, unless we are in datagram mode (not fully implemented yet).

Andrew Bartlett
(This used to be commit 727f5109421e9414a335e42e3ad3dd3ff19776bd)
2007-10-10 13:33:35 -05:00
Andrew Tridgell
d5edfef325 r9410: - a winreg_CloseKey() should return a zero key on success (zeroing the
callers key). This is the normal pattern with rpc handles.

- fixed reference to undefined error variable in winreg_DeleteKey()
(This used to be commit 6757d51a280d6c393648a384f1ef3ca403517352)
2007-10-10 13:33:35 -05:00