1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

13201 Commits

Author SHA1 Message Date
Volker Lendecke
fb19fe7a51 r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Many hosts in the build farm don't have EA support
(This used to be commit 3cca299c72)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
75564a9d0e r24524: make use of ElementStars()
metze
(This used to be commit 701aa31d14)
2007-10-10 15:02:10 -05:00
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 ff11f2ce0c)
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 a698fb1857)
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 66d4d6f196)
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 fad5af2f20)
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 ff7fa11e70)
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 ee92d47b53)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
70b525a546 r24516: don't use ->{ORIGINAL}
metze
(This used to be commit 98d8753d37)
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 d90a0d3ba1)
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 b7d6ac5215)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
a1707f2689 r24511: pass the correct thing to fatal()
metze
(This used to be commit 82cc41c558)
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 e8ebee2698)
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 0eba05b6a6)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
3d753b59a9 r24507: pass $d down to HeaderTypedef
metze
(This used to be commit 0edec25af8)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
9785c25519 r24506: pass $fn down one more layer
metze
(This used to be commit 8cc3fd09ff)
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
f9bca9e9ac r24505: pass down $fn one level
metze
(This used to be commit 0bad3f0619)
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 52cce94532)
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 481a3f0b2a)
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 fb1e1eebda)
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 deefefeadf)
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 5f1f50cd27)
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 3cbbddb94c)
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 82aad0e42c)
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 13144bdea9)
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 65f3bb8c19)
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 47fb2d42df)
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 ffd07d713b)
2007-10-10 15:01:58 -05:00
Kai Blin
870bdc45e6 r24486: Bump another DEBUG to level 5
(This used to be commit 0454edc958)
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 212e8ec8d5)
2007-10-10 15:01:57 -05:00
Kai Blin
01e911ff5b r24483: Implement backend for wbinfo -u (list users)
(This used to be commit 9fbc8aa15f)
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
42ded6d10b r24482: white space cleanup only...
metze
(This used to be commit 8a23db61e4)
2007-10-10 15:01:57 -05:00
Kai Blin
c0e145f698 r24480: Bump another DEBUG down to level 5
(This used to be commit 6e6eac551a)
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 f5ec369741)
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 7cc8be50b6)
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 e634c627b1)
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 125590e008)
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 74a871ce70)
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 a79129a4ae)
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 b474be9507)
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 ca50b1ad3a)
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 8aacab6f6a)
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 46fadeb698)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
7f44bb5ae3 r24448: merge formating fixes SAMBA_3_2
metze
(This used to be commit f6ae9574b2)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
44dc2839e4 r24447: fix samba3-cli pidl tests
metze
(This used to be commit 91fb099b3d)
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 0c5be644ba)
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 89ea0339b5)
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 ef9bc55a6b)
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 abf631822d)
2007-10-10 15:01:50 -05:00
Kai Blin
c5719336dd r24395: Add check if talloc_strdup worked.
(This used to be commit 754b9ff696)
2007-10-10 15:01:49 -05:00