mod_ntlm_winbind with apache 2.2 patch (was RE: mod_ntlm_winbind)
Ronan Waide
waider at waider.ie
Fri Apr 21 10:27:29 GMT 2006
On April 21, scottb at thuringowa.qld.gov.au said:
> Doesn't produce the .so
>
> I suspect the key is in "Warning! dlname not found in "
>
> I've been googling it quite a bit and found a few references to problems
> with other modules that point to "not having libtool installed, or an
> error in the script using libtool"
Apply this patch to get rid of the apr_pool_sub_make warning. I've
downloaded 2.2 and built the module against it (with this patch) and
it certainly produces and installs a module for me.
Cheers,
Waider.
Index: mod_ntlm_winbind.c
===================================================================
--- mod_ntlm_winbind.c (revision 529)
+++ mod_ntlm_winbind.c (working copy)
@@ -487,7 +487,7 @@
apr_pool_t *pool;
#ifdef APACHE2
char **argv_out;
- apr_pool_sub_make( &pool, NULL, NULL ); /* xxx return code */
+ apr_pool_create_ex( &pool, NULL, NULL, NULL ); /* xxx return code */
#else
pool = ap_make_sub_pool( NULL );
#endif
@@ -555,7 +555,7 @@
RDEBUG( "creating auth user" );
#ifdef APACHE2
- apr_pool_sub_make( &pool, r->connection->pool, NULL );
+ apr_pool_create_ex( &pool, r->connection->pool, NULL, NULL );
#else
pool = ap_make_sub_pool(r->connection->pool);
#endif
@@ -699,7 +699,7 @@
RDEBUG( "creating auth user" );
#ifdef APACHE2
- apr_pool_sub_make( &pool, r->connection->pool, NULL );
+ apr_pool_create_ex( &pool, r->connection->pool, NULL, NULL );
#else
pool = ap_make_sub_pool(r->connection->pool);
#endif
--
waider at waider.ie / Yes, it /is/ very personal of me.
AjD says to zvi, "because it's tragicomic and demonstrates the beauty of the
english language in previously unexpressed ways. also, i thought it was
funny."
More information about the samba-technical
mailing list