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
Jelmer Vernooij
b42f358d51 r9576: Couple of small fixes. Generate notice indicating
that the parsers were autogenerated.
(This used to be commit a37e2134e61eb38e9cbc54f8533113622f013037)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
26bae69bb9 r9575: more automatic cleanup code in winreg test
(This used to be commit 0e30c80a53af45ee9112513c02a6a231e8b1a133)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
3eb52c6cd6 r9574: - made the sec_info fields in lsa and samr use a IDL bitmap
- fixed winreg_GetKeySecurity() to use a sec_info field correctly

- simplied the winreg torture code, removing the separate opens for
  each hive

- added torture cleanup code in winreg test

- added 'create with security descriptor' in the winreg torture test
(This used to be commit f20695decd587f7b6bbdbd4861441bd19ab85078)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
38e2d25eda r9573: fixed a comment
(This used to be commit d151a9459dcbfc88b0dc2ec9dd1cafa18ad5b8f8)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
d42e54648e r9569: fixed an uninitialised variable
(This used to be commit 5c71547703eeb328cdfbefbbfce6da38f7e6c5d5)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
4a37c7ebbe r9568: updated the winreg js library for CreateKey, and add a --createkey
option to the winreg tool
(This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10 13:34:29 -05:00
Andrew Tridgell
649882d8d5 r9567: fixed the winreg IDL for CreateKey, including a security
descriptor. To keep it simple I just use normal IDL buffers for now,
avoiding the complex methods metze used in spoolss. We might change
that later

Also added decoding of the security_descriptor in
winreg_GetKeySecurity() in smbtorture
(This used to be commit 439f34a9621e2e96329c30cfed8d78b8fdfbd8a2)
2007-10-10 13:34:29 -05:00
Andrew Tridgell
cfa981c656 r9566: fix an uninitialised variable
(This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb)
2007-10-10 13:34:29 -05:00
Tim Potter
00e79ceb49 r9563: I think this INIT_OBJ_FILES should be ADD_OBJ_FILES so that the lib/samba3
source files are included in make proto.  Fixes the build with
./configure.developer.
(This used to be commit 691d6a04d76d55bfd61d581759b9be6a72880019)
2007-10-10 13:34:29 -05:00
Tim Potter
12e269c938 r9558: Add more whitespace to generated output.
Change conformance file warning to something more understandable.

Don't generate duplicate duplicate element dissectors for function
call arguments.  Hey this makes the winreg dissector compile, but not
link.
(This used to be commit 545d3deaa43ed2e837a7fb5e0cf5761281a9451f)
2007-10-10 13:34:29 -05:00
Jelmer Vernooij
479ef0a387 r9557: Some more updates. Use combined function for parsing a set of
samba3 databases
(This used to be commit b91a695bd854c6d37ec536edb2db7b6f97fe69dc)
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
6622d3be09 r9556: Define a few libsamba structs
(This used to be commit 46c5cdb673b0a8c6f5e23f96ad4284b6d4f8ae63)
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
c0ab876711 r9555: More updates. Everything except for secrets.c compiles now..
(This used to be commit e59d6156b2d569ca788fe1824148f05f4a7a9918)
2007-10-10 13:34:28 -05:00
Tim Potter
cdb6d52372 r9554: Do a quick once-over to make the ethereal auto-generated parser code a
bit more readable.
(This used to be commit da3ca9e3c1df09983629eeee8baab2196f2135a9)
2007-10-10 13:34:28 -05:00
Tim Potter
2cd71e5101 r9553: Some cosmetic things to make the atsvc dissector output look prettier
and be more usable:

  - nicer formatting for summary of set fields in bitmap.

  - say "Pointer to Foo" in proto_tree instead of just "Foo" when
    dissecting pointers.

  - append string value to proto_tree when dissecting pointers to strings.

  - strip librpc/gen_ndr prefix from includes so generated files can
    live in the ethereal epan/dissectors directory.

Now to work on getting the winreg dissector compiling...
(This used to be commit ab00976699a2deeb3ddca510864520fcb46714bc)
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
c1b6fd5c4b r9552: Add idmap support.
(This used to be commit 37882f22873fdeb3bf4ae90128e335abbd90db5f)
2007-10-10 13:34:27 -05:00
Tim Potter
2867f7869d r9550: Adjust some indentation.
(This used to be commit 781df1691cec6ed59f94313f5ffd40a60f75a0fd)
2007-10-10 13:34:27 -05:00
Jelmer Vernooij
91f4e46dbf r9549: Rerun ./config.status if one of the .mk files changes
(This used to be commit 729b8bd7832b0db19d68dd3348b1b7103ab135fb)
2007-10-10 13:34:27 -05:00
Andrew Bartlett
69578c8b8c r9547: A pile more completeness testing for DsCrackNames.
Andrew Bartlett
(This used to be commit 01c4a970ec22b3915b8017da018bd500b4fffcbc)
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
8569e18c95 r9527: add the magic Bind GUID's, that are needed to fetch the whole
tree with DsGeNCChanges(), this is possible as administrator
without having a DC account joined to the domain

metze
(This used to be commit e6f92444d26734ed984ff1b15a359ef94193945a)
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
e85c8561a0 r9526: provide DCERPC auth type 16
metze
(This used to be commit 995b805e046e6e25544487667d928187e13614d6)
2007-10-10 13:34:26 -05:00
Jelmer Vernooij
ae88822b8c r9519: Use the value() value of an element when that element is used in
limited expressions (size_is,length_is,subcontext_size,etc)
(This used to be commit 886780c298a794f304b0fce851bbb58c53605d17)
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
8385973935 r9518: - remove the subcontext_size() hack from rev 9509
as it isn't needed
- parse some more DsAddEntry() errors
- add some more attid constands so that all attribute that are needed
  for a DsAddEntry in the DC Domain Join are mapped
- add value() for __ndr_size, to more attribute container, so that the caller
  doesn't need to fill them in, that was the reason for getting an NDR_FAULT

metze
(This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0)
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
e987658582 r9517: fix compiler warning: status.v initialized variable used in line 375
tridge: what should be the correct error code?
        see rev 3239!

metze
(This used to be commit 27ec849718b97df2d6f30e2fbacaa0423e918862)
2007-10-10 13:34:25 -05:00
Andrew Bartlett
42d692efe7 r9516: Try a full-on matrix test of all the combinations in DRSUAPI
CrackNames.

Andrew Bartlett
(This used to be commit a82a419579872fc78b02c29972eaf55da22088c1)
2007-10-10 13:34:25 -05:00
Stefan Metzmacher
36dcb8425d r9514: add some new error codes I was getting with DsGetNCChanges() and DsAddEntry()
metze
(This used to be commit 2cbbb8ace215f56e4e9affd54027bbd74309ae3a)
2007-10-10 13:34:25 -05:00
Stefan Metzmacher
51c10eba0d r9513: - let us parse some more replies of DsAddEntry
- give some stuff a meening

metze
(This used to be commit 6d9b8d300829f1dcb3faee666c471c40c24c8aaa)
2007-10-10 13:34:25 -05:00
Stefan Metzmacher
7b211a11c3 r9511: - fix the memory trees
- add a note about a possible talloc_free()

metze
(This used to be commit 550e3030f0e02720b527f3b4923457f05f484e6e)
2007-10-10 13:34:24 -05:00
Stefan Metzmacher
aaa0aff2d6 r9510: fix the memory tree
metze
(This used to be commit 6d412cf0a4186ec04cee61dd5387903de051fde7)
2007-10-10 13:34:24 -05:00
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 93065f2d3439bceeaa7c2a09679cc6d81472150d)
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 1b777217ba2e7ee7bf4932fe5bea18a306207d0f)
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 134550cf752b9edad66c3368750bfb4bbd9d55d1)
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 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)
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 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