1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

6098 Commits

Author SHA1 Message Date
Andrew Tridgell
a92e61c452 r9503: removed duplicate REG_* defines from registry.h now that they are
generated in winreg.h
(This used to be commit fc15e1b003a2b24dc73a6a7f2bbc45e20373dda1)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
27a09eaaab r9501: fixed the SWAT login page for the changes to the userAuth() function that Mimir made
earlier today
(This used to be commit 10b1f95790f2769cdc0e1c6f051cb7cc73f07d69)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
d857d1a965 r9500: userAuth() takes a creds object, not a general object now ...
(This used to be commit 57e6eb9c66ba539a593524d8cfd8836a840ac1ba)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
185adae2f9 r9499: added error checking to the userAuth() call. SWAT is still failing, but at least it now
tells us why
(This used to be commit 4afb16d7b24b1d1ed359048a89950924b363e44a)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
f5f18f2d18 r9498: converted the SWAT regedit backend code to use the OO calls
(This used to be commit c22baee5aafb2937ddfb71942eef5c69544e823c)
2007-10-10 13:34:22 -05:00
Andrew Tridgell
60eb9f87a0 r9497: - converted the winreg library to a more OO style of interface
- added a reg.typestring() method that returns a string representation of a type
(This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)
2007-10-10 13:34:22 -05:00
Andrew Tridgell
2dd966a465 r9496: added a regToVar() function that converts a registry blob variable to a ejs variable.
(This used to be commit 76ffc200794cdae6dcd7d07adb5617f1b09fe435)
2007-10-10 13:34:22 -05:00
Andrew Tridgell
7927513fef r9495: - added an enum for winreg key types, making it easier to read the debug logs
- got rid of winreg_Time, as its just a NTTIME
(This used to be commit 198aff894eb63e6731daf68474d23a2abe21fbb9)
2007-10-10 13:34:22 -05:00
James Peach
eacdca99df r9494: Add ac-archive macro for checking GCC options. Use this to add to
developer CFLAGS to handle different versions of GCC.
(This used to be commit 850d073c8569c758a6998021ee033793425316c9)
2007-10-10 13:34:22 -05:00
Andrew Tridgell
b19ad7281e r9493: our test scripts need to use testok at the end or the errors don't annumulate between scripts
this is why the GetOptions bug wasn't caught by 'make test'
(This used to be commit 20a14b9b35c928a592cf03ebedbc6c89f756af28)
2007-10-10 13:34:21 -05:00
Andrew Tridgell
da6dc01ae2 r9492: it is more usual to return 'undefined' instead of 'false' on a call failing (unless the
call is returning a boolean anyway).

Unfortunately the new GetOptions syntax loses the ability for the caller to know why the
command line arguments were bad. Maybe we would be better always returning an object and
having an is_error element?
(This used to be commit 516ba6d20bd1bd8d0235028515e94a8c4fd6574d)
2007-10-10 13:34:21 -05:00
Andrew Tridgell
fef7a81478 r9491: fixed up a few scripts that need to be updated for the new GetOptions syntax. Mimir, its
a good idea to use grep -r to find places that need fixing when you change the syntax of
a call :-)
(This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)
2007-10-10 13:34:21 -05:00
Andrew Bartlett
115945faca r9490: Fix typo
Andrew Bartlett
(This used to be commit 093b98b5b51d21cce9b2fdeab3d4113bfd96da41)
2007-10-10 13:34:21 -05:00
Stefan Metzmacher
ab5bd6a41d r9482: add --validate and --dump-data options to ndrdump,
this allows us to check the differences in our pull and push code

metze
(This used to be commit f12ab6a9d3bd9d5043e9e602c383085869ddf4db)
2007-10-10 13:34:21 -05:00
Alexander Bokovoy
294f0aaf9c r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
(This used to be commit 4f9f4312e98cce7589fc8e094d08e76cc697ab3d)
2007-10-10 13:34:20 -05:00
Alexander Bokovoy
20f7f49d7f r9478: Fix NTVFS POSIX module to work with EA and blkid after build system changes
(This used to be commit 4b89d7c7296dd7abd2d8bcd3f7b702de7314d9ff)
2007-10-10 13:34:20 -05:00
Rafal Szczesniak
55e746ad56 r9477: Convert popt options to an ejs object. Doesn't seem to break anything
except of popt help (-h) option (unexpected ?).

rafal
(This used to be commit 1990793b23d6198a85ce1bdf6ad43e12015db203)
2007-10-10 13:34:20 -05:00
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