1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00
Commit Graph

3292 Commits

Author SHA1 Message Date
Andrew Tridgell
0939b83a0f r4523: the PROPERTIES change for typedef was not quite as simple as I thought. This puts in a workaround
that fixes things for now
2007-10-10 13:08:18 -05:00
Andrew Tridgell
73d5a033e8 r4522: PROPERTIES are now handled at the typedef level 2007-10-10 13:08:18 -05:00
Andrew Tridgell
dee8eff259 r4521: fixed up the handling of PROPERTIES elements after the change to support enum 2007-10-10 13:08:18 -05:00
Andrew Tridgell
f9e0aa1ab1 r4520: added a enum test function to the echo pipe 2007-10-10 13:08:17 -05:00
Andrew Tridgell
29955004aa r4519: added the enum print function in ndr_basic.c 2007-10-10 13:08:17 -05:00
Andrew Tridgell
1852033f2e r4518: added proper support for "typedef enum" in pidl. We can now use enums as types in switch
statements and variable types, and the value will be printed with its string name and value
2007-10-10 13:08:17 -05:00
Tim Potter
6e480fab3a r4517: Revert previous commit about giving arrays of scalars their own subtree.
Generate code to display using proto_tree_add_bytes() instead.
2007-10-10 13:08:17 -05:00
Simo Sorce
ea051f6cd3 r4513: add experimental modification attribute checking
still not complete but works with add and replace, not tested with delete
lot of duplicated code to remove
2007-10-10 13:08:17 -05:00
Tim Potter
b943213095 r4512: Give arrays of scalar types their own subtree. 2007-10-10 13:08:17 -05:00
Tim Potter
0f50ed8260 r4511: Remove a crapload of dead code. 2007-10-10 13:08:17 -05:00
Andrew Bartlett
93b46ebe0f r4510: Some more tests for RPC-NETLOGON, checking the idea that we could
combine the NTLM and LMv2 responses, for maximum compatability from a
client perspective, allowing access to servers that require NTLMv2, as
well as those that don't support it.

Currently, this is unfortunetly not possible against Win2k3 (and Samba
is being coded to match that behaviour at this point).

Andrew Bartlett
2007-10-10 13:08:17 -05:00
Tim Potter
60f266bf6a r4509: Add missing cr. 2007-10-10 13:08:16 -05:00
Stefan Metzmacher
09727d3d4a r4508: - simplify the code and allocate only in one place
- the ZERO_STRUCT(r->out) is useless and wrong if we would have a [ref,out] parameter
  also note the r->out is already initialized by the pidl generated code

metze
2007-10-10 13:08:16 -05:00
Stefan Metzmacher
d60b2f094e r4507: this default is unnneded because the switch level is in the r->in
metze
2007-10-10 13:08:16 -05:00
Stefan Metzmacher
1c6accd7cb r4506: fix compiler warnings
metze
2007-10-10 13:08:16 -05:00
Simo Sorce
b8bb62f144 r4505: Add a first very basic schema module
To use it you should provide a schema.ldb file where the schema is stored
and load the module in the ldb you want to have schema check activated

more info soon.

currently schema checks are performed only on new object creation not on modifications

Simo.
2007-10-10 13:08:16 -05:00
Andrew Bartlett
18850c66b7 r4504: Setting
.enabled = True

on modules we know are good (and we want on be default) seems neater.

Andrew Bartlett
2007-10-10 13:08:16 -05:00
Simo Sorce
d11732f4f7 r4503: add an error reporting function (fixes) 2007-10-10 13:08:16 -05:00
Simo Sorce
985a58a16d r4502: add an error reporting function 2007-10-10 13:08:15 -05:00
Andrew Tridgell
1df985a49b r4501: when copying files it is common for clients to copy the ACL. When the
ACL is the default ACL this menas the copied file would have an xattr
but the original would not. Avoid this by checking if the ACL being
set is the original ACL, and avoid the copy.
2007-10-10 13:08:15 -05:00
Andrew Bartlett
43558eaf76 r4500: Allow GENSEC modules to be disabled by setting a flag on their module
definition, not by hardcoded reference in loadparm.c

Andrew Bartlett
2007-10-10 13:08:15 -05:00
Andrew Bartlett
4b52409e38 r4499: Almost make our Samba4 server pass the RPC-SAMLOGON torture test.
I just need to fix a couple of NTLMv2 issues before we can fully pass,
and put this in test_rpc.sh, as a 'should pass' test.

Andrew Bartlett
2007-10-10 13:08:15 -05:00
Andrew Tridgell
fc338f6ce2 r4498: arrgh, really fix the typo this time 2007-10-10 13:08:15 -05:00
Andrew Tridgell
2f6107ea9a r4497: fixed a typo 2007-10-10 13:08:14 -05:00
Andrew Tridgell
bf9dfcc5e2 r4496: expanded info on testing your filesystem for xattr support 2007-10-10 13:08:14 -05:00
Tim Potter
9f99d94ff5 r4495: Some more regexps for handling stuff in the lsa and samr pipes -
various types of arrays and relative structures.
2007-10-10 13:08:12 -05:00
Andrew Bartlett
9ff8b2b4d1 r4494: Allow gensec_gssapi to use the SPNEGO mech provided by Heimdal (off by
default at this point), and include the GSSAPI OIDs in our source, per
advice by lha that this is easier than getting the includes right.

Andrew Bartlett
2007-10-10 13:08:12 -05:00
Andrew Tridgell
209ba7b889 r4493: change name of README.gcov so it doesn't get deleted by "make clean" :-) 2007-10-10 13:08:12 -05:00
Andrew Tridgell
f830adc54a r4492: r.in.info is a pointer that needs to be allocated before use 2007-10-10 13:08:12 -05:00
Andrew Tridgell
77e14c2858 r4491: don't dereference q1.out.sam unless we know it is not NULL 2007-10-10 13:08:12 -05:00
Andrew Tridgell
202470326d r4490: when implementing one rpc server call in terms of another call, you
must zero r.out before making the 2nd call if the 2nd call has any
non-ref out parameters. This is needed for the case where the 2nd call
fails, and the 1st call would then fill in its out fields based on
uninitialised memory.
2007-10-10 13:08:12 -05:00
Tim Potter
446b2cf996 r4489: Remove an obsolete file. 2007-10-10 13:08:12 -05:00
Andrew Tridgell
1dfc41c9a3 r4488: removed an unused variable 2007-10-10 13:08:11 -05:00
Andrew Tridgell
d79cc8b901 r4487: fixed the use of ldb_msg_add_*() in the samr password backend 2007-10-10 13:08:11 -05:00
Andrew Tridgell
1071712cf5 r4486: fixed some memory leaks in the new ldb code, by ensuring that memory is always
allocated as a child of the right context
2007-10-10 13:08:11 -05:00
Stefan Metzmacher
7ab9de14af r4485: remove unused TODO comment we already handle the DS_ROLE_STANDALONE_SERVER case
correct

metze
2007-10-10 13:08:11 -05:00
Stefan Metzmacher
7fe9550375 r4484: - use the nTMixedDomain attribute to check if our domain is mixed mode or not
metze
2007-10-10 13:08:11 -05:00
Stefan Metzmacher
e6d1136497 r4483: - rename same structs, enums and uninons of the dssetup pipe
to match the style we are using in other pipes

- first fillin local vars and only set the out parameter on success

- for the server code only to the samdb lookup when it's needed

NOTE: the DsRoleGetPrimaryDomainInformation() code with DS_ROLE_MEMBER_SERVER
      is not tested yet, does someone has a w2k3 member server to test with?

metze
2007-10-10 13:08:11 -05:00
Stefan Metzmacher
30980d2184 r4482: in ads mixed mode there are also only one PDC and multiple BDC's
metze
2007-10-10 13:08:11 -05:00
Andrew Tridgell
52de02b2c3 r4481: get rid of the last leak 2007-10-10 13:08:10 -05:00
Andrew Tridgell
973acf7bbd r4480: autofree the dcom proxy tables 2007-10-10 13:08:10 -05:00
Andrew Tridgell
cf73dda652 r4479: added the function talloc_autofree_context() which returns a talloc context that
will automatically be freed on program exit. This is useful for reducing
clutter in leak reports
2007-10-10 13:08:10 -05:00
Andrew Tridgell
4edbd1b18e r4477: expanded the test suite to increase code coverage a lot 2007-10-10 13:07:56 -05:00
Andrew Tridgell
5dc1995118 r4476: added a little gcov howto for ldb 2007-10-10 13:07:56 -05:00
Andrew Tridgell
1a4713bfd0 r4475: fixed smbd to work with the small changes in the ldb API (the most important
change was in the ldb_msg_add_*() routines, which now use the msg as a context,
and thus it needs to be a talloc ptr)
2007-10-10 13:07:55 -05:00
Andrew Tridgell
0ab98f50a7 r4474: - converted ldb to use talloc internally
- added gcov flags to Makefile.ldb

- expanded ldb test suite to get more coverage
2007-10-10 13:07:55 -05:00
Andrew Tridgell
98b5f73c1b r4473: - moved talloc into its own lib/talloc/ area
- added gcov flags to Makefile.talloc

- expanded talloc testsuite to add a test for realloc with a child ptr

- fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs
2007-10-10 13:07:55 -05:00
Andrew Tridgell
310cea15bf r4472: improve the discard_const() macro for standalone build of talloc 2007-10-10 13:07:55 -05:00
Tim Potter
913630d6e4 r4471: Running 'make eparser_idl' doesn't need --header anymore. 2007-10-10 13:07:55 -05:00
Andrew Bartlett
2b0605dbae r4470: Try not to have GSSAPI built unless we detected krb5. We should split
these tests out a bit, but for now it's an indicator we can use.

Andrew Bartlett
2007-10-10 13:07:55 -05:00