1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

6102 Commits

Author SHA1 Message Date
Stefan Metzmacher
54a703d433 r9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,
this uses a trick with talloc_get_type() to workaround using [value()] vars
in [subcontext_size()]

metze
(This used to be commit 93065f2d34)
2007-10-10 13:34:24 -05:00
Stefan Metzmacher
805c860f6b r9506: as the included file only contains a macro and no logic for configure move the
include to aclocal.m4

metze
(This used to be commit 1b777217ba)
2007-10-10 13:34:24 -05:00
Andrew Bartlett
ba90b652d9 r9505: Work on GENSEC and the code that calls it, for tighter interface
requirements, and for better error reporting.

In particular, the composite session setup (extended security/SPNEGO)
code now returns errors, rather than NT_STATUS_NO_MEMORY.  This is
seen particularly when GENSEC fails to start.

The tighter interface rules apply to NTLMSSP, which must be called
exactly the right number of times.  This is to match some of our other
less-tested modules, where adding flexablity is harder.  (and this is
security code, so let's just get it right).  As such, the DCE/RPC and
LDAP clients have been updated.

Andrew Bartlett
(This used to be commit 134550cf75)
2007-10-10 13:34:24 -05:00
Andrew Tridgell
8f9478b09d r9504: use some low level ejs hackery to give much better exception error messages in both
the web server and smbscript. We can now give backtraces for all internal asserts, not
just high level errors
(This used to be commit 84c756b25c)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
a92e61c452 r9503: removed duplicate REG_* defines from registry.h now that they are
generated in winreg.h
(This used to be commit fc15e1b003)
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 10b1f95790)
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 57e6eb9c66)
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 4afb16d7b2)
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 c22baee5aa)
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 47cf409cdf)
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 76ffc20079)
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 198aff894e)
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 850d073c85)
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 20a14b9b35)
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 516ba6d20b)
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 1ead49f8e8)
2007-10-10 13:34:21 -05:00
Andrew Bartlett
115945faca r9490: Fix typo
Andrew Bartlett
(This used to be commit 093b98b5b5)
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 f12ab6a9d3)
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 4f9f4312e9)
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 4b89d7c729)
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 1990793b23)
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 d1b7a4a24c)
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 3b83cf6b5b)
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 77cbb62998)
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 93e648ade2)
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 e68db751f0)
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 eeacd73ef2)
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 62d55a250a)
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 6f69eeb8f2)
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 3d6739eaa6)
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 de66450c24)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
2280017bbd r9462: Fix locations for generating the yapp files
(This used to be commit 714f96b9bf)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
390924883f r9461: Couple of very small fixes.
(This used to be commit f91121bded)
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 b56084ce25)
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 e48202275e)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
6e388c27d8 r9455: Support for reading the policy database
(This used to be commit 7548a5012a)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
7fca0f1b98 r9453: Add samba3_samaccount (fix the build)
(This used to be commit 65ddea09b9)
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 0a26ee0432)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
70ca861538 r9450: Initial work on reading group mapping database.
(This used to be commit 788fd262fc)
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 651d06728f)
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 9ea601c0a6)
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 fc373fd463)
2007-10-10 13:34:16 -05:00
Simo Sorce
f975eb06f0 r9446: clean up old test file
(This used to be commit 10e4ebcc42)
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
9796ba264c r9445: Support flags, add DATA_BLOB support
(This used to be commit cb5b23f038)
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 dadc89f883)
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 eeced29eb3)
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 a0e63c2691)
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 9be03c057e)
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 70b52e26f3)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
3c4cc87bf8 r9438: Add initial files for ldb_map
(This used to be commit a66eeadecd)
2007-10-10 13:34:14 -05:00