bbaumbach/samba-autobuild/.git
12 years agor10026: Move registry header file to lib/registry
Jelmer Vernooij [Sun, 4 Sep 2005 14:47:19 +0000 (14:47 +0000)]
r10026: Move registry header file to lib/registry
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
(This used to be commit 47cecd4726e6568f1aafb404646d2664f630a9bb)

12 years agor10025: Add some utility functions for storing/loading tdr encoded data
Jelmer Vernooij [Sun, 4 Sep 2005 13:13:47 +0000 (13:13 +0000)]
r10025: Add some utility functions for storing/loading tdr encoded data
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)

12 years agor10022: Merge tpot's fix for IRIX and AIX_rea build problems from lorikeet-heimdal
Andrew Bartlett [Sun, 4 Sep 2005 08:17:24 +0000 (08:17 +0000)]
r10022: Merge tpot's fix for IRIX and AIX_rea build problems from lorikeet-heimdal
to Samba4.

Andrew Bartlett
(This used to be commit 6835e427907bf52f7fdd332b726ffa47041853de)

12 years agor10021: More kerberos notes.
Andrew Bartlett [Sun, 4 Sep 2005 06:19:57 +0000 (06:19 +0000)]
r10021: More kerberos notes.
(This used to be commit f36e657a416d7ec7146d84da88b28c2606ff838a)

12 years agor10020: Support for malloc / realloc / free in HBIN blocks
Jelmer Vernooij [Sun, 4 Sep 2005 02:09:32 +0000 (02:09 +0000)]
r10020: Support for malloc / realloc / free in HBIN blocks
Initial support for adding keys (still broken though)
(This used to be commit ff8d3a27c1b9bb37de39e7d7b974702b2b8c4437)

12 years agor10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..
Jelmer Vernooij [Sun, 4 Sep 2005 02:01:42 +0000 (02:01 +0000)]
r10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..
(This used to be commit ea92959209fa256a8190df19e8c27b368169724f)

12 years agor10016: Support reading security descriptors on keys.
Jelmer Vernooij [Sat, 3 Sep 2005 23:23:14 +0000 (23:23 +0000)]
r10016: Support reading security descriptors on keys.
(This used to be commit b349e902c7b0140cd94e241ba9f81c83fa54f603)

12 years agor10015: Change the NT4 registry backend to use the IDL-generate parse functions.
Jelmer Vernooij [Sat, 3 Sep 2005 22:58:04 +0000 (22:58 +0000)]
r10015: Change the NT4 registry backend to use the IDL-generate parse functions.
(This used to be commit 0ad46ef804c0654e927f9c14ea93c45f9e3c718c)

12 years agor10014: Support ?, : and = in attribute arguments.
Jelmer Vernooij [Sat, 3 Sep 2005 22:57:30 +0000 (22:57 +0000)]
r10014: Support ?, : and = in attribute arguments.
(This used to be commit 6a549f35583e71531bea56ce717635ad9499441a)

12 years agor10013: Support zero-sized strings.
Jelmer Vernooij [Sat, 3 Sep 2005 22:56:02 +0000 (22:56 +0000)]
r10013: Support zero-sized strings.
(This used to be commit cf3be71c33ec8e43c883ce05fd1a63d1178446ad)

12 years agor10010: Support base_type() attribute
Jelmer Vernooij [Sat, 3 Sep 2005 20:09:19 +0000 (20:09 +0000)]
r10010: Support base_type() attribute
(This used to be commit c0bae9b0b5cb56aea98e33b4d0a9d29c6622dd27)

12 years agor10009: Fix bug in uint8 parsing functions
Jelmer Vernooij [Sat, 3 Sep 2005 19:43:35 +0000 (19:43 +0000)]
r10009: Fix bug in uint8 parsing functions
(This used to be commit abb0db12185a3b3ef7da16fa3d742336afeb8ef0)

12 years agor10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
Jelmer Vernooij [Sat, 3 Sep 2005 17:17:30 +0000 (17:17 +0000)]
r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
(This used to be commit 709fdc7ebf5a77cfb50359fad978884777decc3b)

12 years agor10006: Insert correct header file.
Jelmer Vernooij [Sat, 3 Sep 2005 17:16:18 +0000 (17:16 +0000)]
r10006: Insert correct header file.
(This used to be commit dfa45ec1b329ad01daf81beeb31985811ce4f5af)

12 years agor10000: Congratulations to me for getting the 10,000th commit.
Tim Potter [Sat, 3 Sep 2005 16:39:47 +0000 (16:39 +0000)]
r10000: Congratulations to me for getting the 10,000th commit.
(This used to be commit d5c12a02af1d86de08109efddd2a588893dffbcc)

12 years agor9995: Add file describing the REGF file format in IDL.
Jelmer Vernooij [Sat, 3 Sep 2005 14:58:00 +0000 (14:58 +0000)]
r9995: Add file describing the REGF file format in IDL.
(used in reg_backend_nt4.c rewrite)
(This used to be commit 5e1a16eda28d432b94dc933b44da3ca556f92fdf)

12 years agor9994: Unused variable.
Tim Potter [Sat, 3 Sep 2005 12:45:37 +0000 (12:45 +0000)]
r9994: Unused variable.
(This used to be commit ce4902f8dea2b6f3568960278e08395ea3927146)

12 years agor9993: Gcc is fussy about the lack of parentheses around assignment statements.
Tim Potter [Sat, 3 Sep 2005 12:37:44 +0000 (12:37 +0000)]
r9993: Gcc is fussy about the lack of parentheses around assignment statements.
(This used to be commit 908ba892598af83ae2fbe661d40e9f10ff3e34a0)

12 years agor9992: More fixes from the 64-bit warning police.
Tim Potter [Sat, 3 Sep 2005 12:35:50 +0000 (12:35 +0000)]
r9992: More fixes from the 64-bit warning police.
(This used to be commit cda829f0d9476bd8b057a7019f55fac206205825)

12 years agor9991: Some more 64-bit size_t warnings. There are a few more but they are
Tim Potter [Sat, 3 Sep 2005 11:52:42 +0000 (11:52 +0000)]
r9991: Some more 64-bit size_t warnings.  There are a few more but they are
too hard to fix right now.  (-:
(This used to be commit a64b813ff70ccf203e65ddb9d5ee3f5dc3495a15)

12 years agor9990: Fix some 64-bit size_t warnings.
Tim Potter [Sat, 3 Sep 2005 11:50:33 +0000 (11:50 +0000)]
r9990: Fix some 64-bit size_t warnings.
(This used to be commit dd148451d7d554dc0b102023e6a22439fd3b4b81)

12 years agor9984: Honour the NOEMIT conformance directive for entire IDL files.
Tim Potter [Sat, 3 Sep 2005 02:08:25 +0000 (02:08 +0000)]
r9984: Honour the NOEMIT conformance directive for entire IDL files.
(This used to be commit 73dffade2c008b26eaf3924d31693c27328b8586)

12 years agor9983: Make the NOEMIT conformance directive with no argument mean do not
Tim Potter [Sat, 3 Sep 2005 02:06:32 +0000 (02:06 +0000)]
r9983: Make the NOEMIT conformance directive with no argument mean do not
emit any dissectors for this IDL.
(This used to be commit 55a98b3dfdef21df172dac6cff4ebc114b35df00)

12 years agor9982: Strip prefixes off the check for noemit in the conformance info so you
Tim Potter [Sat, 3 Sep 2005 01:50:56 +0000 (01:50 +0000)]
r9982: Strip prefixes off the check for noemit in the conformance info so you
can use the typedef names in the IDL rather than the autogenerated
function names.  This means you can say "NOEMIT security_descriptor"
instead of "NOEMIT dissect_security_descriptor_type" or whatever.
(This used to be commit ec80c5ceec3c96dc847d171967472cce99edcdc7)

12 years agor9980: Fix some warnings.
Tim Potter [Sat, 3 Sep 2005 00:52:34 +0000 (00:52 +0000)]
r9980: Fix some warnings.
(This used to be commit 716011dd92d65caacb31ae399b580defa4e6fb2d)

12 years agor9959: Fix bug where data offset was incorrect after parsing element with
Jelmer Vernooij [Fri, 2 Sep 2005 14:45:40 +0000 (14:45 +0000)]
r9959: Fix bug where data offset was incorrect after parsing element with
[charset]
(This used to be commit b17478229e8e9220858fcc85a19ec751450f969d)

12 years agor9957: Switch to using DATA_BLOBs internally in TDR
Jelmer Vernooij [Fri, 2 Sep 2005 14:05:28 +0000 (14:05 +0000)]
r9957: Switch to using DATA_BLOBs internally in TDR
(This used to be commit 351149d160e893a3fdd4a5b11ec4b4b2bbf264a9)

12 years agor9954: getntacl depends on EXT_LIB_XATTR
Stefan Metzmacher [Fri, 2 Sep 2005 13:15:41 +0000 (13:15 +0000)]
r9954: getntacl depends on EXT_LIB_XATTR
(maybe we need to disable this binary when EXT_LIB_XATTR isn't enabled)

metze
(This used to be commit 0e5cac10cbcf0d3576cc042f6c0298b10b537464)

12 years agor9951: Add another value to the default HKLM.
Jelmer Vernooij [Fri, 2 Sep 2005 12:06:25 +0000 (12:06 +0000)]
r9951: Add another value to the default HKLM.
Convert Samba3 policy "refuse machine pw change" to registry value.
(This used to be commit a143234ac7622ef3ef87c80224927551a1452e4b)

12 years agor9949: Portability fixes for mingw32
Jelmer Vernooij [Fri, 2 Sep 2005 11:35:58 +0000 (11:35 +0000)]
r9949: Portability fixes for mingw32
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)

12 years agor9948: Be a bit less verbose
Jelmer Vernooij [Fri, 2 Sep 2005 11:33:35 +0000 (11:33 +0000)]
r9948: Be a bit less verbose
(This used to be commit 071dba2d0ae964e9901adf0c4870894deed43650)

12 years agor9942: CN=Configuration is always under the database-wide base dn, so don't
Andrew Bartlett [Fri, 2 Sep 2005 03:27:13 +0000 (03:27 +0000)]
r9942: CN=Configuration is always under the database-wide base dn, so don't
try and pass it down as a parameter.

Andrew Bartlett
(This used to be commit 530d91de7ca4d3763326bc9f5b0e79e77b823778)

12 years agor9941: Update the CrackNames test, and provide a much improved server-side
Andrew Bartlett [Fri, 2 Sep 2005 03:19:27 +0000 (03:19 +0000)]
r9941: Update the CrackNames test, and provide a much improved server-side
DRSUAPI CrackNames.

We can't pass the full cracknames test until the initial provision is
updated, the seperate DomainControllerInfo and canonical names support
is added.

Andrew Bartlett
(This used to be commit ed24d88f0e8c6371acf6638a1c5f2112bc0bf285)

12 years agor9940: When guessing, don't make DEBUG(1,... errors.
Andrew Bartlett [Fri, 2 Sep 2005 03:13:04 +0000 (03:13 +0000)]
r9940: When guessing, don't make DEBUG(1,... errors.

Andrew Bartlett
(This used to be commit 664736e73df60ccfd24a41fda75031cb6b7d08cd)

12 years agor9939: Add configure check for yapp.
James Peach [Fri, 2 Sep 2005 03:10:42 +0000 (03:10 +0000)]
r9939: Add configure check for yapp.
(This used to be commit 0300f2329c71429e43ed18e6f411985a76e5aad5)

12 years agor9931: Make use of new 'norealm' parsing functions rather than strchr(p '@').
Andrew Bartlett [Thu, 1 Sep 2005 23:31:51 +0000 (23:31 +0000)]
r9931: Make use of new 'norealm' parsing functions rather than strchr(p '@').

Merge these norealm functions from lorikeet-heimdal.

Andrew Bartlett
(This used to be commit 6aef275efd7f434f65824eb3dd129c8e5efd8731)

12 years agor9930: Use a single samdb_base_dn() function rather than lots of silly
Andrew Bartlett [Thu, 1 Sep 2005 23:26:50 +0000 (23:26 +0000)]
r9930: Use a single samdb_base_dn() function rather than lots of silly
searches all over the place.

This can be extended to cover an NT4 (no ADS) mode in future as well.

Andrew Bartlett
(This used to be commit 0761b22f99a128bd9634a191adc88b0e30982a3a)

12 years agor9929: Fix indentation
Andrew Bartlett [Thu, 1 Sep 2005 23:24:47 +0000 (23:24 +0000)]
r9929: Fix indentation

Andrew Bartlett
(This used to be commit d6f57ec921839b46534eb64a7b6374161ff37835)

12 years agor9928: ncName is a DN, and needs to use DN matching rules.
Andrew Bartlett [Thu, 1 Sep 2005 23:24:16 +0000 (23:24 +0000)]
r9928: ncName is a DN, and needs to use DN matching rules.

Andrew Bartlett
(This used to be commit b89e7a7fcdf80f2cab581f138358b4324d15d6bc)

12 years agor9927: Extend copyright for all the hard work I've done this year.
Andrew Bartlett [Thu, 1 Sep 2005 23:23:22 +0000 (23:23 +0000)]
r9927: Extend copyright for all the hard work I've done this year.

Andrew Bartlett
(This used to be commit b50e546eb4d5d9171d4ae5e9c9bebd8c7c878bd8)

12 years agor9925: Fix swapped nt/lm password hashes - caught by Andrew Bartlett
Jelmer Vernooij [Thu, 1 Sep 2005 23:06:20 +0000 (23:06 +0000)]
r9925: Fix swapped nt/lm password hashes - caught by Andrew Bartlett
(This used to be commit 4f0ee80f6cc1639f612a50ddb8d99ee36d8ce8d6)

12 years agor9919: Remove debug statement from samba3sam
Jelmer Vernooij [Thu, 1 Sep 2005 21:34:05 +0000 (21:34 +0000)]
r9919: Remove debug statement from samba3sam
Add SOC STATUS doc
(This used to be commit 152c1a37b536c65e0b816319304d1fb46c2dc5a8)

12 years agor9918: Fix two copy-n-paste bugs that were preventing the modification
Jelmer Vernooij [Thu, 1 Sep 2005 21:32:43 +0000 (21:32 +0000)]
r9918: Fix two copy-n-paste bugs that were preventing the modification
of special DN's when the rdn_name or timestamps modules were in use.
(This used to be commit c61efb2ff851f8f55b4747c8068c7e780083e35c)

12 years agor9915: Some more mappings. Fix weird sAMAccountName values.
Jelmer Vernooij [Thu, 1 Sep 2005 20:28:03 +0000 (20:28 +0000)]
r9915: Some more mappings. Fix weird sAMAccountName values.
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)

12 years agor9912: Fix another bug in ldb_map.
Jelmer Vernooij [Thu, 1 Sep 2005 18:55:51 +0000 (18:55 +0000)]
r9912: Fix another bug in ldb_map.
(This used to be commit 4c3b37d660e798764e35a31221f4939ab6f36948)

12 years agor9908: Generate posixUser and posixGroup as well
Jelmer Vernooij [Thu, 1 Sep 2005 18:04:23 +0000 (18:04 +0000)]
r9908: Generate posixUser and posixGroup as well
(This used to be commit ebed25b47d3d8bd350b51b462d605d713f17602d)

12 years agor9899: Be more conservative about what is sent to the remote server in ldb_map.
Jelmer Vernooij [Thu, 1 Sep 2005 15:33:31 +0000 (15:33 +0000)]
r9899: Be more conservative about what is sent to the remote server in ldb_map.
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)

12 years agor9898: Add extra registry key used by WinXP (see r9894)
Jelmer Vernooij [Thu, 1 Sep 2005 15:31:45 +0000 (15:31 +0000)]
r9898: Add extra registry key used by WinXP (see r9894)
(This used to be commit 7666993fa96916d9d849a636a1b30ca7f77354a2)

12 years agor9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.
Günther Deschner [Thu, 1 Sep 2005 10:36:48 +0000 (10:36 +0000)]
r9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.

Guenther
(This used to be commit d717e878bdc05b06adcc50c3527c339be8164145)

12 years agor9885: Fix code before declarations.
Tim Potter [Thu, 1 Sep 2005 09:14:35 +0000 (09:14 +0000)]
r9885: Fix code before declarations.
(This used to be commit b7d982c94be05d357a4c3517afc60c7929fb4615)

12 years agor9884: Fix compiler warning.
Tim Potter [Thu, 1 Sep 2005 09:08:36 +0000 (09:08 +0000)]
r9884: Fix compiler warning.
(This used to be commit 6e30dd8a50e9afc4942cd925e6e0266d960923dd)

12 years agor9883: More nested initialiser fixes.
Tim Potter [Thu, 1 Sep 2005 08:56:37 +0000 (08:56 +0000)]
r9883: More nested initialiser fixes.
(This used to be commit 579d11147849932ec76a175f815de890a8ea20ad)

12 years agor9881: I can't believe this can make a difference...
Tim Potter [Thu, 1 Sep 2005 07:44:59 +0000 (07:44 +0000)]
r9881: I can't believe this can make a difference...
(This used to be commit 31069bfd18c4b7355dbf85df9fb479705b0e3b4b)

12 years agor9880: Convert remaining initialisers to more portable form. This should
Tim Potter [Thu, 1 Sep 2005 07:37:13 +0000 (07:37 +0000)]
r9880: Convert remaining initialisers to more portable form.  This should
clean out a lot of build farm breakage.
(This used to be commit c34fbdc6c3fd2c066c713bdd84e6f40f6aa8cd43)

12 years agor9879: A quick check to see if nested initialisers (?) is portable across the
Tim Potter [Thu, 1 Sep 2005 07:29:33 +0000 (07:29 +0000)]
r9879: A quick check to see if nested initialisers (?) is portable across the
build farm.  I have a feeling it isn't.
(This used to be commit 7cc8df0c2f46fb9ce753e368ce645bcb69585334)

12 years agor9878: This is getting a bit out of control, but a few more tests.
Andrew Bartlett [Thu, 1 Sep 2005 07:07:00 +0000 (07:07 +0000)]
r9878: This is getting a bit out of control, but a few more tests.

Andrew Bartlett
(This used to be commit a6597181f62e5b0ec95232a2dd69b5d85de845b8)

12 years agor9877: Merge from lorikeet-heimdal, to try and fix build failures.
Andrew Bartlett [Thu, 1 Sep 2005 07:03:33 +0000 (07:03 +0000)]
r9877: Merge from lorikeet-heimdal, to try and fix build failures.

Andrew Bartlett
(This used to be commit 53f2bf3b9178b78527bb43b9dca7b43e1497dd20)

12 years agor9876: Fix some 64-bit warnings for Itanium machine.
Tim Potter [Thu, 1 Sep 2005 06:39:19 +0000 (06:39 +0000)]
r9876: Fix some 64-bit warnings for Itanium machine.
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)

12 years agor9861: I need to convert this to table-driven, but anyway...
Andrew Bartlett [Thu, 1 Sep 2005 02:23:38 +0000 (02:23 +0000)]
r9861: I need to convert this to table-driven, but anyway...

More CrackNames testing

Andrew Bartlett
(This used to be commit 0913dec6a98e735e5e3157a2fceec94f57dd706c)

12 years agor9859: Enable (blocking) KDC resolution with DNS.
Andrew Bartlett [Thu, 1 Sep 2005 01:32:50 +0000 (01:32 +0000)]
r9859: Enable (blocking) KDC resolution with DNS.

To enable, set:

[libdefaults]
 dns_lookup_realm = true
 dns_lookup_kdc = true

in your /etc/krb5.conf.

In the future I may override the krb5.conf and set this on by default
in Samba4.

Andrew Bartlett
(This used to be commit 32fb50d02560123b8d0ab13346041806c062f9bf)

12 years agor9857: Fix rename/delete issues
Jelmer Vernooij [Thu, 1 Sep 2005 01:11:15 +0000 (01:11 +0000)]
r9857: Fix rename/delete issues
(This used to be commit d6dce7ef3eb21a5e90244cf2ce7403ab43b12d63)

12 years agor9855: Finish ldb_map testsuite
Jelmer Vernooij [Thu, 1 Sep 2005 00:38:28 +0000 (00:38 +0000)]
r9855: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
(This used to be commit 31cd5d55a9754b4e670be5d3687dfaaab8adaefc)

12 years agor9854: Finish ldb_map testsuite
Jelmer Vernooij [Thu, 1 Sep 2005 00:37:52 +0000 (00:37 +0000)]
r9854: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
(This used to be commit de2bde2526ffaf521253e3b9e58fc11417986321)

12 years agor9849: Extend testsuite a bit more.
Jelmer Vernooij [Wed, 31 Aug 2005 22:27:40 +0000 (22:27 +0000)]
r9849: Extend testsuite a bit more.
(This used to be commit 5cbe1e6b70b03be441a36b36fb969339df0dfd45)

12 years agor9842: More error checks in the ldb_map modules, extend testsuite
Jelmer Vernooij [Wed, 31 Aug 2005 21:04:17 +0000 (21:04 +0000)]
r9842: More error checks in the ldb_map modules, extend testsuite
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)

12 years agor9835: Make ldb_map compile in the stand-alone LDB build
Jelmer Vernooij [Wed, 31 Aug 2005 18:33:57 +0000 (18:33 +0000)]
r9835: Make ldb_map compile in the stand-alone LDB build
(This used to be commit 2283a336e0e31e6857621d9806bba54c400bd986)

12 years agor9834: More tests for the upgrade from Samba3
Jelmer Vernooij [Wed, 31 Aug 2005 16:51:09 +0000 (16:51 +0000)]
r9834: More tests for the upgrade from Samba3
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)

12 years agor9831: Check whether the two admin passwords entered were equal.
Jelmer Vernooij [Wed, 31 Aug 2005 15:47:10 +0000 (15:47 +0000)]
r9831: Check whether the two admin passwords entered were equal.
(This used to be commit d02834f88d6a26f77549ec9db8f2492eacc9b043)

12 years agor9830: Fix support for importing registry values. Extended the examplre registry...
Jelmer Vernooij [Wed, 31 Aug 2005 15:46:41 +0000 (15:46 +0000)]
r9830: Fix support for importing registry values. Extended the examplre registry tdb.
(This used to be commit 11e2a1938966f3aa9e9c25433181c20843951a6b)

12 years agor9829: Registry key and value names are case insensitive
Jelmer Vernooij [Wed, 31 Aug 2005 15:17:34 +0000 (15:17 +0000)]
r9829: Registry key and value names are case insensitive
(This used to be commit 96ccbd6402fa37338c49d9a55919a360e940bc48)

12 years agor9828: Fix path to testdata (tests are always run from source/)
Jelmer Vernooij [Wed, 31 Aug 2005 14:30:56 +0000 (14:30 +0000)]
r9828: Fix path to testdata (tests are always run from source/)
(This used to be commit 76666d401071bf9b67b0402efc1d647f45533259)

12 years agor9827: Convert 'passdb backend' rather then 'passdb backends'
Jelmer Vernooij [Wed, 31 Aug 2005 14:27:17 +0000 (14:27 +0000)]
r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
(This used to be commit fb2fd8da10b281b2064d4cae5d5a0630e8a207da)

12 years agor9826: Add some more OOM checks
Jelmer Vernooij [Wed, 31 Aug 2005 14:26:20 +0000 (14:26 +0000)]
r9826: Add some more OOM checks
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)

12 years agor9825: Correctly handle length argument to substr()
Jelmer Vernooij [Wed, 31 Aug 2005 14:25:18 +0000 (14:25 +0000)]
r9825: Correctly handle length argument to substr()
(This used to be commit edf380cb5fa2c168fc05dd54580f024239ef835f)

12 years agor9824: r9495@cabra: derrell | 2005-08-31 09:33:55 -0400
Derrell Lipman [Wed, 31 Aug 2005 13:36:35 +0000 (13:36 +0000)]
r9824:  r9495@cabra:  derrell | 2005-08-31 09:33:55 -0400
 add a readme file to indicate what the smbc directory is for
(This used to be commit c1a9ea47a326adf529dbf207a75d23f326887a14)

12 years agor9816: Work on testsuite for upgrade
Jelmer Vernooij [Wed, 31 Aug 2005 02:39:57 +0000 (02:39 +0000)]
r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)

12 years agor9813: Conver testsuite for samba3sam module to EJS
Jelmer Vernooij [Tue, 30 Aug 2005 22:38:34 +0000 (22:38 +0000)]
r9813: Conver testsuite for samba3sam module to EJS
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)

12 years agor9808: Improve code that selects what "passdb backend" to import from.
Jelmer Vernooij [Tue, 30 Aug 2005 17:23:07 +0000 (17:23 +0000)]
r9808: Improve code that selects what "passdb backend" to import from.
(This used to be commit 7739d092d5ca99bd44a1612cc783e38a2f09a67f)

12 years agor9807: Use talloc in fd_lines_load() and file_lines_load(). The return
Jelmer Vernooij [Tue, 30 Aug 2005 17:21:41 +0000 (17:21 +0000)]
r9807: Use talloc in fd_lines_load() and file_lines_load(). The return
value now can be freed using talloc(). I couldn't find the free_lines_list()
function that was supposed to free it before.
(This used to be commit f6f31661d05e392a9f2819c5a0ceff92c1b7656a)

12 years agor9806: Some more test data
Jelmer Vernooij [Tue, 30 Aug 2005 16:30:11 +0000 (16:30 +0000)]
r9806: Some more test data
(This used to be commit 96a511b6de08385d58998f5ae5f4f569c9b730cf)

12 years agor9805: Add 'data' property to param EJS object
Jelmer Vernooij [Tue, 30 Aug 2005 16:09:38 +0000 (16:09 +0000)]
r9805: Add 'data' property to param EJS object
Write out new smb.conf file. Parameters that have disappeared
between Samba 3 and 4 will optionally be prefixed with 'samba3:'
(This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)

12 years agor9800: Add EJS interface to param. tridge, sorry this overlaps a bit
Jelmer Vernooij [Tue, 30 Aug 2005 14:44:33 +0000 (14:44 +0000)]
r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
(This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)

12 years agor9798: Add generic functions for handling smb.conf files (the parameters don't to...
Jelmer Vernooij [Tue, 30 Aug 2005 13:58:48 +0000 (13:58 +0000)]
r9798: Add generic functions for handling smb.conf files (the parameters don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once.

Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome...

Remove old smb.conf-parsing code from libsamba3.
(This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)

12 years agor9797: - let us parse replication packets with linked attributes fine,
Stefan Metzmacher [Tue, 30 Aug 2005 13:43:58 +0000 (13:43 +0000)]
r9797: - let us parse replication packets with linked attributes fine,
- also resolve the 0x1f ('member') attid for nicer debugging

metze
(This used to be commit f6cf38d608d727e2065035604b537e07cb88ded9)

12 years agor9795: fix the ndr_pull_string code to handle, some special cases,
Stefan Metzmacher [Tue, 30 Aug 2005 13:34:12 +0000 (13:34 +0000)]
r9795: fix the ndr_pull_string code to handle, some special cases,
where the idl was something like this:

uint32 size;
[size_is(size+1)] wchar_t *string;

we always need a pair of NDR_PULL_NEEDED_BYTES() and ndr_pull_advance(),
with the same size passed in.

metze
(This used to be commit 8eb75bd5ac5869f11f930ec872ec8a46fba9361b)

12 years agor9794: r11627@blu: tridge | 2005-08-30 22:55:27 +1000
Andrew Tridgell [Tue, 30 Aug 2005 12:51:05 +0000 (12:51 +0000)]
r9794:  r11627@blu:  tridge | 2005-08-30 22:55:27 +1000
 fill in correct error code for zero length and too large IPC reads
(This used to be commit bf6558b8971ccda080d463753ddae977967e7093)

12 years agor9793: Be more verbose, check for errors in upgrade script.
Jelmer Vernooij [Tue, 30 Aug 2005 12:27:53 +0000 (12:27 +0000)]
r9793: Be more verbose, check for errors in upgrade script.
(This used to be commit b7c09df9e506f8048f69c4bdd1c3351e3b554e18)

12 years agor9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
Jelmer Vernooij [Tue, 30 Aug 2005 11:55:05 +0000 (11:55 +0000)]
r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)

12 years agor9791: r11611@blu: tridge | 2005-08-30 21:48:22 +1000
Andrew Tridgell [Tue, 30 Aug 2005 11:44:00 +0000 (11:44 +0000)]
r9791:  r11611@blu:  tridge | 2005-08-30 21:48:22 +1000
 recognise any case combination of 'localhost' as 127.0.0.1
(This used to be commit 1d8dae5167a1a08b69274fc17e6e010174420ab5)

12 years agor9789: Patch from Volker that fixes the build on AIX.
Jelmer Vernooij [Tue, 30 Aug 2005 11:37:58 +0000 (11:37 +0000)]
r9789: Patch from Volker that fixes the build on AIX.
(This used to be commit 9a1a7fb60e6531ff74e6817313548f3cee37a990)

12 years agor9786: Move ldb_map into ldb/modules/
Jelmer Vernooij [Tue, 30 Aug 2005 11:08:03 +0000 (11:08 +0000)]
r9786: Move ldb_map into ldb/modules/
Move samba3sam to dsdb/
(This used to be commit eb9d615bcd49328131613f64745760a90553b7f2)

12 years agor9785: Add some testdata
Jelmer Vernooij [Tue, 30 Aug 2005 10:47:51 +0000 (10:47 +0000)]
r9785: Add some testdata
(This used to be commit 721431cff73b06d6e74ca47d25adbf89b900fd5a)

12 years agor9779: Add a contextmenu function to be used by all window/widget objects.
Deryck Hodge [Tue, 30 Aug 2005 03:55:08 +0000 (03:55 +0000)]
r9779: Add a contextmenu function to be used by all window/widget objects.

deryck
(This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)

12 years agor9778: Test for particular error returns, rather than just OK/not OK.
Andrew Bartlett [Tue, 30 Aug 2005 03:37:14 +0000 (03:37 +0000)]
r9778: Test for particular error returns, rather than just OK/not OK.

Andrew Bartlett
(This used to be commit fccbc15555871059e62bf720f115b2307a171667)

12 years agor9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
Andrew Tridgell [Tue, 30 Aug 2005 02:15:52 +0000 (02:15 +0000)]
r9776:  r11609@blu:  tridge | 2005-08-30 12:20:11 +1000
 make the selftest script a bit less existential
(This used to be commit f8a17063a26487ea22caf0a3651f0ecee5d506df)

12 years agor9775: r11607@blu: tridge | 2005-08-30 12:16:19 +1000
Andrew Tridgell [Tue, 30 Aug 2005 02:11:56 +0000 (02:11 +0000)]
r9775:  r11607@blu:  tridge | 2005-08-30 12:16:19 +1000
 fixed the help message
(This used to be commit 5e3d9708f6592bf35f491f4ae979c20ad99e8358)

12 years agor9774: r11605@blu: tridge | 2005-08-30 12:02:19 +1000
Andrew Tridgell [Tue, 30 Aug 2005 01:58:03 +0000 (01:58 +0000)]
r9774:  r11605@blu:  tridge | 2005-08-30 12:02:19 +1000
 make sure we don't walk off the end of the hash array
(This used to be commit 3c32f24e2c6a99ec294fb16e1684cd22b08f2df4)

12 years agor9773: r11599@blu: tridge | 2005-08-30 11:55:57 +1000
Andrew Tridgell [Tue, 30 Aug 2005 01:51:36 +0000 (01:51 +0000)]
r9773:  r11599@blu:  tridge | 2005-08-30 11:55:57 +1000
 optimise this case a bit more. The total speedup using non-indexed
 ldbtest is now around a factor of 80x. The code is ugly as hell, but
 I think this speed is worth it.

 Of course, if we only ever do indexed searches in ldb then this
 doesn't help, but it seems all too common that we get unindexable
 searches, so the optimisation is worthwhile
(This used to be commit 2e14fb893dd9815cdb2488c630131dc549e5c361)

12 years agor9772: Make credentials callbacks more consistant with the abstraction
Andrew Bartlett [Tue, 30 Aug 2005 01:19:41 +0000 (01:19 +0000)]
r9772: Make credentials callbacks more consistant with the abstraction
function interface used in the credentials code.

Fix bug in ntlm_auth, where we would overwrite the PW specified as a
first input.  (Reported and chased by Kai Blin <blin@gmx.net>, bug
#3040)

Andrew Bartlett
(This used to be commit 04af95bd31de39ad6aff349a4838dd77cb300034)

12 years agor9771: - Prevent ldb crash when a invalid DN is added
Jelmer Vernooij [Tue, 30 Aug 2005 00:43:26 +0000 (00:43 +0000)]
r9771: - Prevent ldb crash when a invalid DN is added
- Don't silently drop records with empty attributes

tridge/simo: Could you please verify this patch is correct?
(This used to be commit 505c9b1d3d39475da141d3b3c156a7e5ba06790c)