samba.git
16 years agor26503: Change order of arguments in param interface so it's easier to make the
Jelmer Vernooij [Mon, 17 Dec 2007 10:12:36 +0000 (11:12 +0100)]
r26503: Change order of arguments in param interface so it's easier to make the

section name optional. Fix several smaller bits and pieces in the Python code.
(This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)

16 years agor26502: Revert accidently removed pkg-config path change. Thanks to metze for catchin...
Jelmer Vernooij [Mon, 17 Dec 2007 10:12:26 +0000 (11:12 +0100)]
r26502: Revert accidently removed pkg-config path change. Thanks to metze for catching this.
(This used to be commit b87e71ed4bac64353799bef668bca991b16e763e)

16 years agor26500: README: Samba4 is not a technical preview anymore.
Kai Blin [Mon, 17 Dec 2007 09:24:26 +0000 (10:24 +0100)]
r26500: README: Samba4 is not a technical preview anymore.

Also, clean up some whitespace at the end of some lines that make my vim show
files in a funny colour.
(This used to be commit 3a14ce8e375f27c3950315502ff2cff2ff63cd19)

16 years agor26499: Allow testing python provision by setting the PROVISION_PYTHON environment...
Jelmer Vernooij [Mon, 17 Dec 2007 07:36:39 +0000 (08:36 +0100)]
r26499: Allow testing python provision by setting the PROVISION_PYTHON environment variable.
(This used to be commit 379d0bbb2f9e0cd9b1855fd77bbb89827e0315ad)

16 years agor26498: Fix memory leak in iconv code.
Jelmer Vernooij [Mon, 17 Dec 2007 07:32:00 +0000 (08:32 +0100)]
r26498: Fix memory leak in iconv code.
(This used to be commit 8795697db56e4ca6715950d68f5ec370604fcc76)

16 years agor26497: Fix return type for freeifaddrs().
Jelmer Vernooij [Mon, 17 Dec 2007 07:20:29 +0000 (08:20 +0100)]
r26497: Fix return type for freeifaddrs().
(This used to be commit 8c65053f51330bb55a81572264eefbcc56029dc1)

16 years agor26496: Move some provision functions to a new SamDB class, support setting session_i...
Jelmer Vernooij [Mon, 17 Dec 2007 07:20:20 +0000 (08:20 +0100)]
r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
(This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)

16 years agor26495: Add defines for getifaddrs/freeifaddrs.
Jelmer Vernooij [Mon, 17 Dec 2007 06:45:05 +0000 (07:45 +0100)]
r26495: Add defines for getifaddrs/freeifaddrs.
(This used to be commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)

16 years agor26494: Add entries for new header files.
Jelmer Vernooij [Mon, 17 Dec 2007 06:39:42 +0000 (07:39 +0100)]
r26494: Add entries for new header files.
(This used to be commit b814ba76e98c1589d35a162c9871994ca37d7992)

16 years agor26493: Fix includes for dsdb/common.
Jelmer Vernooij [Mon, 17 Dec 2007 06:14:11 +0000 (07:14 +0100)]
r26493: Fix includes for dsdb/common.
(This used to be commit 84d2f784bfdc91441122ebce393d042a53928d2b)

16 years agor26492: Some hosts have a define called ifa_dstaddr.
Jelmer Vernooij [Mon, 17 Dec 2007 05:57:30 +0000 (06:57 +0100)]
r26492: Some hosts have a define called ifa_dstaddr.
(This used to be commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)

16 years agor26491: Fix syntax.
Jelmer Vernooij [Mon, 17 Dec 2007 05:30:50 +0000 (06:30 +0100)]
r26491: Fix syntax.
(This used to be commit 2513230e286179747bb84e4e87121b80bea8f3f0)

16 years agor26488: Implement tests for the ranged_results module.
Andrew Bartlett [Mon, 17 Dec 2007 04:56:42 +0000 (05:56 +0100)]
r26488: Implement tests for the ranged_results module.

Untested code is broken code, so rework the module until it passes...

It turns out that AD puts search attributes onto the wire in the
reverse order to what Samba does.  This complicates exact value
matching, so this is skipped for now.

Andrew Bartlett
(This used to be commit 91bcb60d31d54e52128d5bd107df4ceb87389889)

16 years agor26487: Cope with systems that don't have struct sockaddr.sa_len.
Jelmer Vernooij [Mon, 17 Dec 2007 04:53:37 +0000 (05:53 +0100)]
r26487: Cope with systems that don't have struct sockaddr.sa_len.
(This used to be commit 56080469ab28ae5a2f456cced34814d9c33480c6)

16 years agor26486: Use portable run-time library path environment variable.
Jelmer Vernooij [Mon, 17 Dec 2007 04:44:38 +0000 (05:44 +0100)]
r26486: Use portable run-time library path environment variable.
(This used to be commit 78c183b88661df90def42d6a3852dd6e36a5fd0b)

16 years agor26485: Fix indent, remove left-over debug.
Andrew Bartlett [Mon, 17 Dec 2007 04:19:48 +0000 (05:19 +0100)]
r26485: Fix indent, remove left-over debug.

Andrew Bartlett
(This used to be commit 2277f2d88716e0911d5f35bd4c979b2fc2f9473b)

16 years agor26484: Don't rely on removed header.
Jelmer Vernooij [Mon, 17 Dec 2007 03:56:54 +0000 (04:56 +0100)]
r26484: Don't rely on removed header.
(This used to be commit 6ca2b350858c0747449671234d54584635512705)

16 years agor26483: Merge ldb module dependency fixes, fix auth python module.
Jelmer Vernooij [Mon, 17 Dec 2007 03:22:44 +0000 (04:22 +0100)]
r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)

16 years agor26482: Use shared library version of ldb, to make sure not every module ends up...
Jelmer Vernooij [Mon, 17 Dec 2007 03:22:36 +0000 (04:22 +0100)]
r26482: Use shared library version of ldb, to make sure not every module ends up with its own private copy of ldb with its own list of modules...
(This used to be commit ef029d950cb056b4b831e1ca0f6789484f262093)

16 years agor26481: Make function for loading symbol from DSO more generic, and allow modules...
Jelmer Vernooij [Mon, 17 Dec 2007 02:35:59 +0000 (03:35 +0100)]
r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)

16 years agor26480: Add utility class for testing LDB code.
Jelmer Vernooij [Mon, 17 Dec 2007 02:25:28 +0000 (03:25 +0100)]
r26480: Add utility class for testing LDB code.
(This used to be commit d7f0b12c9e43b93705f6b9fa6b5ab74fe68e80a0)

16 years agor26479: Further test behaviour of 'attribute or value exists'.
Andrew Bartlett [Mon, 17 Dec 2007 01:13:41 +0000 (02:13 +0100)]
r26479: Further test behaviour of 'attribute or value exists'.

Andrew Bartlett
(This used to be commit 11c153163c359fd07402daa61b93872387e12568)

16 years agor26477: Allow setting loadparm context for a ldb context in python, plus some other...
Jelmer Vernooij [Sun, 16 Dec 2007 16:17:37 +0000 (17:17 +0100)]
r26477: Allow setting loadparm context for a ldb context in python, plus some other minor improvements.
(This used to be commit d88527a9d6435203faa8273347d5aa41937e5395)

16 years agor26476: Remove unnecessary hack.
Jelmer Vernooij [Sun, 16 Dec 2007 15:19:43 +0000 (16:19 +0100)]
r26476: Remove unnecessary hack.
(This used to be commit 827632ab6e00bacef45c15efc626a1ef587c0915)

16 years agor26475: Add ldb.set_credentials function.
Jelmer Vernooij [Sun, 16 Dec 2007 14:50:02 +0000 (15:50 +0100)]
r26475: Add ldb.set_credentials function.
(This used to be commit dbebb4ef477d2c8de7b8d1e5cde9b9dada47044f)

16 years agor26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missi...
Jelmer Vernooij [Sun, 16 Dec 2007 14:33:58 +0000 (15:33 +0100)]
r26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missing symbols in some of the python bindings.
(This used to be commit e26d0fff6d40899113196ac35a86a9baa10cc9c2)

16 years agor26471: Sync with js version.
Jelmer Vernooij [Sun, 16 Dec 2007 13:50:18 +0000 (14:50 +0100)]
r26471: Sync with js version.
(This used to be commit c0eea26e8e8eb326112e1833d137751fb7e900d2)

16 years agor26470: Update README.
Jelmer Vernooij [Sun, 16 Dec 2007 13:50:11 +0000 (14:50 +0100)]
r26470: Update README.
(This used to be commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908)

16 years agor26469: Fix paths, only include IPv4 addresses for now.
Jelmer Vernooij [Sun, 16 Dec 2007 02:22:13 +0000 (03:22 +0100)]
r26469: Fix paths, only include IPv4 addresses for now.
(This used to be commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)

16 years agor26468: Match getifaddrs more closely, add trivial test.
Jelmer Vernooij [Sun, 16 Dec 2007 01:49:52 +0000 (02:49 +0100)]
r26468: Match getifaddrs more closely, add trivial test.
(This used to be commit 92898c043b5a2649a2e423d02bcdaea78ae55737)

16 years agor26467: Use getifaddrs() for interface enumeration and provide replacements for platf...
Jelmer Vernooij [Sun, 16 Dec 2007 01:39:01 +0000 (02:39 +0100)]
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
(This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)

16 years agor26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
Kai Blin [Sat, 15 Dec 2007 22:16:43 +0000 (23:16 +0100)]
r26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
(This used to be commit 59286797cb4c2e000f395b209c980bf431dc65bf)

16 years agor26465: ntlm_auth: Remoce pstring.
Kai Blin [Sat, 15 Dec 2007 22:15:18 +0000 (23:15 +0100)]
r26465: ntlm_auth: Remoce pstring.
(This used to be commit 15b388ce51cafcf09301fe6d8a50922a3b9b43d1)

16 years agor26464: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:45 +0000 (22:23 +0100)]
r26464: Tighten dependencies.
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)

16 years agor26463: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:42 +0000 (22:23 +0100)]
r26463: Tighten dependencies.
(This used to be commit d98ac96dfe7bb055f9ad49bc6864890285aa59ed)

16 years agor26462: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:38 +0000 (22:23 +0100)]
r26462: Tighten dependencies.
(This used to be commit 020f2f7426c2850fffc272f53065fa7305dd0313)

16 years agor26461: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:36 +0000 (22:23 +0100)]
r26461: Tighten dependencies.
(This used to be commit a07050be33d9c8e8033063b393162884075fa2af)

16 years agor26460: Enable ldb python tests.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:30 +0000 (22:23 +0100)]
r26460: Enable ldb python tests.
(This used to be commit 25e982453142eb7d2f68c0751d641581b46fbb49)

16 years agor26459: Build ildap module as shared module by default.
Jelmer Vernooij [Sat, 15 Dec 2007 19:53:45 +0000 (20:53 +0100)]
r26459: Build ildap module as shared module by default.
(This used to be commit 91cff7dad2eb0467e6b9a86963859e99ded137f8)

16 years agor26458: Janitorial: also free() var on continue.
Kai Blin [Fri, 14 Dec 2007 16:32:48 +0000 (17:32 +0100)]
r26458: Janitorial: also free() var on continue.

Spotted by metze.
(This used to be commit adbf61dca50591f705023a18c00efe379676198a)

16 years agor26457: Janitorial: Don't use pstring in tdb_unpack
Kai Blin [Fri, 14 Dec 2007 13:47:07 +0000 (14:47 +0100)]
r26457: Janitorial: Don't use pstring in tdb_unpack
(This used to be commit 447bc42180cf0be71a35e40f6d93d91879397a48)

16 years agor26456: Provide default config object, fix typo.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:21 +0000 (14:28 +0100)]
r26456: Provide default config object, fix typo.
(This used to be commit 2b59df2af973044d9d3875c9202c17647f561d3b)

16 years agor26455: Use new talloctype macro in generated SWIG code as well.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:16 +0000 (14:28 +0100)]
r26455: Use new talloctype macro in generated SWIG code as well.
(This used to be commit 77748c6a9f118c1a2fb9dbc76546d767f1cc27eb)

16 years agor26454: Add simple SWIG macro for wrapping talloced types.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:07 +0000 (14:28 +0100)]
r26454: Add simple SWIG macro for wrapping talloced types.
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)

16 years agor26453: Janitorial: Don't use a static char[] in smb_readline_replacement.
Kai Blin [Fri, 14 Dec 2007 13:04:56 +0000 (14:04 +0100)]
r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.

Fix up callers to free the memory returned, as that is needed if we use the
original readline function as well.
(This used to be commit c81ead1c38f417d442157b21d0d389f6a540c6f9)

16 years agor26452: Janitorial: Remove a pstring.
Kai Blin [Fri, 14 Dec 2007 09:46:35 +0000 (10:46 +0100)]
r26452: Janitorial: Remove a pstring.
(This used to be commit d1d95024788bc549f838c0393411fa98ddec04ec)

16 years agor26451: Janitorial: fix warnings in lib/registry/
Kai Blin [Fri, 14 Dec 2007 09:38:26 +0000 (10:38 +0100)]
r26451: Janitorial: fix warnings in lib/registry/

This does not fix the discarded qualifier warnings in tests, as the test data
is currently passed as const. Jelmer wants to provide a test function that
passes non-const test data, thus allowing for a cleaner way to fix those
warnings.
(This used to be commit 46dfa63d4f7381c5c6ce3f4b8b0bd9aa9e16950c)

16 years agor26450: The subprocess is only available in python >= 2.4 so avoid it for now.
Jelmer Vernooij [Fri, 14 Dec 2007 00:53:54 +0000 (01:53 +0100)]
r26450: The subprocess is only available in python >= 2.4 so avoid it for now.
(This used to be commit 5300bc175ea425e2d28332c5e18bd8e3846b458d)

16 years agor26449: Support configuration without a known configuration dir.
Jelmer Vernooij [Fri, 14 Dec 2007 00:46:25 +0000 (01:46 +0100)]
r26449: Support configuration without a known configuration dir.
(This used to be commit d3643c2152a490952e59ee15b7a62ad3ad465462)

16 years agor26448: Add basic tests for param python module.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:25 +0000 (01:26 +0100)]
r26448: Add basic tests for param python module.
(This used to be commit ccfab20dcc2d7059c402c03be244b759d59c4b81)

16 years agor26447: Forgot to add param.i file.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:20 +0000 (01:26 +0100)]
r26447: Forgot to add param.i file.
(This used to be commit 44098e6a40c7447867ea82c6c3f7148a49816577)

16 years agor26446: Convert param module to SWIG.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:12 +0000 (01:26 +0100)]
r26446: Convert param module to SWIG.
(This used to be commit 94e5f9c92f65070ec8f1c1170c4a0769a4857c6d)

16 years agor26445: Fix credentials python bindings.
Jelmer Vernooij [Thu, 13 Dec 2007 23:35:05 +0000 (00:35 +0100)]
r26445: Fix credentials python bindings.
(This used to be commit 7a78d4cbedbe03ea227e66e6f573fca7519fbf67)

16 years agor26444: Fix pidl tests.
Jelmer Vernooij [Thu, 13 Dec 2007 23:27:38 +0000 (00:27 +0100)]
r26444: Fix pidl tests.
(This used to be commit bc643f1014cef7f0bc66ad0edfa22395c69b8352)

16 years agor26443: Remove global_loadparm instances.
Jelmer Vernooij [Thu, 13 Dec 2007 23:27:31 +0000 (00:27 +0100)]
r26443: Remove global_loadparm instances.
(This used to be commit 8242c696235d1bfb402b5c276a57f36d93610545)

16 years agor26442: Remove use of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 22:23:31 +0000 (23:23 +0100)]
r26442: Remove use of global_loadparm.
(This used to be commit 2962a6143c8acb59b64b214bb0146ffa809d5cfe)

16 years agor26441: Remove global_loadparm uses.
Jelmer Vernooij [Thu, 13 Dec 2007 22:23:25 +0000 (23:23 +0100)]
r26441: Remove global_loadparm uses.
(This used to be commit 32007c6277efa46341da7741b749a98633d71640)

16 years agor26440: Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:55 +0000 (22:46 +0100)]
r26440: Remove more uses of global_loadparm.
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)

16 years agor26439: Require tdr_pull users to specify a smb_iconv convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:51 +0000 (22:46 +0100)]
r26439: Require tdr_pull users to specify a smb_iconv convenience context.
(This used to be commit 76fd57be292fb19ae4ede38977732847e6ed8eff)

16 years agor26438: Store iconv convenience in tdr push contexts.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:47 +0000 (22:46 +0100)]
r26438: Store iconv convenience in tdr push contexts.
(This used to be commit dffef3162778aebe2f8d77e2da60b22adb7d60ef)

16 years agor26437: remove another use of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:44 +0000 (22:46 +0100)]
r26437: remove another use of global_loadparm.
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)

16 years agor26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:41 +0000 (22:46 +0100)]
r26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified
(This used to be commit f3395db91a4dd3a89be55684f12313159d1acdd4)

16 years agor26435: Remove global_loadparm instance.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:37 +0000 (22:46 +0100)]
r26435: Remove global_loadparm instance.
(This used to be commit 66fd8d480bdfeb1c95da8843da3d18abe3f997e1)

16 years agor26434: Remove display charset from iconv convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:33 +0000 (22:46 +0100)]
r26434: Remove display charset from iconv convenience context.
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)

16 years agor26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:30 +0000 (22:46 +0100)]
r26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.
(This used to be commit 7f28b53b579182500c57c4ac0c3d7591f5ddb214)

16 years agor26432: Require ndr_pull users to specify iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:27 +0000 (22:46 +0100)]
r26432: Require ndr_pull users to specify iconv_convenience.
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)

16 years agor26431: Require ndr_push creators to specify a iconv_convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:23 +0000 (22:46 +0100)]
r26431: Require ndr_push creators to specify a iconv_convenience context.
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)

16 years agor26430: require explicit specification of loadparm context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:17 +0000 (22:46 +0100)]
r26430: require explicit specification of loadparm context.
(This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)

16 years agor26429: Avoid use of global_smb_iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:09 +0000 (22:46 +0100)]
r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)

16 years agor26428: spoolss: Fix a typo.
Kai Blin [Thu, 13 Dec 2007 11:37:59 +0000 (12:37 +0100)]
r26428: spoolss: Fix a typo.
(This used to be commit 5a3a851dc73bb054f036425b2663a187f283803f)

16 years agor26427: Avoid global_smb_iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 11:19:33 +0000 (12:19 +0100)]
r26427: Avoid global_smb_iconv_convenience.
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)

16 years agor26426: Remove uses of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 10:41:47 +0000 (11:41 +0100)]
r26426: Remove uses of global_loadparm.
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)

16 years agor26425: fix crash bug, sorry I should have tested that...
Stefan Metzmacher [Thu, 13 Dec 2007 09:28:18 +0000 (10:28 +0100)]
r26425: fix crash bug, sorry I should have tested that...

metze
(This used to be commit 61d2f1a03b374404fd0f3e6191cda82ff0295834)

16 years agor26424: Patch and hits from Howard Chu <hyc@symas.com> for our automated setup
Andrew Bartlett [Thu, 13 Dec 2007 08:46:41 +0000 (09:46 +0100)]
r26424: Patch and hits from Howard Chu <hyc@symas.com> for our automated setup

of OpenLDAP.

This makes it consistant with the Fedora DS setup, and doesn't mix
both hdb and bdb.

Andrew Bartlett
(This used to be commit 1ffada95d269c8f7d054bec7f6eaff8449995d40)

16 years agor26423: try to fix the build on solaris
Stefan Metzmacher [Thu, 13 Dec 2007 08:13:35 +0000 (09:13 +0100)]
r26423: try to fix the build on solaris

metze
(This used to be commit 5b62180946a7cb9f3981ce740cfe830f6f0a00ff)

16 years agor26422: build: let configure print out if we have working python module support
Stefan Metzmacher [Thu, 13 Dec 2007 07:36:03 +0000 (08:36 +0100)]
r26422: build: let configure print out if we have working python module support

metze
(This used to be commit dfb9d704d053455d636d4f9d9d49cbfb70ada53e)

16 years agor26421: build: we now have HAVE_IFACE_GETIFADDRS as valid interface detection code
Stefan Metzmacher [Thu, 13 Dec 2007 07:34:51 +0000 (08:34 +0100)]
r26421: build: we now have HAVE_IFACE_GETIFADDRS as valid interface detection code

metze
(This used to be commit fcc813d399965b51853e5790d328e4cc9668a032)

16 years agor26420: Don't print a blow-by-blow description of every search we do, just the
Andrew Bartlett [Thu, 13 Dec 2007 06:04:57 +0000 (07:04 +0100)]
r26420: Don't print a blow-by-blow description of every search we do, just the

errors that occour.

Andrew Bartlett
(This used to be commit bf5b2f467f57528aa64d4af0e68ef2dffd00f8f6)

16 years agor26419: Add a module to implement 'ambigious name resolution' by munging the
Andrew Bartlett [Thu, 13 Dec 2007 02:07:38 +0000 (03:07 +0100)]
r26419: Add a module to implement 'ambigious name resolution' by munging the

incoming LDAP filter.

Warning: Any anr search will perform a full index search.  Untill ldb
gets substring indexes, this is unavoidable.

Also implement a testsutie to show we match AD behaviour for this
important extension (used in the Active Directory Users and Computers
MMC plugin, as a genereral 'find').

This will also be useful to OpenChange, as their server needs to
implement this.

Andrew Bartlett
(This used to be commit 044b50947254ccd516c21cb156ab60ab9e3a582d)

16 years agor26418: Janitorial: Kill pstring in ntlmssp_parse.c
Kai Blin [Wed, 12 Dec 2007 18:38:22 +0000 (19:38 +0100)]
r26418: Janitorial: Kill pstring in ntlmssp_parse.c
(This used to be commit 718a5a1f3c4195dac8ec780b18f2037ed48a39d2)

16 years agor26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.
Jelmer Vernooij [Wed, 12 Dec 2007 13:09:15 +0000 (14:09 +0100)]
r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.
(This used to be commit cf8636c8b77c745812376d0ea6f0fb6246a2e4fb)

16 years agor26416: Janitorial: Fix warnings in auth/gensec/
Kai Blin [Wed, 12 Dec 2007 10:08:32 +0000 (11:08 +0100)]
r26416: Janitorial: Fix warnings in auth/gensec/

As per metze's suggestion, the "unused variables" warning is left in to remind
us to fix the #else part of the #if 1
(This used to be commit e9ef98b06466486d3b8a68a76a29728b9bffbe29)

16 years agor26415: LIBSAMBA-CONFIG used dlopen(), so it has to depend on LIBREPLACE_EXT for...
Stefan Metzmacher [Wed, 12 Dec 2007 09:21:25 +0000 (10:21 +0100)]
r26415: LIBSAMBA-CONFIG used dlopen(), so it has to depend on LIBREPLACE_EXT for -ldl

This fixes the pidl/ndr_string test.

metze
(This used to be commit 7c6d9edffbbfabd601a8e133a71698229819443d)

16 years agor26414: build: bring in the content of EXT_LIB's for the .pc files
Stefan Metzmacher [Wed, 12 Dec 2007 09:18:32 +0000 (10:18 +0100)]
r26414: build: bring in the content of EXT_LIB's for the .pc files

TODO: we need to check if we need to recursivly expand the dependencies
      as we do for the Makefile rules

metze
(This used to be commit 5cc9673778838e42999363f75220cc882098d282)

16 years agor26413: we should check the return value of talloc_reference()
Stefan Metzmacher [Wed, 12 Dec 2007 09:13:08 +0000 (10:13 +0100)]
r26413: we should check the return value of talloc_reference()

metze
(This used to be commit 5f49c1b144d811c4d8bd74d786e5c5ef6fa7cbc3)

16 years agor26412: Add comments and refactor to reuse common code.
Andrew Bartlett [Wed, 12 Dec 2007 06:02:07 +0000 (07:02 +0100)]
r26412: Add comments and refactor to reuse common code.

Andrew Bartlett
(This used to be commit a8b0f5af9afcc19bd869ff19e1456dbe9d2713b6)

16 years agor26411: Double check Python installation - make sure we can compile and link using it.
Jelmer Vernooij [Wed, 12 Dec 2007 02:02:18 +0000 (03:02 +0100)]
r26411: Double check Python installation - make sure we can compile and link using it.
(This used to be commit 3d8fc5808ced6f54274701d80fe2d42423bf9fee)

16 years agor26410: Remove unnecessary static.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:42 +0000 (02:15 +0100)]
r26410: Remove unnecessary static.
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)

16 years agor26409: Pass smb ports along.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:29 +0000 (02:15 +0100)]
r26409: Pass smb ports along.
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)

16 years agor26408: Remove use of global_loadparm.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:20 +0000 (02:15 +0100)]
r26408: Remove use of global_loadparm.
(This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)

16 years agor26407: Janitorial: Remove a pstring and compiler warnings.
Kai Blin [Tue, 11 Dec 2007 22:00:30 +0000 (23:00 +0100)]
r26407: Janitorial: Remove a pstring and compiler warnings.
(This used to be commit bdc482033546e3986bf8c8b65dbf11c54dc57b8e)

16 years agor26406: Make a copy to prevent modification of the loadparm configuration.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:34 +0000 (22:23 +0100)]
r26406: Make a copy to prevent modification of the loadparm configuration.
(This used to be commit c0f2775fd8bd88aad3497d59a7857d7a8a0978c5)

16 years agor26405: Import support for getifaddrs from Samba3.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:31 +0000 (22:23 +0100)]
r26405: Import support for getifaddrs from Samba3.
(This used to be commit 5827b7460a058e8565a406f1c3533e5f589674b5)

16 years agor26404: Disable socket wrapper for the interface detection code to work around the...
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:28 +0000 (22:23 +0100)]
r26404: Disable socket wrapper for the interface detection code to work around the fact that the ioctls for enumerating interfaces are not very reliable when used on unix domain sockets.

Ideally, we should be implementing the SIOCGIFCONF and SIOCGIFADDR ioctls in socket wrapper.
(This used to be commit 035c4831003d5b5310f0874e712ef66ba3e78e34)

16 years agor26403: Make sure ntvfs is only initialized once.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:25 +0000 (22:23 +0100)]
r26403: Make sure ntvfs is only initialized once.
(This used to be commit 32b44e10747d704ce9a21cb8d34606cb0e41efab)

16 years agor26402: Require a talloc context in libnetif.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:20 +0000 (22:23 +0100)]
r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)

16 years agor26401: Don't cache interfaces context in libnetif.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:14 +0000 (22:23 +0100)]
r26401: Don't cache interfaces context in libnetif.
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)

16 years agor26400: Don't try to do character conversion before smb.conf has been parsed.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:06 +0000 (22:23 +0100)]
r26400: Don't try to do character conversion before smb.conf has been parsed.
(This used to be commit 9faba2874957ce80db202cd9f2cc373e7346381c)

16 years agor26399: Use -O option for SWIG (less evil generated code).
Jelmer Vernooij [Tue, 11 Dec 2007 13:31:01 +0000 (14:31 +0100)]
r26399: Use -O option for SWIG (less evil generated code).
(This used to be commit 3378b6a559272cb702b52966692bf423f67a2b41)

16 years agor26398: Fix writing the output of failed tests to st/summary.
Jelmer Vernooij [Tue, 11 Dec 2007 13:24:20 +0000 (14:24 +0100)]
r26398: Fix writing the output of failed tests to st/summary.
(This used to be commit 34b9ddddaffe67de821a19219bcceec75f9d8fdd)