summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20640: Commit part 2/2Andrew Bartlett176-2843/+30855
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)
2007-10-10r20639: Commit part 1 of 2.Andrew Bartlett17-397/+301
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)
2007-10-10r20638: Check for NULL pointers (where possible) in print functions. Fixes ↵Jelmer Vernooij2-33/+34
#4218, but without reintroducing coverity warnings. (This used to be commit a0e2e30d570f246d646f88d7f81ab08208b96131)
2007-10-10r20637: Don't check for NULL pointers when the pointer is guaranteed to not ↵Jelmer Vernooij3-42/+219
be NULL (if it is a ref pointer). (This used to be commit 419547df76c38fde1f54b06dc633832523ad3394)
2007-10-10r20633: Add another test, fix warnings.Jelmer Vernooij1-7/+44
(This used to be commit 3ddc76772765db8009120ada820837737c49e409)
2007-10-10r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, inVolker Lendecke1-261/+2
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)
2007-10-10r20631: Add some tests for the ndr parser.Jelmer Vernooij3-2/+157
(This used to be commit ded25eca701b8e3e0e13e7ef64d5511d8953eb0d)
2007-10-10r20629: add a wrapper function for ldb_extended(ldb, ↵Stefan Metzmacher3-1/+311
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)
2007-10-10r20625: Fix couple of warnings.Jelmer Vernooij6-219/+231
(This used to be commit 203076129b967ccc6258e807280dc1b75583a064)
2007-10-10r20624: added AIO read to pvfs backendAndrew Tridgell6-4/+129
(This used to be commit d6e20d6d8c5c207e7f04b0d0523224437b209917)
2007-10-10r20623: change where the smb.conf parm event:backend is checked to ensure itAndrew Tridgell1-4/+6
affects all event_context_init() calls (This used to be commit 803e6cf6ef5caaf7c9faefcc111c97e1a97e9b82)
2007-10-10r20622: Add in a hack to avoid permitting searches on the value of protectedAndrew Bartlett1-1/+23
attributes. Andrew Bartlett (This used to be commit 5aa2195ec26d9ddf82e51f2b242cdf7c8ab52f52)
2007-10-10r20621: - enable the aio events backend on systems that support itAndrew Tridgell3-7/+19
- allow the events backend to be chosen in smb.conf (This used to be commit 4a8e07286f827a6f57b2c54d97d31172553ceb0d)
2007-10-10r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For ↵Volker Lendecke1-5/+16
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)
2007-10-10r20613: The individual tests are fine, I did run samba3badpath, but ↵Volker Lendecke1-0/+3
raw-samba3hide left test.txt with permissions 000 behind... Volker (This used to be commit fdd501f8032dceb05989c582132b036bb22e6fb1)
2007-10-10r20609: Additional torture test for our bad_path handling. Most of it is ↵Volker Lendecke1-2/+210
disabled for now, there are calls (for example trans2ffirst) which are quite dubious. Volker (This used to be commit 79846f09b98965af0817b362f45d11e69e23c3e4)
2007-10-10r20599: - forward extended operations in the partitions moduleStefan Metzmacher2-3/+47
- 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)
2007-10-10r20598: add comments and make clear that the void *data element for extended ↵Stefan Metzmacher1-5/+7
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)
2007-10-10r20596: add prototypes for the ldb_extended functionsStefan Metzmacher1-2/+62
metze (This used to be commit 8d3a3117c313c2950381e8d21eb92469a82c3afe)
2007-10-10r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. ↵Volker Lendecke1-17/+23
I think Samba should follow w2k3 in this respect. Volker (This used to be commit 6094ee9df5820cd26858e9c4eff5dfc7e60181ab)
2007-10-10r20594: Match popt.h declaration.James Peach1-1/+1
(This used to be commit c12fc86a936392922a7f22a3a6a1766f43db7ff5)
2007-10-10r20593: Kill annoying warning.James Peach1-1/+1
(This used to be commit d225481e49eb8ae22f255be1a0d146cebaad04b9)
2007-10-10r20592: Use the Heimdal copy of err.h only if the build host doesn't have it.James Peach2-11/+10
(This used to be commit 1e8c4847b829217beec62ba46c592da3fae8a73e)
2007-10-10r20591: Revert accidental commit that broke the build.James Peach1-5/+0
(This used to be commit 22957f78e94e5821e1e03922a07556d8471f1850)
2007-10-10r20590: Heimdal uses warn(), so we should prototype it here too.James Peach1-0/+6
(This used to be commit c1c25767e3fc655dfb70147b0477404617835feb)
2007-10-10r20588: handle extended operations in the ldb_next_request() callStefan Metzmacher1-0/+3
metze (This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
2007-10-10r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handlingStefan Metzmacher2-0/+21
metze (This used to be commit ef3b325db060d43a7c2e058f6b8914b5867cd321)
2007-10-10r20586: - allocate an OID range for LDB/LDAP extended operationsStefan Metzmacher1-0/+3
- 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)
2007-10-10r20583: implement the frontend calls for extended operationsStefan Metzmacher2-5/+112
metze (This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
2007-10-10r20582: use void *data in the ldb_extended struct to match what we have in ↵Stefan Metzmacher1-4/+4
ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
2007-10-10r20581: - the ldb modules have explicit hooks for extended operationsStefan Metzmacher2-2/+6
so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
2007-10-10r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add requestStefan Metzmacher4-22/+126
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)
2007-10-10r20577: - allocate an OID range for samba4 LDB/LDAP ControlsStefan Metzmacher1-0/+2
- allocate an OID for LDB Control that hold meta data when applying replicated objects metze (This used to be commit 2660c5ab211f353324452694b4bd5fd8bd17745b)
2007-10-10r20576: add functions to get and set dsdb_schema on the ldb contextStefan Metzmacher1-0/+34
metze (This used to be commit 2e054be8e023e23420e7ddd8cd73497400a875f9)
2007-10-10r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)Stefan Metzmacher2-4/+86
we need to modify some modules to only handle originating changes... metze (This used to be commit 0f387d58e69a6ee806fea02229ef8fa030f2918d)
2007-10-10r20573: fix handling of pointers handling to elements with the charset propertyStefan Metzmacher1-6/+14
metze (This used to be commit 895416c2202cac561e3bda80fe5c05a782dde0b0)
2007-10-10r20572: - prepare a test_samdb.ldb in the NET-API-BECOME-DC torture testStefan Metzmacher3-12/+153
- 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)
2007-10-10r20571: fix '' caseJelmer Vernooij1-2/+2
(This used to be commit 1618921a7e24213d39e042a4e2f9d5cb59997f50)
2007-10-10r20570: use talloc_asprintf() instead of talloc_asprintf_append()Stefan Metzmacher1-3/+4
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)
2007-10-10r20568: split out the rootdse ldifStefan Metzmacher4-20/+33
and set the isSyncronized = TRUE when we done metze (This used to be commit 5875ce1ac6ff694d07787ff0cf81b3429580311b)
2007-10-10r20567: Print proper errors with filename and line numbers in ParseExpr()Jelmer Vernooij10-116/+137
(This used to be commit f5dc1b47ecf18068a47f8f68016463ef4a55dc03)
2007-10-10r20566: Prepending with r-> is no longer necessary.Jelmer Vernooij6-18/+18
(This used to be commit 1df96af3103795f609165e7a7344e1bf6046be79)
2007-10-10r20565: configure the list of global ldb modules also in js codeStefan Metzmacher2-11/+26
metze (This used to be commit cbebe559a2563a3ab9dd2e002c79676a803b71a4)
2007-10-10r20564: Regenerate.Jelmer Vernooij1-34/+34
(This used to be commit a4d6e340cdfdab8c6ac49c4fc8a504f8910cefed)
2007-10-10r20563: Start using the new parser in ParseExpr(). It's now trivial to use thisJelmer Vernooij3-503/+36
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-10r20562: Start building expr parser. Add separate copy of Yapp::DriverJelmer Vernooij3-6/+484
rather than including it in each individual parser. (This used to be commit 26853d7d99f7305981bcadaabfe6accf254321e7)
2007-10-10r20561: Add parser for subexpressions used in IDL attributes.Jelmer Vernooij2-0/+1473
(This used to be commit 7e7fdb01d3fba449f33b7b67ba0e3a0089dd3902)
2007-10-10r20560: make it possible to configure the backend and modulesStefan Metzmacher3-18/+29
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-10r20557: use ${DOMAINDN} instead of ${BASEDN}Stefan Metzmacher12-80/+80
metze (This used to be commit 2a6e6a2695b256411c91768c7bee748228e40e6f)
2007-10-10r20556: Add more tests to make sure nothing breaks when I replace the ↵Jelmer Vernooij1-1/+19
ParseExpr code. (This used to be commit 0ba52e459bb322a0aee59c6616d7696658934b38)