FW: mod_ntlm_winbind with apache 2.2 patch (was
RE:mod_ntlm_winbind)
Ronan Waide
waider at waider.ie
Wed May 10 06:36:05 GMT 2006
On May 10, scottb at thuringowa.qld.gov.au said:
> mod_ntlm_winbind.c && touch mod_ntlm_winbind.slo
> mod_ntlm_winbind.c: In function `get_auth_helper':
> mod_ntlm_winbind.c:490: warning: implicit declaration of function
> `apr_pool_sub_make'
This was fixed by the last patch I posted to the list, which
apparently hasn't made it to SVN; I was apparently using an
already-deprecated function when I made the fixes for Apache 2.0. This
allows Apache 2.0 and Apache 2.2 to work.
Cheers,
Waider.
Index: mod_ntlm_winbind.c
===================================================================
--- mod_ntlm_winbind.c (revision 547)
+++ 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.
"Please rant when NT works, because /that would/ be a change."
- Dermot McGahon
More information about the samba-technical
mailing list