1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

11798 Commits

Author SHA1 Message Date
Jelmer Vernooij
38ba8bf8ba r20566: Prepending with r-> is no longer necessary.
(This used to be commit 1df96af3103795f609165e7a7344e1bf6046be79)
2007-10-10 14:36:59 -05:00
Stefan Metzmacher
7d461ed481 r20565: configure the list of global ldb modules also in js code
metze
(This used to be commit cbebe559a2563a3ab9dd2e002c79676a803b71a4)
2007-10-10 14:36:59 -05:00
Jelmer Vernooij
2ebbad9d76 r20564: Regenerate.
(This used to be commit a4d6e340cdfdab8c6ac49c4fc8a504f8910cefed)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
74239c2e94 r20563: Start using the new parser in ParseExpr(). It's now trivial to use this
to check for NULL pointers when pointers are being dereferenced (#4218).

There are exactly 500 tests for pidl now :-)
(This used to be commit d3146f3bcd4541f890d6c1b072ff34853e9239d2)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
5a162488a1 r20562: Start building expr parser. Add separate copy of Yapp::Driver
rather than including it in each individual parser.
(This used to be commit 26853d7d99f7305981bcadaabfe6accf254321e7)
2007-10-10 14:36:57 -05:00
Jelmer Vernooij
3c7a84a205 r20561: Add parser for subexpressions used in IDL attributes.
(This used to be commit 7e7fdb01d3fba449f33b7b67ba0e3a0089dd3902)
2007-10-10 14:36:57 -05:00
Stefan Metzmacher
8a2636af4a r20560: make it possible to configure the backend and modules
for all partitions and make it not use LDAP in the variable names
because it isn't specific to the ldap backend case.

metze
(This used to be commit 3e337ec2764038e4ff05c3e926220abaa5583702)
2007-10-10 14:36:57 -05:00
Derrell Lipman
102e4840b3 r20559: Web Application Framework
- Disallow, for now, any ScriptTransport access.  A serious security issue has
  been described, and since we don't currently need it for anything, disable
  it completely.

- Continued clean-up towards implementing the common authentication code
(This used to be commit 07817a5489dd8cc6c85c10116f4dba43d798ef03)
2007-10-10 14:36:56 -05:00
Stefan Metzmacher
8f0a0ebcb3 r20557: use ${DOMAINDN} instead of ${BASEDN}
metze
(This used to be commit 2a6e6a2695b256411c91768c7bee748228e40e6f)
2007-10-10 14:36:56 -05:00
Jelmer Vernooij
42a5a1c550 r20556: Add more tests to make sure nothing breaks when I replace the ParseExpr code.
(This used to be commit 0ba52e459bb322a0aee59c6616d7696658934b38)
2007-10-10 14:36:55 -05:00
Stefan Metzmacher
bc511a6463 r20555: fix typo...
metze
(This used to be commit 09622f01227093b4b351fcc79fe29d5b2f388376)
2007-10-10 14:36:55 -05:00
Stefan Metzmacher
2c266fb217 r20554: - use ${ROOTDN} for the rootDomainNamingContext
- the ${CONFIGDN} is a child of the ${ROOTDN}

metze
(This used to be commit ebbd8a83c982efdc58e53798d1fd191f08731005)
2007-10-10 14:36:55 -05:00
Stefan Metzmacher
8b70764038 r20553: add ${CONFIGDN} and ${SCHEMADN} instead of using hardcoded paths
under ${BASEDN}

metze
(This used to be commit 09ca6aae12d8e10b76971cf269f7c62f228a4c87)
2007-10-10 14:36:54 -05:00
Volker Lendecke
9e1a690d28 r20552: Little Samba3 test to force smb_close to return an error. Set delete on close,
and then remove perms from the parent dir....

Volker
(This used to be commit f24c5052576d4951738f83c3b238d2c251d4553b)
2007-10-10 14:36:53 -05:00
Stefan Metzmacher
28b078ea03 r20551: use variable instead of hardcoded value for the default site
metze
(This used to be commit 21f433018afbb7b94089969f7ee9acda40ee1a70)
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
e2b62f7d41 r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
(This used to be commit 9f794c55a60b09536d6e0dbadfc172e1e74497ff)
2007-10-10 14:36:53 -05:00
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