1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Stefan Metzmacher
9345933e1b r25784: fix compiler warning
metze
2007-12-21 05:43:57 +01:00
Jelmer Vernooij
80d1dd41d4 r25316: Remove last few instances of old BOOL type in librpc/. 2007-10-10 15:07:13 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
3db49c2ec9 r23030: finally fixed up our asn1 code to use better memory allocation. This
should allow us to fix some long standing memory leaks.
2007-10-10 14:52:42 -05:00
Stefan Metzmacher
6d0c788f3d r20288: fix a mem leak and remove useless code
metze
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
0777a8e749 r20286: handle the non oid string cases for pushing too
metze
2007-10-10 14:29:32 -05:00
Simo Sorce
14b3b9861a r20284: Simplify OID primitive BER parsing.
Do not require an artificial ASN.1 context to be setup.

Simo.
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
ebbd6263bb r20281: remove debug statement
metze
2007-10-10 14:29:30 -05:00
Stefan Metzmacher
db16f6382d r20280: if the uint8_t array starts with 0xFF, then it's not a OID
and we return the array as hexstring. this is always in the last
array member of the meppings array, and I is always 21 bytes long

w2k in mixed mode:   FF0000000000000000000000000000000000000000
w2k3 in mixed mode:  FF00000002A5DA73B101C43B449028E2F832FE466F
w2k3 in native mode: FF00000001635D94BDE62E2C4C9BAC9D6AFA4F69F8

I assume it's some kind of schema version...

metze
2007-10-10 14:29:30 -05:00
Stefan Metzmacher
bc13b36901 r20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays
with ber encoded oid's

metze
2007-10-10 14:29:30 -05:00
Jelmer Vernooij
54cc9f8ccf r15512: Move uuid functions out of ndr_misc.c 2007-10-10 14:05:44 -05:00
Jelmer Vernooij
c19c2b51d3 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
2007-10-10 14:05:17 -05:00
Stefan Metzmacher
a9a1a6f861 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
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
93065f2d34 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
2007-10-10 13:34:24 -05:00
Andrew Tridgell
eee528be97 r7865: changed pidl to take a "const void *" instead of a "void *" for the
structure in ndr_push_*() and ndr_print_*(). The push and print
functions really should not modify the structure.

metze, to make this work I had to change your spoolss hand
marshaller. Can you please check it is OK? I think that the IN and OUT
sides of that function are not ever called on the same structure, so I
think that attempt at remembering the value by assigning to
r->in._offered was not doing anything anyway, but please correct me if
I have misunderstood it.

If you really do need to remember something on those structures I'd
suggest the ndr_token_store() and ndr_token_retrieve() functions,
which are used by pidl for just this sort of thing.
2007-10-10 13:18:44 -05:00
Jelmer Vernooij
f3006e623b r5986: Fix the build. Metze, could you please verify that this fix is correct? 2007-10-10 13:11:12 -05:00
Stefan Metzmacher
3e6ec81128 r5828: add some idl for DsAddEntry()
metze
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
1084ad4bfc r5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()
metze
2007-10-10 13:11:04 -05:00