1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

12744 Commits

Author SHA1 Message Date
Stefan Metzmacher
b379e50351 r24523: we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze
(This used to be commit ff11f2ce0c3f9c882d93bda0c89577adaf8c2a41)
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
456f3b378d r24522: make the "skip pointer to an array" logic a bit easier
metze
(This used to be commit a698fb18573baf016009bdd2d02aaf336dc92a63)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
25dbce70b7 r24521: we don't yet have optional args to DeclLong()
metze
(This used to be commit 66d4d6f19643454fb781cebbca2c4f4dbb94e90b)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
95d4e550bd r24520: make use of the new ElementStars() and ArrayBrackets()
functions

metze
(This used to be commit fad5af2f2069993b7284e74a177b78a4b4798383)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
3e3e5f85dd r24518: get rid of using ->{ORIGINAL} and move stuff
into subfunctions

metze
(This used to be commit ff7fa11e70018e9691441d824483b803781943a7)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
a9531c0e23 r24517: move skipping pointer before an array logic into the
pointer loop as we do in other places

metze
(This used to be commit ee92d47b538e2f92e4c342893f04c598311e1021)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
70b525a546 r24516: don't use ->{ORIGINAL}
metze
(This used to be commit 98d8753d37e5ac6273316c83bf6f0e6851afd30a)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
60501f20a7 r24515: use fatal() wrapper instead of die() directly
metze
(This used to be commit d90a0d3ba1ac18caee08ab3f621b742229a41e45)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
53cdb93fb7 r24514: IS_* elemements sound be perl integers consistantly...
metze
(This used to be commit b7d6ac5215c27f7eb4ae16e3a68b7f7fc32dcb72)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
a1707f2689 r24511: pass the correct thing to fatal()
metze
(This used to be commit 82cc41c5589899552256b06a3b1ae84e24d3b71f)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
1aa024dfbb r24509: pass down the full ndr elements instead of the old pidl elements
from ->{ORIGINAL}

metze
(This used to be commit e8ebee2698d7d91d8cf25b3017f3414578607ff5)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
de512e88a9 r24508: add HeaderTypeNew() which will go if everything is converted
metze
(This used to be commit 0eba05b6a67eb5b119e9054af3fe9db855cb9fbe)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
3d753b59a9 r24507: pass $d down to HeaderTypedef
metze
(This used to be commit 0edec25af84744074aeeb5f8f7b61a6c78ef35b7)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
9785c25519 r24506: pass $fn down one more layer
metze
(This used to be commit 8cc3fd09ffce6f389d979ec0a49d2ecefda70dd1)
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
f9bca9e9ac r24505: pass down $fn one level
metze
(This used to be commit 0bad3f06199341aeacef228e482ab755e2e48306)
2007-10-10 15:02:04 -05:00
Andrew Bartlett
85555742b1 r24504: Try to return more useful error information on why a bind failed.
Note that the correct return for a failed alter_context is a fault,
not a bind_nak.

Andrew Bartlett
(This used to be commit 52cce94532edf1dd7f26e39bf3377f0077ea6792)
2007-10-10 15:02:03 -05:00
Andrew Bartlett
20e9fe6b50 r24503: Make 'make test TEST_LDAP=yes' pass on Fedora 7, by trying more
combinations of modules.

Andrew Bartlett
(This used to be commit 481a3f0b2ac217b0db2f481479d655910514b56c)
2007-10-10 15:02:02 -05:00
Andrew Bartlett
1133678c34 r24502: More work to get LOCAL-EVENT passing on all platforms:
- Make the epoll_event_context_init() call fail if epoll_create() fails.

  This should cause this backend to be skipped on host with epoll() in
  libc but not in the kernel.

- At the moment, there is no sensible way to handle failures to add an
  epoll() event, and 'fallback to select' is misnamed (so we now
  abort()).

Andrew Bartlett
(This used to be commit fb1e1eebdae740a2b66ee1ea9e1e35f21292ac14)
2007-10-10 15:02:02 -05:00
Stefan Metzmacher
113587b823 r24494: add comment to remind me to look at the flags on a tconx
metze
(This used to be commit deefefeadfc4c5c3448ac378e1910fb75df0dc77)
2007-10-10 15:02:02 -05:00
Stefan Metzmacher
575c870926 r24493: - it turns out that
foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze
(This used to be commit 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
b76b6a1522 r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze
(This used to be commit 3cbbddb94c9e986d0adbe3b001146b209cd810d9)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
8c9abc4be7 r24491: base_type() isn't supported anymore and the default for enums
is now uint16...

metze
(This used to be commit 82aad0e42c44f5b277aed743595795fcc4bad0d4)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
2cbbb00a6c r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().

Also the base_type() property isn't standard IDL and we should not support it.

This changes TDR enum to also to default to uint16 (as with NDR enums).

metze
(This used to be commit 13144bdea914f92b5e15fa807fa7ef7c4d6510a2)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
e3162d376c r24489: only typedef enum { ... } foo; enum's should look
for has_properties() of $enum->{PARENT}

metze
(This used to be commit 65f3bb8c19971c605fb81fa66317e2ee99132edc)
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
53cd0b017a r24488: enum's and bitmap's not have nested types
metze
(This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288)
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
c06d8aaaef r24487: fix formating and add defined($opt_header)
metze
(This used to be commit ffd07d713bc01aee6306229e959773d5bc57104c)
2007-10-10 15:01:58 -05:00
Kai Blin
870bdc45e6 r24486: Bump another DEBUG to level 5
(This used to be commit 0454edc9581e0013eee3a369fb77db3408253c6e)
2007-10-10 15:01:58 -05:00
Stefan Metzmacher
e87adacc43 r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm
metze
(This used to be commit 212e8ec8d51b75fdfed5ae1ea228133811186a72)
2007-10-10 15:01:57 -05:00
Kai Blin
01e911ff5b r24483: Implement backend for wbinfo -u (list users)
(This used to be commit 9fbc8aa15f97ab97f4da801e5d36223a874e912b)
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
42ded6d10b r24482: white space cleanup only...
metze
(This used to be commit 8a23db61e425d10a6f9710a277497d60b114a753)
2007-10-10 15:01:57 -05:00
Kai Blin
c0e145f698 r24480: Bump another DEBUG down to level 5
(This used to be commit 6e6eac551a42d4d68676d408b31207de7b9d0006)
2007-10-10 15:01:56 -05:00
Andrew Bartlett
9de81dbae0 r24479: Typo fix - this makes 'make test' pass against OpenLDAP again.
The objectCategory canonicalise_fn makes everything a DN, which is
exactly what we need here.

Andrew Bartlett
(This used to be commit f5ec369741661fdf7ef5f5183c0e1a996bd46d41)
2007-10-10 15:01:56 -05:00
Jeremy Allison
103b1ead98 r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
to ERRDOS, ERRrename.
Jeremy.
(This used to be commit 7cc8be50b6c64bc1d0a3f43ab5d78a28260a3c93)
2007-10-10 15:01:55 -05:00
Jeremy Allison
255c24eb8f r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
is mapped to ERRDOS, ERRrename on a rename error, but mapped
to ERRDOS, ERRfilexists on an open error.
Jeremy.
(This used to be commit e634c627b155b8ce9d325b7b23236861993cfd59)
2007-10-10 15:01:55 -05:00
Jeremy Allison
e42ff21109 r24473: Prove this is also the same for NTcreateX. It's pretty much
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should
map to ERRDOS, ERRfilexists on all open calls at least.
Jeremy.
(This used to be commit 125590e008549b2784b38f3fd8ff45b47dc3e3e9)
2007-10-10 15:01:55 -05:00
Jeremy Allison
a97fa8124f r24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in
the errormap. This will break the build farm against Samba3 until I start adding
in the hand mapping from the above. Tridge - we may need to reconsider the mapping
here.
Jeremy.
(This used to be commit 74a871ce705a8362cfcc3e9f46ffdb63edc02b32)
2007-10-10 15:01:54 -05:00
Stefan Metzmacher
ff71b118b8 r24463: we have a function to correctly create an $env object
so don't try it manually and introduce bugs:-)

metze
(This used to be commit a79129a4ae412f29a0d730f49327269a92ec8402)
2007-10-10 15:01:54 -05:00
Andrew Bartlett
0eb3ee3204 r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, and
to test the behaviour of objectCategory=user searches.

It turns out (thanks to a hint on
http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps
into objectCategory=CN=Person,... (by the defaultObjectCategory of
that objectclass).

Simplify the entryUUID module by using the fact that we now set the DN
as the canoncical form of objectCategory.

Andrew Bartlett
(This used to be commit b474be9507df51982a604289215bb1868124fc24)
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
449c9f1f1c r24454: when level 0 is a pointer we need to look for an array in level 1...
metze
(This used to be commit ca50b1ad3afbf02fef7c6d1fcbe11d23c515d340)
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
eab315fe1e r24452: bail out instead of only giving a warning on
incorrect idl files

metze
(This used to be commit 8aacab6f6a04d0f56bed945e07cd894ac1344ace)
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
2d531c84e8 r24449: length_is() isn't supported without size_is().
I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning

metze
(This used to be commit 46fadeb6983dff4e6a38fceec4679d3bf44dd5d9)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
7f44bb5ae3 r24448: merge formating fixes SAMBA_3_2
metze
(This used to be commit f6ae9574b208e42a819249918b827457f245f519)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
44dc2839e4 r24447: fix samba3-cli pidl tests
metze
(This used to be commit 91fb099b3dd5c58608f1fbf65ed77acbc609598f)
2007-10-10 15:01:51 -05:00
Stefan Metzmacher
645e87281c r24446: We only need one genric GenerateFunctionInEnv
function

metze
(This used to be commit 0c5be644ba13c68b7378a6ae9dcd314018ece25d)
2007-10-10 15:01:51 -05:00
Stefan Metzmacher
2b3161d8de r24407: $element->{ARRAY_LEN} doesn't exist...
and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN}
I assume it was just forgotten in the update.

metze
(This used to be commit 89ea0339b5f95b27ad0eaed430d1f264722a7e84)
2007-10-10 15:01:51 -05:00
Kai Blin
477e1e9e19 r24397: Bump debug level of sid2(u|g)id calls to 5.
(This used to be commit ef9bc55a6b1e90d49d621a1c4bebc80b6c7c2be0)
2007-10-10 15:01:50 -05:00
Kai Blin
0b96f54f04 r24396: Fix a typo.
Thanks to metze (metze@samba.org) for catching this one.
(This used to be commit abf631822da6221af187498cde9fe068cd91ee43)
2007-10-10 15:01:50 -05:00
Kai Blin
c5719336dd r24395: Add check if talloc_strdup worked.
(This used to be commit 754b9ff696cda6b2df4d569c9a910ab0ca49e13b)
2007-10-10 15:01:49 -05:00
Andrew Bartlett
1ea23c2a95 r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build farm hosts.
Andrew Bartlett
(This used to be commit 1abd8edb57d1a537115de020921ffe4f878d9f29)
2007-10-10 15:01:49 -05:00
Kai Blin
5a0aaafb1b r24376: Missed this file from the checkin, sorry.
(This used to be commit c81b0980cac901e70e52dfd0eb013ad4d6f15540)
2007-10-10 15:01:49 -05:00