Stefan Metzmacher [Thu, 11 Jan 2007 09:45:30 +0000 (09:45 +0000)]
r20680: prepare the helper functions for applying replicated objects
to pass all needed info to the repl_meta_data module
metze
(This used to be commit
d5db31cde279cf05bd13bcf0da03767ab3498079)
Stefan Metzmacher [Thu, 11 Jan 2007 09:38:21 +0000 (09:38 +0000)]
r20679: make the init_handle stuff a bit easier and get rid of really ugly talloc_get_type()
usage
simo: if you change more modules, please include also this change
metze
(This used to be commit
88051a82c4918ba8183e0d6909161b2af2109446)
Stefan Metzmacher [Thu, 11 Jan 2007 09:35:26 +0000 (09:35 +0000)]
r20678: add index for objectGUID
metze
(This used to be commit
e967b370173e1ae86632132851ab33d92c221291)
James Peach [Thu, 11 Jan 2007 04:32:43 +0000 (04:32 +0000)]
r20677: Condense compilations rules.
(This used to be commit
586b5113a09ec5ff751bcdaf4094d5672d58f220)
Jelmer Vernooij [Thu, 11 Jan 2007 04:12:35 +0000 (04:12 +0000)]
r20676: Add ref pointer to fix warning.
(This used to be commit
1afcf850679b6752935455a8f9198679649922b8)
Jelmer Vernooij [Thu, 11 Jan 2007 02:10:01 +0000 (02:10 +0000)]
r20675: Fix installation.
(This used to be commit
5d09131cc8a11dc2b0aa1f8f5296cf8869a436db)
Simo Sorce [Wed, 10 Jan 2007 22:31:42 +0000 (22:31 +0000)]
r20670: Make the logic more clear
(This used to be commit
906630f18e5fab4be6c40018aafe67df1e27c92e)
Simo Sorce [Wed, 10 Jan 2007 22:22:28 +0000 (22:22 +0000)]
r20669: Simplifing more
(This used to be commit
03de577059cb71bb6d5df7a65b5f5ba30bdea746)
Andrew Tridgell [Wed, 10 Jan 2007 20:07:13 +0000 (20:07 +0000)]
r20665: put in my version of aio.h
sorry about that ....
(This used to be commit
a91373291422e2f50b91fd7c2317dce5d2a4ab63)
Stefan Metzmacher [Wed, 10 Jan 2007 18:41:22 +0000 (18:41 +0000)]
r20661: the golden rule: "make things private if possible!"
fix 'make install' because no entry was in the headermap
metze
(This used to be commit
2a9d6d381d991977be10b525c88fb279237bafd9)
Stefan Metzmacher [Wed, 10 Jan 2007 18:23:06 +0000 (18:23 +0000)]
r20659: add missing system/aio.h
tridge: please commit your version and merge it to both samba3 branches
metze
(This used to be commit
ba492e2c3a64dfc5d4743ba568c63cb9a59e2849)
Stefan Metzmacher [Wed, 10 Jan 2007 18:20:53 +0000 (18:20 +0000)]
r20657: fix compiler warning and bug:-)
metze
(This used to be commit
ddf6c90159a99c2f70a93915839caa43afc5500b)
Simo Sorce [Wed, 10 Jan 2007 18:18:13 +0000 (18:18 +0000)]
r20656: This way the process flow should be much more readable.
We need to make it easier, but this should be a step in
the right direction.
(This used to be commit
ad58177ee46a4f02ee2e2d97882b851226bd3af2)
Volker Lendecke [Wed, 10 Jan 2007 13:25:39 +0000 (13:25 +0000)]
r20653: If this is the wrong way to fix the build, I apologize. But these includes are
necessary in my environment to get through make.
Volker
(This used to be commit
47e80da39f27a7e7aa6f85d6333f2d1772292ec9)
Volker Lendecke [Wed, 10 Jan 2007 13:22:09 +0000 (13:22 +0000)]
r20652: Attempt to fix the build
(This used to be commit
29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
Andrew Tridgell [Wed, 10 Jan 2007 11:50:33 +0000 (11:50 +0000)]
r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit
b3e2d4908781781a487eaeb683d22eb967e5597d)
Andrew Tridgell [Wed, 10 Jan 2007 11:47:27 +0000 (11:47 +0000)]
r20649: fixed strlower_talloc() and strupper_talloc() to end with right size,
so talloc_append_string() works
(This used to be commit
0d36b036b381d4f81a22ce31066d89932d73597b)
Andrew Bartlett [Wed, 10 Jan 2007 11:43:50 +0000 (11:43 +0000)]
r20648: Closer to a build... Add missing header file.
(This used to be commit
a4051a2d6537a536266ce7562cd6b833528dd263)
Andrew Tridgell [Wed, 10 Jan 2007 11:16:11 +0000 (11:16 +0000)]
r20647: add cluster code
(This used to be commit
5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
Andrew Tridgell [Wed, 10 Jan 2007 10:52:09 +0000 (10:52 +0000)]
r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
struct server_id server_id;
which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit
2365abaa991d57d68c6ebe9be608e01c907102eb)
Andrew Bartlett [Wed, 10 Jan 2007 08:50:03 +0000 (08:50 +0000)]
r20645: Commit the build system changes to allow scripts in config.mk files.
Andrew Bartlett
(This used to be commit
14b485ba9c72a654e5cf9e61f71fd0fb502d603b)
Andrew Bartlett [Wed, 10 Jan 2007 02:49:40 +0000 (02:49 +0000)]
r20643: Remove generated files accidentilly committed.
Andrew Bartlett
(This used to be commit
12953ee765de1beeab547cb30ab292b77501d9c9)
Andrew Bartlett [Wed, 10 Jan 2007 02:37:27 +0000 (02:37 +0000)]
r20642: This bit of autoconf causes us pain. Revert back to how we had things
before the last merge.
Andrew Bartlett
(This used to be commit
9e7124cc85ec9ed8291769689aa38ab14b3754d8)
Derrell Lipman [Wed, 10 Jan 2007 02:37:05 +0000 (02:37 +0000)]
r20641: Everything relevant from the old swat (now swat.obsolete) directory has been moved to webapps. Remove the obsolete directory.
(This used to be commit
e7a17c66ea08d74183efd6c0dedb68992e02e6db)
Andrew Bartlett [Wed, 10 Jan 2007 01:57:32 +0000 (01:57 +0000)]
r20640: Commit part 2/2
Update Heimdal to match current lorikeet-heimdal. This includes
integrated PAC hooks, so Samba doesn't have to handle this any more.
This also brings in the PKINIT code, hence so many new files.
Andrew Bartlett
(This used to be commit
351f7040f7bb73b9a60b22b564686f7c2f98a729)
Andrew Bartlett [Wed, 10 Jan 2007 01:51:35 +0000 (01:51 +0000)]
r20639: Commit part 1 of 2.
This patch updates our build system and glue to support a new snapshot
of lorikeet-heimdal.
We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend
on that in the heimdal_build/config.mk. This is much easier than
listing every generated .o file individually.
This required some small changes to the build system, due to the way
the parent directory was handled for the output of scripts. I've also
cleaned up et_deps.pl to handle cleaning up it's generated files on
clean.
The PAC glue in Heimdal has changed significantly: we no longer have a
custom hack in the KDC, instead we have the windc plugin interface.
As such, pac-glue.c is much smaller. In the future, when I'm
confident of the new code, we will also be able to 'downsize'
auth/kerberos/kerberos_pac.c.
(I'll include the updated copy of heimdal in the next chekin, to make
it clearer what's changed in Samba4 itself).
Andrew Bartlett
(This used to be commit
75fddbbc0811010a28ca5bb597b573b3f10ef6d6)
Jelmer Vernooij [Wed, 10 Jan 2007 00:37:30 +0000 (00:37 +0000)]
r20638: Check for NULL pointers (where possible) in print functions. Fixes #4218,
but without reintroducing coverity warnings.
(This used to be commit
a0e2e30d570f246d646f88d7f81ab08208b96131)
Jelmer Vernooij [Tue, 9 Jan 2007 23:41:25 +0000 (23:41 +0000)]
r20637: Don't check for NULL pointers when the pointer is guaranteed to not be NULL
(if it is a ref pointer).
(This used to be commit
419547df76c38fde1f54b06dc633832523ad3394)
Jelmer Vernooij [Tue, 9 Jan 2007 15:54:36 +0000 (15:54 +0000)]
r20633: Add another test, fix warnings.
(This used to be commit
3ddc76772765db8009120ada820837737c49e409)
Volker Lendecke [Tue, 9 Jan 2007 15:50:40 +0000 (15:50 +0000)]
r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, in
particular the NT_STATUS_INVALID_PARAMETER thing was badly wrong. Remove the
changes based on it. Using gentest is much more effective in this respect, but
it will take a while to figure out the wildcard error handling of W2k3.
Volker
(This used to be commit
33d842e27d7611dd1d3cbfa71d44d63c273ba785)
Jelmer Vernooij [Tue, 9 Jan 2007 15:50:36 +0000 (15:50 +0000)]
r20631: Add some tests for the ndr parser.
(This used to be commit
ded25eca701b8e3e0e13e7ef64d5511d8953eb0d)
Stefan Metzmacher [Tue, 9 Jan 2007 11:15:56 +0000 (11:15 +0000)]
r20629: add a wrapper function for ldb_extended(ldb, DSDB_EXTENDED_REPLICATED_OBJECTS_OID, out, &ext_res);
which prepares the replicated objects, the repl_meta_data ldb module
will then add the uSNCreated, uSNChanged and some other things and will apply
the objects to the partition specific ldb
metze
(This used to be commit
48d568a75b8109807af29f5d9604240c20c1a116)
Jelmer Vernooij [Tue, 9 Jan 2007 06:02:41 +0000 (06:02 +0000)]
r20625: Fix couple of warnings.
(This used to be commit
203076129b967ccc6258e807280dc1b75583a064)
Andrew Tridgell [Tue, 9 Jan 2007 04:04:26 +0000 (04:04 +0000)]
r20624: added AIO read to pvfs backend
(This used to be commit
d6e20d6d8c5c207e7f04b0d0523224437b209917)
Andrew Tridgell [Tue, 9 Jan 2007 03:52:07 +0000 (03:52 +0000)]
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
803e6cf6ef5caaf7c9faefcc111c97e1a97e9b82)
Andrew Bartlett [Tue, 9 Jan 2007 03:45:50 +0000 (03:45 +0000)]
r20622: Add in a hack to avoid permitting searches on the value of protected
attributes.
Andrew Bartlett
(This used to be commit
5aa2195ec26d9ddf82e51f2b242cdf7c8ab52f52)
Andrew Tridgell [Tue, 9 Jan 2007 00:00:30 +0000 (00:00 +0000)]
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
4a8e07286f827a6f57b2c54d97d31172553ceb0d)
Volker Lendecke [Mon, 8 Jan 2007 21:08:31 +0000 (21:08 +0000)]
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
838afa8f7d2b10460725c1f0b519ce54fb84de88)
Jelmer Vernooij [Mon, 8 Jan 2007 17:28:14 +0000 (17:28 +0000)]
r20616: Point at the wiki
(This used to be commit
5f4617807ad0a9455d42a31575fc78d4bdb2286d)
Volker Lendecke [Mon, 8 Jan 2007 16:11:44 +0000 (16:11 +0000)]
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
fdd501f8032dceb05989c582132b036bb22e6fb1)
Volker Lendecke [Mon, 8 Jan 2007 14:14:18 +0000 (14:14 +0000)]
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
79846f09b98965af0817b362f45d11e69e23c3e4)
Derrell Lipman [Mon, 8 Jan 2007 04:58:04 +0000 (04:58 +0000)]
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
09a82920336d1502c204725a4b518a1fa4a0d68d)
Derrell Lipman [Sun, 7 Jan 2007 23:06:50 +0000 (23:06 +0000)]
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
27c5d7dca6fa4e0811c1b8bb52d1db3d1824462c)
Stefan Metzmacher [Sun, 7 Jan 2007 19:11:27 +0000 (19:11 +0000)]
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
0ed53c6d0f4a4e43ff9c8943730eeb57c735201b)
Stefan Metzmacher [Sun, 7 Jan 2007 19:04:40 +0000 (19:04 +0000)]
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
5731617ea9103eaaef2c5591aab89d59ded35fd8)
Stefan Metzmacher [Sun, 7 Jan 2007 15:26:35 +0000 (15:26 +0000)]
r20596: add prototypes for the ldb_extended functions
metze
(This used to be commit
8d3a3117c313c2950381e8d21eb92469a82c3afe)
Volker Lendecke [Sun, 7 Jan 2007 10:29:12 +0000 (10:29 +0000)]
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
6094ee9df5820cd26858e9c4eff5dfc7e60181ab)
James Peach [Sun, 7 Jan 2007 04:53:49 +0000 (04:53 +0000)]
r20594: Match popt.h declaration.
(This used to be commit
c12fc86a936392922a7f22a3a6a1766f43db7ff5)
James Peach [Sun, 7 Jan 2007 04:43:50 +0000 (04:43 +0000)]
r20593: Kill annoying warning.
(This used to be commit
d225481e49eb8ae22f255be1a0d146cebaad04b9)
James Peach [Sun, 7 Jan 2007 04:43:04 +0000 (04:43 +0000)]
r20592: Use the Heimdal copy of err.h only if the build host doesn't have it.
(This used to be commit
1e8c4847b829217beec62ba46c592da3fae8a73e)
James Peach [Sun, 7 Jan 2007 01:04:49 +0000 (01:04 +0000)]
r20591: Revert accidental commit that broke the build.
(This used to be commit
22957f78e94e5821e1e03922a07556d8471f1850)
James Peach [Sun, 7 Jan 2007 00:44:17 +0000 (00:44 +0000)]
r20590: Heimdal uses warn(), so we should prototype it here too.
(This used to be commit
c1c25767e3fc655dfb70147b0477404617835feb)
Stefan Metzmacher [Sat, 6 Jan 2007 10:21:32 +0000 (10:21 +0000)]
r20588: handle extended operations in the ldb_next_request() call
metze
(This used to be commit
b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
Stefan Metzmacher [Sat, 6 Jan 2007 10:15:02 +0000 (10:15 +0000)]
r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handling
metze
(This used to be commit
ef3b325db060d43a7c2e058f6b8914b5867cd321)
Stefan Metzmacher [Sat, 6 Jan 2007 10:14:15 +0000 (10:14 +0000)]
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
6397f014482172573facd3d87d1f9eec1b320ac5)
Stefan Metzmacher [Sat, 6 Jan 2007 09:49:29 +0000 (09:49 +0000)]
r20583: implement the frontend calls for extended operations
metze
(This used to be commit
cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
Stefan Metzmacher [Sat, 6 Jan 2007 09:25:54 +0000 (09:25 +0000)]
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
530b3cd2501efb7763cbb7d3301ff0550689effe)
Stefan Metzmacher [Sat, 6 Jan 2007 09:03:28 +0000 (09:03 +0000)]
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
aababcbb05ad476507bba35723eaef01d18b4d4e)
Stefan Metzmacher [Sat, 6 Jan 2007 01:13:59 +0000 (01:13 +0000)]
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
a4d5e0126cfd6135ab829f4984269e265a868a28)
Stefan Metzmacher [Sat, 6 Jan 2007 01:09:16 +0000 (01:09 +0000)]
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
2660c5ab211f353324452694b4bd5fd8bd17745b)
Stefan Metzmacher [Sat, 6 Jan 2007 01:04:12 +0000 (01:04 +0000)]
r20576: add functions to get and set dsdb_schema on the ldb context
metze
(This used to be commit
2e054be8e023e23420e7ddd8cd73497400a875f9)
Stefan Metzmacher [Fri, 5 Jan 2007 23:00:46 +0000 (23:00 +0000)]
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
0f387d58e69a6ee806fea02229ef8fa030f2918d)
Derrell Lipman [Fri, 5 Jan 2007 21:42:49 +0000 (21:42 +0000)]
r20574: reorganization of common modules
(This used to be commit
5075e008941177d5be1d9471387c9d27aba65f81)
Stefan Metzmacher [Fri, 5 Jan 2007 21:36:57 +0000 (21:36 +0000)]
r20573: fix handling of pointers handling to elements with the charset property
metze
(This used to be commit
895416c2202cac561e3bda80fe5c05a782dde0b0)
Stefan Metzmacher [Fri, 5 Jan 2007 21:27:24 +0000 (21:27 +0000)]
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
e84b0c7d4004df312ae58ed76dd708a2c3c37986)
Jelmer Vernooij [Fri, 5 Jan 2007 21:26:28 +0000 (21:26 +0000)]
r20571: fix '' case
(This used to be commit
1618921a7e24213d39e042a4e2f9d5cb59997f50)
Stefan Metzmacher [Fri, 5 Jan 2007 21:22:15 +0000 (21:22 +0000)]
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
1748af20b1f7b325048619a1e66a1c8b69474c5f)
Derrell Lipman [Fri, 5 Jan 2007 21:20:11 +0000 (21:20 +0000)]
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
38ae9658cb52149d66f910582d8b55fe954650fb)
Stefan Metzmacher [Fri, 5 Jan 2007 20:58:21 +0000 (20:58 +0000)]
r20568: split out the rootdse ldif
and set the isSyncronized = TRUE when we done
metze
(This used to be commit
5875ce1ac6ff694d07787ff0cf81b3429580311b)
Jelmer Vernooij [Fri, 5 Jan 2007 20:52:12 +0000 (20:52 +0000)]
r20567: Print proper errors with filename and line numbers in ParseExpr()
(This used to be commit
f5dc1b47ecf18068a47f8f68016463ef4a55dc03)
Jelmer Vernooij [Fri, 5 Jan 2007 20:51:19 +0000 (20:51 +0000)]
r20566: Prepending with r-> is no longer necessary.
(This used to be commit
1df96af3103795f609165e7a7344e1bf6046be79)
Stefan Metzmacher [Fri, 5 Jan 2007 20:31:24 +0000 (20:31 +0000)]
r20565: configure the list of global ldb modules also in js code
metze
(This used to be commit
cbebe559a2563a3ab9dd2e002c79676a803b71a4)
Jelmer Vernooij [Fri, 5 Jan 2007 20:23:48 +0000 (20:23 +0000)]
r20564: Regenerate.
(This used to be commit
a4d6e340cdfdab8c6ac49c4fc8a504f8910cefed)
Jelmer Vernooij [Fri, 5 Jan 2007 20:18:33 +0000 (20:18 +0000)]
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)
Jelmer Vernooij [Fri, 5 Jan 2007 20:13:48 +0000 (20:13 +0000)]
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)
Jelmer Vernooij [Fri, 5 Jan 2007 20:12:21 +0000 (20:12 +0000)]
r20561: Add parser for subexpressions used in IDL attributes.
(This used to be commit
7e7fdb01d3fba449f33b7b67ba0e3a0089dd3902)
Stefan Metzmacher [Fri, 5 Jan 2007 20:10:38 +0000 (20:10 +0000)]
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)
Derrell Lipman [Fri, 5 Jan 2007 19:29:45 +0000 (19:29 +0000)]
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)
Stefan Metzmacher [Fri, 5 Jan 2007 17:40:43 +0000 (17:40 +0000)]
r20557: use ${DOMAINDN} instead of ${BASEDN}
metze
(This used to be commit
2a6e6a2695b256411c91768c7bee748228e40e6f)
Jelmer Vernooij [Fri, 5 Jan 2007 17:18:22 +0000 (17:18 +0000)]
r20556: Add more tests to make sure nothing breaks when I replace the ParseExpr code.
(This used to be commit
0ba52e459bb322a0aee59c6616d7696658934b38)
Stefan Metzmacher [Fri, 5 Jan 2007 16:26:16 +0000 (16:26 +0000)]
r20555: fix typo...
metze
(This used to be commit
09622f01227093b4b351fcc79fe29d5b2f388376)
Stefan Metzmacher [Fri, 5 Jan 2007 16:19:00 +0000 (16:19 +0000)]
r20554: - use ${ROOTDN} for the rootDomainNamingContext
- the ${CONFIGDN} is a child of the ${ROOTDN}
metze
(This used to be commit
ebbd8a83c982efdc58e53798d1fd191f08731005)
Stefan Metzmacher [Fri, 5 Jan 2007 16:12:30 +0000 (16:12 +0000)]
r20553: add ${CONFIGDN} and ${SCHEMADN} instead of using hardcoded paths
under ${BASEDN}
metze
(This used to be commit
09ca6aae12d8e10b76971cf269f7c62f228a4c87)
Volker Lendecke [Fri, 5 Jan 2007 16:02:42 +0000 (16:02 +0000)]
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)
Stefan Metzmacher [Fri, 5 Jan 2007 15:53:19 +0000 (15:53 +0000)]
r20551: use variable instead of hardcoded value for the default site
metze
(This used to be commit
21f433018afbb7b94089969f7ee9acda40ee1a70)
Jelmer Vernooij [Fri, 5 Jan 2007 15:20:23 +0000 (15:20 +0000)]
r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
(This used to be commit
9f794c55a60b09536d6e0dbadfc172e1e74497ff)
Volker Lendecke [Fri, 5 Jan 2007 15:12:32 +0000 (15:12 +0000)]
r20549: obvious bug fix..
(This used to be commit
f0aa63e39050c7ac10b9d51c5cecc753b257be9a)
Jelmer Vernooij [Fri, 5 Jan 2007 15:03:21 +0000 (15:03 +0000)]
r20548: Remove unnecessary "use lib", fix warnings.
(This used to be commit
30d721569fdf33e4784eb1f7c650e75ed1b80527)
Jelmer Vernooij [Fri, 5 Jan 2007 14:55:26 +0000 (14:55 +0000)]
r20547: Add tests for expected errors/warnings.
(This used to be commit
2d960d4d7b0bc39c3ec4c2face546adc2cb345ee)
Jelmer Vernooij [Fri, 5 Jan 2007 14:25:21 +0000 (14:25 +0000)]
r20545: Fix is_constant().
(This used to be commit
ae9b0895e8b7fd98335ece82aae3e391b94d2ec9)
Jelmer Vernooij [Fri, 5 Jan 2007 12:56:15 +0000 (12:56 +0000)]
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)
Andrew Tridgell [Fri, 5 Jan 2007 10:31:54 +0000 (10:31 +0000)]
r20540: darn, also need to fix this event_context reference
(This used to be commit
c8bd3ec09d3c370475df3a3cd77de6743b316c9e)
Andrew Tridgell [Fri, 5 Jan 2007 09:35:49 +0000 (09:35 +0000)]
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)
Derrell Lipman [Fri, 5 Jan 2007 04:33:38 +0000 (04:33 +0000)]
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)
Stefan Metzmacher [Thu, 4 Jan 2007 21:09:29 +0000 (21:09 +0000)]
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)
Stefan Metzmacher [Thu, 4 Jan 2007 20:36:12 +0000 (20:36 +0000)]
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)
Volker Lendecke [Thu, 4 Jan 2007 16:26:15 +0000 (16:26 +0000)]
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)
Stefan Metzmacher [Thu, 4 Jan 2007 14:42:13 +0000 (14:42 +0000)]
r20523: match the lDAPDisplayName case insensitive
metze
(This used to be commit
c32ec0a10041dba50be23611f25e4aae8c45830c)
Stefan Metzmacher [Thu, 4 Jan 2007 12:10:55 +0000 (12:10 +0000)]
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)
Stefan Metzmacher [Thu, 4 Jan 2007 09:47:49 +0000 (09:47 +0000)]
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)