1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

11582 Commits

Author SHA1 Message Date
Volker Lendecke
0221d44ef4 r20549: obvious bug fix..
(This used to be commit f0aa63e39050c7ac10b9d51c5cecc753b257be9a)
2007-10-10 14:36:52 -05:00
Jelmer Vernooij
f7ca27b9ca r20548: Remove unnecessary "use lib", fix warnings.
(This used to be commit 30d721569fdf33e4784eb1f7c650e75ed1b80527)
2007-10-10 14:36:52 -05:00
Jelmer Vernooij
2963c63987 r20547: Add tests for expected errors/warnings.
(This used to be commit 2d960d4d7b0bc39c3ec4c2face546adc2cb345ee)
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
306dc32687 r20545: Fix is_constant().
(This used to be commit ae9b0895e8b7fd98335ece82aae3e391b94d2ec9)
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
362d4b14ae r20543: Merge some pidl bug fixes:
* C expressions that just started with a constant were erroneously flagged
   as being a constant.
 * 1-length variable names in expressions were broken.
(This used to be commit 44775a6ac456247fe7ab4da75498bb550c74c854)
2007-10-10 14:36:51 -05:00
Andrew Tridgell
34040b420a r20540: darn, also need to fix this event_context reference
(This used to be commit c8bd3ec09d3c370475df3a3cd77de6743b316c9e)
2007-10-10 14:36:50 -05:00
Andrew Tridgell
b213b70c08 r20539: - split the common timer related events code into events_timed.c
- make it easier to plug in a new events backend

- add simpler 'select' and 'epoll' backends

This is part of the effort to add good AIO support. The events_aio.c
backend is done, but sometimes dies with a SEGV, which is why it isn't
enabled yet.
(This used to be commit 934f18283dbc7958944931a93a854526bcd54884)
2007-10-10 14:36:50 -05:00
Derrell Lipman
9698b2c282 r20538: Web Application Framework
- correct an error message in the JSON-RPC server

- provide a common RPC request function

- make it easier to have multiple pending RPC requests.  this allows an
  application-specified request to return "not logged in"; authentication
  information to be requested and sent; and the original request to be
  reissued.

- in statistics module, if a time is provided as zero, leave it blank rather
  than displaying 1 Jan 1970.  this showed up in the last_used_at field in the
  SMB status report.

- clean up makefile: remove no-longer-used hard-coded path and install target;
  remove "chmod" and "nice" commands which were part of the original skeleton,
  since that is not deemed appropriate for samba makefiles
(This used to be commit 339ee73ce2809905f608b1003cc645231f256420)
2007-10-10 14:36:49 -05:00
Stefan Metzmacher
02db88bb88 r20531: - create the rdn attribute which is an alias for the 'name' attribute
because the rdn attribute isn't explicit replicated
- create the whenChanged attribute out of the meta data
- create the objectGUID attribute out of the guid of the DsReplicaObjectIdentifier*
- create the replPropertyMetaData attribute from the meta data
- dump a more verbose form of the meta data that contains the attribute names
- dump linked attributes

a lot if this functionality will move into the repl_meta_data ldb module
in one of the next steps...

metze
(This used to be commit a6223a20434df1269cc87ba3b1db74473b6ff9bb)
2007-10-10 14:36:49 -05:00
Stefan Metzmacher
fcd2f2e8f5 r20529: very, very ugly...
But this is currently needed to make regpatch linking in
the dsdb/schema/schema_*.o object files.

the problem is that the linker doesn't find any references to public symbols
in this files and removes them from the link list.

gnu ld has a --whole-archive option, but it seems to be not portable...

I think the solution with prelinking using 'ld -r' to create one object file
for a subsystem instead of using 'ar -rcs' to create an archive for a subsystem...

jelmer: any ideas about this problem?

metze
(This used to be commit 46df7ff6e5e74eddcb81b5a195e82688d83afaf4)
2007-10-10 14:36:49 -05:00
Volker Lendecke
7a734d3b30 r20525: Closing a dir with del-on-close set requires the same as files: Don't actually
unlink/rmdir if another process still has it open.

Jeremy, this is a potential merger to 3.0.24.

Volker
(This used to be commit d0550a01af219344ec2e4c16d5253814afc89974)
2007-10-10 14:36:48 -05:00
Stefan Metzmacher
35c5e2d318 r20523: match the lDAPDisplayName case insensitive
metze
(This used to be commit c32ec0a10041dba50be23611f25e4aae8c45830c)
2007-10-10 14:36:48 -05:00
Stefan Metzmacher
b3c793c58c r20522: make a copy of the objectguid ldb module because:
- I'll add handling of replication meta data to it
  for orginating changes
- I'll pass replication meta data via a ldb control
  for applying replicated changes
- It will also update the replUpToDateVector attribute in
  in root object of the partition
- It will handle deleted records by adding the isDeleted=TRUE attribute
  and move them to the CN=Deleted Objects container of the partition
- I make a copy to play with the code without breaking
  the LDAP backend setup

metze
(This used to be commit 045ddfe1ec626fab5e8fd75c5b47f0525b7ebb01)
2007-10-10 14:36:47 -05:00
Stefan Metzmacher
3b7686447a r20520: allow the caller to pass NULL if it doesn't want a session info
this can be used when we start to support the FAST BIND LDAP Control

metze
(This used to be commit 0a73d3262d5deb5a9d0052751336413fbea370b1)
2007-10-10 14:36:11 -05:00
Derrell Lipman
d0d846cd9b r20519: Web Application Framework
- No path given to web server means use old scripts (missed check-in)

- Build Web Application (qooxdoo stuff) from autogen.sh since python isn't
  available or is differently-configured on various build-farm machines

- Don't continually check in generated files

- Properly identify SWAT "Statistics" module as "Status and Statistics"
(This used to be commit 9d89b7663af218ee6ed941ac6c0597fab93cd03b)
2007-10-10 14:36:10 -05:00
Derrell Lipman
eab632c31e r20518: reapply finite state machine mods which got lost in the webapps remove/restore process
(This used to be commit 1d867863b64fb39aedbf713f7f3dd17948b433ef)
2007-10-10 14:36:10 -05:00
Derrell Lipman
626bb8efb0 r20517: re-add cleaned-up webapps
(This used to be commit 5a3d6ad0b7cf0ecf8b57b4088b19f7d4291c990b)
2007-10-10 14:36:09 -05:00
Derrell Lipman
eeddcf8cc8 r20516: svn gets royally screwed up when renaming or relocating files. attempt to correct.
(This used to be commit efffee706d62a4260b2d9782b19a9df1971dddb2)
2007-10-10 14:36:07 -05:00
Derrell Lipman
2e7c59c244 r20515: Continued work on the Web Application Framework. Until we get all of the
functionality of the old scripts incorporated into the new framework, the old
scripts need to still be available.  I've reverted to having the old scripts
be the default pages, and added an option to access the preview of the new
SWAT.
(This used to be commit b43620d4b8eff815f4a6dc02522a8dfc9fdcaef4)
2007-10-10 14:36:06 -05:00
Stefan Metzmacher
57f5bf78fa r20514: implement idl for DsGetNT4ChangeLog() which transferres the meta data
for NT4 DC's in mixed mode domains.

This call is triggered by tranferring the PDC FSMO Role to another DC

the real meta data is encoded in the user buffer which is just a DATA_BLOB in idl

metze
(This used to be commit d883815c8d64429e4dac26a93a15e67d31dc263e)
2007-10-10 14:36:04 -05:00
Stefan Metzmacher
8d139b0e93 r20513: this values are the same as in drsuapi_DsReplicaObjectIdentifier3Binary
the extra binary blob

metze
(This used to be commit 89f5389e8d9046a2bc96f76297cab5ffef847a25)
2007-10-10 14:36:04 -05:00
Jelmer Vernooij
f97f11eab2 r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl.
(This used to be commit 959adfd0a682a4894c3bdd4ae9c6fc3ebfeeef1f)
2007-10-10 14:36:04 -05:00
Stefan Metzmacher
bc32b30011 r20510: fix spelling
metze
(This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
2007-10-10 14:36:03 -05:00
Jelmer Vernooij
ce5581a85e r20509: Warn about the fact that no tests have been run rather than showing division by
zero errors.
(This used to be commit 62f55b33949783a178dee9a36895c3423bdd625d)
2007-10-10 14:36:03 -05:00
Volker Lendecke
cc8e2febb8 r20508: Confirm a special case in samba3 reply_getatr that getatr("") always returns
HIDDEN.

Volker
(This used to be commit 83a20912061c663ff422b038b41f01a9c7583afe)
2007-10-10 14:36:02 -05:00
Stefan Metzmacher
f06f5e3dee r20506: - fix parsing of LinkedAttribute values
- I also found the meaning of the time field
- and the uint32 field

metze
(This used to be commit f3c83dfb0199c8914f9c0ce53b045268b7e0e88f)
2007-10-10 14:36:02 -05:00
Andrew Bartlett
2008bbcdea r20505: I had the wrong ldif name here.
Andrew Bartlett
(This used to be commit 5781d0f41ac1847c38ebda290f5e85423dd20186)
2007-10-10 14:36:02 -05:00
Stefan Metzmacher
536ca21c55 r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
(This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10 14:36:01 -05:00
Volker Lendecke
d1e3dccab6 r20497: Two changes to RAW-OPEN that Samba does not fulfil:
Samba3 returns the SPARSE flag for files with size > allocation, and on many
configs Samba3 does not support EAs. Cope with both.

Tridge, please check this is acceptable for this test.

Volker
(This used to be commit 4df4d37c3d4d9e6c430afd36e88684f02c73700e)
2007-10-10 14:36:01 -05:00
Andrew Bartlett
e8dfa06d45 r20495: Further notes on joining with fedora DS.
Add in a hook for adding an ACI, needed to allow anonymous access
until we hook across a SYSTEM token to the LDAP server.

Andrew Bartlett
(This used to be commit f45504e2714680978f101b4a98516686a17531df)
2007-10-10 14:36:00 -05:00
Andrew Bartlett
43b715a96d r20494: Dave CB <davecb@spamcop.net> found some stray characters in the docs,
while stress-testing an xml parser.  Bug 4319

Andrew Bartlett
(This used to be commit a9a61eb54309cebfcdc28ff03130244477aa3d2e)
2007-10-10 14:36:00 -05:00
Andrew Bartlett
5ba31394c1 r20493: Add support for the 'Netscape' varient of GUID formatting, used in the
Fedora DS.

Andrew Bartlett
(This used to be commit 918e52fa5f527c427b46c1e1794131bcddab38f1)
2007-10-10 14:36:00 -05:00
Andrew Bartlett
bf4c652af7 r20492: Add in instructions/sample LDIF to setup Fedora DS as a backend.
Add a new module entrypoint to handle the new, interesting and
different mappings required for Fedora DS.

Andrew Bartlett
(This used to be commit 600c7f1a68c175b835ce45d13794a6f66bcc8493)
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
16d6d8d4c5 r20484: get rid of the special case for DN strings
metze
(This used to be commit 4c2addf2dd5b74fa0026249ce373ff4becaaef40)
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
c0d70be7d0 r20483: Sorry Volker:-)
I missed to commit this file:-(

metze
(This used to be commit e11885f8a78698ad479826784491548e8b695a04)
2007-10-10 14:35:58 -05:00
Volker Lendecke
c4d4385a71 r20481: Fix the build -- Stefan, please look at this ;-))
(This used to be commit bbb3aaa41b4b025eb6536d6da3caf64db8731bdf)
2007-10-10 14:35:58 -05:00
Volker Lendecke
e1c244a1cf r20480: In Samba3 we don't yet have support for all 4 file times on all platforms (do
we have any?? ;-), so don't mark failure to correctly cope with the close
write time as critical.

Volker
(This used to be commit 42070b09cba8adda1e7606e08764b1f202b33321)
2007-10-10 14:35:58 -05:00
Stefan Metzmacher
b885bc4a20 r20477: get rid of the spcial case for unicode strings
metze
(This used to be commit ececda44c74ae4ccbaa0492acb67a88aa5c05126)
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
d70852659b r20476: get rid of extra case for uint32 values
metze
(This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
2754a73d22 r20475: remove special case for GUID values
metze
(This used to be commit b7ab1c0039cd8000861cd89ca072d9d2b0bbf9de)
2007-10-10 14:35:56 -05:00
Volker Lendecke
04b9446b2a r20474: Skip the delete-on-close test on a non-empty directory in raw-unlink for
Samba3. This is a known deficiency also taken care of in the base-delete
test.

Volker
(This used to be commit 6b91bb93fad84e054c19f8c9bc4145234f171a3c)
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
391d97168f r20473: remove special case for boolean values
metze
(This used to be commit 8d80629c5dde44a06b597e1247ec96ef1cd3f2e1)
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
3af2dcf358 r20472: add a comment for Object(Replica-Link), it's not clear that
the DATA_BLOB conversation functions are correct here...

metze
(This used to be commit 56e17f4c0cf2edab732658ab190723299850e2cd)
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
1e1044028a r20471: implement conversation functions for PRESENTATION_ADDRESS attribute syntax
metze
(This used to be commit 49e6e88778785ba33042c5d4f6bcdfbd27275083)
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
73f1e42481 r20469: w2k3 handles String(Numeric), String(Printable), String(Teletex) and String(IA5)
as byte arrays without any constraints on the used bytes.

Only the rangeLower,rangeUpper constraints may reject invalid values

I have tested the following values:

internationalISDNNumber:1 => String(Numeric)
[000] E2 82 AC E2 82 AC E2 82  AC E2 82 AC E2 82 AC 31  ........ .......1
displayNamePrintable:1 => String(Printable)
[000] 68 65 6C 6F C3 B6 6C 6B  6A C3 B6 6C 6B 6A C3 B6  helo..lk j..lkj..
[010] 6C 6B 6A C3 B6 6C 6B 6A  C3 B6 6C 6B 6A C3 B6 6C  lkj..lkj ..lkj..l
[020] 6B 6A C3 B6 6C 6B 6A C3  B6 6C 6B 6A C3 B6 6C 6B  kj..lkj. .lkj..lk
[030] 6A C3 B6 6C 6B 6A C3 B6  6C 6B 6A C3 B6 6B 6A C3  j..lkj.. lkj..kj.
[040] B6 6C 6B 6A C3 B6 6A 38  37 70 6F 38 36 6F 37 36  .lkj..j8 7po86o76
[050] 34 65 64 74 7A 68 6F 69  6A 7A 6F 69 7A 6F 69 38  4edtzhoi jzoizoi8
[060] 69 37 36 72 35 75 66 75  35 72                    i76r5ufu 5r
networkAddress:1 => String(Teletex)
[000] 61 02 63 04 66 67 00 68  69                       a.c.fg.h i
msRADIUSCallbackNumber:1 => String(IA5)
[000] 61 02 63 04 66 67 00 68  69                       a.c.fg.h i

metze
(This used to be commit 4aa96d287e9b834f1f6cc95cf2b6a98c0a8eefc0)
2007-10-10 14:35:54 -05:00
Andrew Bartlett
9fc3e164df r20468: Patch from Martin Kuehl <kuehl@univention.de> to make it easier to load
into an exsting LDAP server.  (Allow some parts to pre-exist, and try
to blow away less data).

Andrew Bartlett
(This used to be commit 99faff0ad8fa12d596c599064a0125a6b3365134)
2007-10-10 14:35:54 -05:00
Andrew Bartlett
3a6da3c60f r20467: Don't segfault if we don't have an OID map
(This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
2007-10-10 14:35:53 -05:00
Stefan Metzmacher
e18585ba39 r20466: I removed the _all only for tests and forgot to revert it
metze
(This used to be commit 5a15c2748847e0b82e0fd4945c37d21025fad273)
2007-10-10 14:35:53 -05:00
Andrew Bartlett
b4c1e62259 r20464: Make it clear what does the process group stuff
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
2007-10-10 14:35:53 -05:00
Stefan Metzmacher
efd617fd71 r20463: implement conversation of NTTIME_UTC attribute syntax
Note: if we'll store the UTCTime string in our ldb we'll loose information...

metze
(This used to be commit cc1798f85bb52b2b2fb8971e4cd5d6153e58a3c7)
2007-10-10 14:35:52 -05:00