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

11636 Commits

Author SHA1 Message Date
Jelmer Vernooij
cfa230c480 r20625: Fix couple of warnings.
(This used to be commit 203076129b)
2007-10-10 14:37:17 -05:00
Andrew Tridgell
e0e96ae80d r20624: added AIO read to pvfs backend
(This used to be commit d6e20d6d8c)
2007-10-10 14:37:16 -05:00
Andrew Tridgell
2ed1196129 r20623: change where the smb.conf parm event:backend is checked to ensure it
affects all event_context_init() calls
(This used to be commit 803e6cf6ef)
2007-10-10 14:37:16 -05:00
Andrew Bartlett
08439c72c4 r20622: Add in a hack to avoid permitting searches on the value of protected
attributes.

Andrew Bartlett
(This used to be commit 5aa2195ec2)
2007-10-10 14:37:16 -05:00
Andrew Tridgell
131cfe0399 r20621: - enable the aio events backend on systems that support it
- allow the events backend to be chosen in smb.conf
(This used to be commit 4a8e07286f)
2007-10-10 14:37:15 -05:00
Volker Lendecke
dff70f76bc r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For reply_unlink
under Linux we returned NT_STATUS_NOT_A_DIRECTORY. This is because in the
bad_path==True condition lstat(2) returns ENOTDIR and not ENOENT.

Not sure if we want to necessarily replicate the INVALID_PARAMETER here, but
this is what W2k3 does.

Jeremy, I tried to call you, but you were not around. So I'll leave it up to
you to merge this.

Volker
(This used to be commit 838afa8f7d)
2007-10-10 14:37:15 -05:00
Jelmer Vernooij
b1730cf39d r20616: Point at the wiki
(This used to be commit 5f4617807a)
2007-10-10 14:37:14 -05:00
Volker Lendecke
aeda6017ac r20613: The individual tests are fine, I did run samba3badpath, but raw-samba3hide
left test.txt with permissions 000 behind...

Volker
(This used to be commit fdd501f803)
2007-10-10 14:37:14 -05:00
Volker Lendecke
36f78c139a r20609: Additional torture test for our bad_path handling. Most of it is disabled for
now, there are calls (for example trans2ffirst) which are quite dubious.

Volker
(This used to be commit 79846f09b9)
2007-10-10 14:37:13 -05:00
Derrell Lipman
3e608a173e r20601: Web Application Framework
More testing revealed that this isn't yet bug-free...  Sigh.  One of these
days I'll start writing bug-free software...

- Status and Statistics timer wasn't always stopped properly when switching
  away from that module's display.  It seems silly to continue to update
  status and statistics when the page isn't being viewed.

- Single instance of the Login window was not accessible if one switched
  between modules.

- Upon return from a Session Timeout, we can retry the original RPC request,
  but it may fail due to information that was stored in the old session.  This
  was the case in the LDB Browser module, where the open database handle
  became gone with the session.  We now detect a Resource Not Found and
  re-open the database.
(This used to be commit 09a8292033)
2007-10-10 14:37:13 -05:00
Derrell Lipman
9639836022 r20600: Web Application Framework
- Add authentication.  The Web Application Framework can now be called
  directly and it will rqeuire authentication if required, and should re-query
  the user to log in when the session expires.

- General clean-up
(This used to be commit 27c5d7dca6)
2007-10-10 14:37:13 -05:00
Stefan Metzmacher
a04a3b8bc2 r20599: - forward extended operations in the partitions module
- by default the operations goes to all partitions
- but some wellkown ones will go to just one partition
  (DSDB_EXTENDED_REPLICATED_OBJECTS_OID for now)

I'll soon change the partitions module so that it'll attach a
DSDB_CONTROL_PARTITION_CONTEXT_OID control to give
the repl_meta_data or other partition specific modules a chance to
to know for which partition it should work.

metze
(This used to be commit 0ed53c6d0f)
2007-10-10 14:37:12 -05:00
Stefan Metzmacher
22f473b22b r20598: add comments and make clear that the void *data element for extended operations
needs to be NULL or a valid talloc pointer as talloc_get_type() will be called on it.

metze
(This used to be commit 5731617ea9)
2007-10-10 14:37:12 -05:00
Stefan Metzmacher
b931e66835 r20596: add prototypes for the ldb_extended functions
metze
(This used to be commit 8d3a3117c3)
2007-10-10 14:37:12 -05:00
Volker Lendecke
3bc9704ce0 r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. I think
Samba should follow w2k3 in this respect.

Volker
(This used to be commit 6094ee9df5)
2007-10-10 14:37:11 -05:00
James Peach
2ed6f2927b r20594: Match popt.h declaration.
(This used to be commit c12fc86a93)
2007-10-10 14:37:11 -05:00
James Peach
aba4cbe77d r20593: Kill annoying warning.
(This used to be commit d225481e49)
2007-10-10 14:37:10 -05:00
James Peach
f5acaea727 r20592: Use the Heimdal copy of err.h only if the build host doesn't have it.
(This used to be commit 1e8c4847b8)
2007-10-10 14:37:10 -05:00
James Peach
42097e0b7d r20591: Revert accidental commit that broke the build.
(This used to be commit 22957f78e9)
2007-10-10 14:37:10 -05:00
James Peach
0bb9eb0153 r20590: Heimdal uses warn(), so we should prototype it here too.
(This used to be commit c1c25767e3)
2007-10-10 14:37:09 -05:00
Stefan Metzmacher
23edd6071a r20588: handle extended operations in the ldb_next_request() call
metze
(This used to be commit b98ca57a65)
2007-10-10 14:37:09 -05:00
Stefan Metzmacher
ac0c34a9a4 r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handling
metze
(This used to be commit ef3b325db0)
2007-10-10 14:37:08 -05:00
Stefan Metzmacher
15d9b63caf r20586: - allocate an OID range for LDB/LDAP extended operations
- allocate an OID for DSDB_EXTENDED_REPLICATED_OBJECTS_OID which
  will replace the DSDB_CONTROL_REPLICATED_OBJECT_OID soon

metze
(This used to be commit 6397f01448)
2007-10-10 14:37:08 -05:00
Stefan Metzmacher
b5eb73280e r20583: implement the frontend calls for extended operations
metze
(This used to be commit cfcd05adc0)
2007-10-10 14:37:08 -05:00
Stefan Metzmacher
bc4821a4ce r20582: use void *data in the ldb_extended struct to match what we have in ldb_control
add a request element for extended requests

metze
(This used to be commit 530b3cd250)
2007-10-10 14:37:07 -05:00
Stefan Metzmacher
f29ea516f9 r20581: - the ldb modules have explicit hooks for extended operations
so call them
- reorder the request operations first all with explixit hooks

metze
(This used to be commit aababcbb05)
2007-10-10 14:37:07 -05:00
Stefan Metzmacher
3137e4f2fe r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add request
when applying replicated objects.

the samldb module ignores such requests now...
and the repl_meta_data module has different functions
for the replicated and originating cases...

metze
(This used to be commit a4d5e0126c)
2007-10-10 14:37:06 -05:00
Stefan Metzmacher
13881fa128 r20577: - allocate an OID range for samba4 LDB/LDAP Controls
- allocate an OID for LDB Control that hold meta data when applying
  replicated objects

metze
(This used to be commit 2660c5ab21)
2007-10-10 14:37:06 -05:00
Stefan Metzmacher
6bffcc6d45 r20576: add functions to get and set dsdb_schema on the ldb context
metze
(This used to be commit 2e054be8e0)
2007-10-10 14:37:05 -05:00
Stefan Metzmacher
b31875ba75 r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)
we need to modify some modules to only handle originating changes...

metze
(This used to be commit 0f387d58e6)
2007-10-10 14:37:05 -05:00
Derrell Lipman
33009ef6ad r20574: reorganization of common modules
(This used to be commit 5075e00894)
2007-10-10 14:37:04 -05:00
Stefan Metzmacher
40b71722e1 r20573: fix handling of pointers handling to elements with the charset property
metze
(This used to be commit 895416c220)
2007-10-10 14:37:04 -05:00
Stefan Metzmacher
46908530bc r20572: - prepare a test_samdb.ldb in the NET-API-BECOME-DC torture test
- we call a ejs script from the torture test for this task
  so that we can use the provision template ldif's.

metze
(This used to be commit e84b0c7d40)
2007-10-10 14:37:03 -05:00
Jelmer Vernooij
a95d58ae8f r20571: fix '' case
(This used to be commit 1618921a7e)
2007-10-10 14:37:03 -05:00
Stefan Metzmacher
927e163670 r20570: use talloc_asprintf() instead of talloc_asprintf_append()
because talloc_asprintf_append() doesn't work like talloc_append_string()
which uses strlen() on the old string instead of (tc->size - 1)

This matter in this case because strlower_talloc() over allocates

tridge: how should we fix this in lib/talloc/?

metze
(This used to be commit 1748af20b1)
2007-10-10 14:37:03 -05:00
Derrell Lipman
21664e91ab r20569: Web Application Framework
- Fix handling of predicates in finite state machine

- Make use of predicates to handle a specific PermissionDenied failure, vs
  some other generic failure

- Add JSON-RPC error constants
(This used to be commit 38ae9658cb)
2007-10-10 14:37:02 -05:00
Stefan Metzmacher
d0e221c4e0 r20568: split out the rootdse ldif
and set the isSyncronized = TRUE when we done

metze
(This used to be commit 5875ce1ac6)
2007-10-10 14:37:02 -05:00
Jelmer Vernooij
a7bc3801f9 r20567: Print proper errors with filename and line numbers in ParseExpr()
(This used to be commit f5dc1b47ec)
2007-10-10 14:37:01 -05:00
Jelmer Vernooij
38ba8bf8ba r20566: Prepending with r-> is no longer necessary.
(This used to be commit 1df96af310)
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 cbebe559a2)
2007-10-10 14:36:59 -05:00
Jelmer Vernooij
2ebbad9d76 r20564: Regenerate.
(This used to be commit a4d6e340cd)
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 d3146f3bcd)
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 26853d7d99)
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 7e7fdb01d3)
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 3e337ec276)
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 07817a5489)
2007-10-10 14:36:56 -05:00
Stefan Metzmacher
8f0a0ebcb3 r20557: use ${DOMAINDN} instead of ${BASEDN}
metze
(This used to be commit 2a6e6a2695)
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 0ba52e459b)
2007-10-10 14:36:55 -05:00
Stefan Metzmacher
bc511a6463 r20555: fix typo...
metze
(This used to be commit 09622f0122)
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 ebbd8a83c9)
2007-10-10 14:36:55 -05:00