Documentation for Crowd 2.8. Documentation for earlier versions of Crowd is available too.

Skip to end of metadata
Go to start of metadata

Version 2.0 of the Crowd Apache Connector is not yet available for Windows platforms.

Want to stay informed? Please log in to this Confluence site (click 'Log In' or 'Sign Up' at the top right of this page) and 'watch' this page (open the 'Tools' menu and select 'Watch') to be notified when version 2.0 is made available for Windows.

Until that time, you can continue to use version 1.3 of the Crowd Apache Connector with Crowd 2.1 by following these instructions from the Crowd 2.0 documentation.

  • No labels

15 Comments

  1. Anonymous

    Any instruction how to install mod_perl on Windows 64 bits?

    I tried running 'ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd' but failed with message: 'ppm install failed: The PPD does not provide code to install for this platform'.

    Checking the contents of mod_perl.ppd, it doesn't have instruction to install on 64 bits.

  2. Anonymous

    *Waits intently for Apache Connector 2.0 to be built on windows*

  3. Anyone have ideas as to the time line when the connector for windows will be complete?

    1. I second that. I am sure a lot of us are waiting to hear back.

  4. There appears to be a Windows solution in the source repository: https://studio.plugins.atlassian.com/source/browse/CWDAPACHE/tags/2.0.1/windows/mod_authnz_crowd

    I compiled this with Visual Studio 2010 Express into mod_authnz_crowd.dll without any errors but I don't know what to do next...

    I tried copying the .dll to the Apache modules folder and addes this to my apache config file:

    LoadFile "C:/Apache/modules/mod_authnz_crowd.dll"
    

    Apache seems to work fine after this but I'm still not getting single-sign-on. Is this dll supposed to replace the perl packages or work together with them? Or is it just a piece of a "work in progress" package for windows?

    I also tried building the C source in https://studio.plugins.atlassian.com/source/browse/CWDAPACHE/tags/2.0.1/src with APXS but it keeps failing.

    First it complains about the config.h file missing

    mod_authnz_crowd.c(22) : fatal error C1083: Cannot open include file: '../config.h': No such file or directory apxs:Error: Command failed with rc=131072
    

    Only config.h file I could find on my system was from Perl, so I copied that to the build folder and tried again, but then I get a whole bunch of errors.

    mod_authnz_crowd.c(35) : error C2059: syntax error : '}'
    mod_authnz_crowd.c(64) : error C2275: 'authnz_crowd_dir_config' : illegal use of this type as an expression
      mod_authnz_crowd.c(49) : see declaration of 'authnz_crowd_dir_config'
    mod_authnz_crowd.c(64) : error C2065: 'dir_config' : undeclared identifier
    mod_authnz_crowd.c(65) : warning C4047: '==' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(68) : error C2223: left of '->authoritative' must point to struct/union
    mod_authnz_crowd.c(69) : error C2223: left of '->accept_sso' must point to struct/union
    mod_authnz_crowd.c(70) : error C2223: left of '->create_sso' must point to struct/union
    mod_authnz_crowd.c(71) : error C2223: left of '->crowd_config' must point to struct/union
    mod_authnz_crowd.c(72) : error C2223: left of '->crowd_config' must point to struct/union
    mod_authnz_crowd.c(75) : error C2223: left of '->basic_auth_xlates' must point to struct/union
    mod_authnz_crowd.c(76) : error C2223: left of '->basic_auth_xlates' must point to struct/union
    mod_authnz_crowd.c(87) : warning C4047: '=' : 'authnz_crowd_dir_config \*' differs in levels of indirection from 'int'
    mod_authnz_crowd.c(89) : warning C4047: 'return' : 'void \*' differs in levels of indirection from 'int'
    mod_authnz_crowd.c(172) : warning C4033: 'set_crowd_url' must return a value
    mod_authnz_crowd.c(182) : error C2275: 'authnz_crowd_dir_config' : illegal use of this type as an expression
      mod_authnz_crowd.c(49) : see declaration of 'authnz_crowd_dir_config'
    mod_authnz_crowd.c(182) : error C2065: 'config' : undeclared identifier
    mod_authnz_crowd.c(183) : error C2223: left of '->crowd_config' must point to struct/union
    mod_authnz_crowd.c(183) : warning C4090: 'function' : different 'const' qualifiers
    mod_authnz_crowd.c(183) : error C2198: 'set_once' : too few arguments for call
    mod_authnz_crowd.c(272) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(273) : error C2065: 'cookies' : undeclared identifier
    mod_authnz_crowd.c(273) : warning C4047: '==' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(276) : warning C4047: 'function' : 'char \*' differs in levels of indirection from 'int'
    mod_authnz_crowd.c(276) : warning C4024: 'apr_collapse_spaces' : different types for formal and actual parameter 1
    mod_authnz_crowd.c(276) : warning C4047: 'function' : 'const char \*' differs inlevels of indirection from 'int'
    mod_authnz_crowd.c(276) : warning C4024: 'apr_collapse_spaces' : different types for formal and actual parameter 2
    mod_authnz_crowd.c(277) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(278) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(279) : error C2065: 'cookie' : undeclared identifier
    mod_authnz_crowd.c(279) : warning C4047: '\!=' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(280) : warning C4047: 'function' : 'const char \*' differs inlevels of indirection from 'int'
    mod_authnz_crowd.c(280) : warning C4024: 'strnicmp' : different types for formal and actual parameter 1
    mod_authnz_crowd.c(281) : warning C4047: 'function' : 'const char \*' differs inlevels of indirection from 'int'
    mod_authnz_crowd.c(281) : warning C4024: 'apr_pstrdup' : different types for formal and actual parameter 2
    mod_authnz_crowd.c(284) : error C2065: 'last' : undeclared identifier
    mod_authnz_crowd.c(284) : warning C4047: 'function' : 'char \**' differs in levels of indirection from 'int \*'
    mod_authnz_crowd.c(284) : warning C4024: 'apr_strtok' : different types for formal and actual parameter 3
    mod_authnz_crowd.c(284) : warning C4047: '=' : 'int' differs in levels of indirection from 'char \*'
    mod_authnz_crowd.c(295) : error C2275: 'check_for_cookie_data_t' : illegal use of this type as an expression
      mod_authnz_crowd.c(251) : see declaration of 'check_for_cookie_data_t'
    mod_authnz_crowd.c(295) : error C2146: syntax error : missing ';' before identifier 'data'
    mod_authnz_crowd.c(295) : error C2065: 'data' : undeclared identifier
    mod_authnz_crowd.c(295) : error C2059: syntax error : '{'
    mod_authnz_crowd.c(297) : error C2224: left of '.token' must have struct/union type
    mod_authnz_crowd.c(300) : error C2224: left of '.token' must have struct/union type
    mod_authnz_crowd.c(300) : warning C4047: 'function' : 'char \*' differs in levels of indirection from 'char \**'
    mod_authnz_crowd.c(300) : warning C4024: 'crowd_validate_session' : different types for formal and actual parameter 3
    mod_authnz_crowd.c(300) : error C2198: 'crowd_validate_session' : too few arguments for call
    mod_authnz_crowd.c(329) : error C2275: 'apr_array_header_t' : illegal use of this type as an expression
      C:\Apache\include\apr_tables.h(49) : see declaration of 'apr_array_header_t'
    mod_authnz_crowd.c(329) : error C2065: 'basic_auth_xlates' : undeclared identifier
    mod_authnz_crowd.c(330) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(331) : error C2065: 'i' : undeclared identifier
    mod_authnz_crowd.c(331) : error C2223: left of '->nelts' must point to struct/union
    mod_authnz_crowd.c(332) : error C2223: left of '->elts' must point to struct/union
    mod_authnz_crowd.c(333) : error C2059: syntax error : '}'
    mod_authnz_crowd.c(334) : error C2059: syntax error : '}'
    mod_authnz_crowd.c(354) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(357) : warning C4047: '\!=' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(358) : warning C4047: 'function' : 'const char \*' differs inlevels of indirection from 'int'
    mod_authnz_crowd.c(358) : warning C4024: 'apr_table_add' : different types for formal and actual parameter 3
    mod_authnz_crowd.c(382) : error C2061: syntax error : identifier 'authn_crowd_provider'
    mod_authnz_crowd.c(382) : error C2059: syntax error : ';'
    mod_authnz_crowd.c(382) : error C2513: '/*global*/ ' : no variable declared before '='
    mod_authnz_crowd.c(391) : warning C4244: 'return' : conversion from 'apr_int64_t' to 'unsigned int', possible loss of data
    mod_authnz_crowd.c(393) : error C2275: 'apr_int64_t' : illegal use of this typeas an expression
      C:\Apache\include\apr.h(362) : see declaration of 'apr_int64_t'
    mod_authnz_crowd.c(393) : error C2146: syntax error : missing ';' before identifier 'value'
    mod_authnz_crowd.c(393) : error C2065: 'value' : undeclared identifier
    mod_authnz_crowd.c(393) : warning C4244: '=' : conversion from 'apr_int64_t' to'int', possible loss of data
    mod_authnz_crowd.c(486) : error C2143: syntax error : missing ';' before 'const'
    mod_authnz_crowd.c(487) : error C2275: 'apr_array_header_t' : illegal use of this type as an expression
      C:\Apache\include\apr_tables.h(49) : see declaration of 'apr_array_header_t'
    mod_authnz_crowd.c(487) : error C2065: 'user_groups' : undeclared identifier
    mod_authnz_crowd.c(488) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(489) : error C2065: 'x' : undeclared identifier
    mod_authnz_crowd.c(489) : error C2065: 'requires' : undeclared identifier
    mod_authnz_crowd.c(489) : error C2223: left of '->nelts' must point to struct/union
    mod_authnz_crowd.c(491) : error C2223: left of '->elts' must point to struct/union
    mod_authnz_crowd.c(498) : error C2143: syntax error : missing ';' before 'type'
    mod_authnz_crowd.c(501) : error C2065: 'next_word' : undeclared identifier
    mod_authnz_crowd.c(501) : warning C4047: 'function' : 'const char \**' differs in levels of indirection from 'int \*'
    mod_authnz_crowd.c(501) : warning C4024: 'ap_getword_white' : different types for formal and actual parameter 2
    mod_authnz_crowd.c(504) : warning C4047: '==' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(505) : warning C4047: '=' : 'int' differs in levels of indirection from 'apr_array_header_t \*'
    mod_authnz_crowd.c(506) : warning C4047: '==' : 'int' differs in levels of indirection from 'void \*'
    mod_authnz_crowd.c(512) : error C2100: illegal indirection
    mod_authnz_crowd.c(513) : warning C4047: 'function' : 'const char \**' differs in levels of indirection from 'int \*'
    mod_authnz_crowd.c(513) : warning C4024: 'ap_getword_conf' : different types for formal and actual parameter 2
    mod_authnz_crowd.c(516) : error C2223: left of '->nelts' must point to struct/union
    mod_authnz_crowd.c(517) : error C2223: left of '->elts' must point to struct/union
    mod_authnz_crowd.c(538) : warning C4013: 'ap_hook_check_user_id' undefined; assuming extern returning int
    mod_authnz_crowd.c(539) : warning C4013: 'ap_register_provider' undefined; assuming extern returning int
    mod_authnz_crowd.c(545) : error C2065: 'authn_crowd_provider' : undeclared identifier
    mod_authnz_crowd.c(546) : warning C4013: 'ap_hook_auth_checker' undefined; assuming extern returning int
    mod_authnz_crowd.c(547) : error C2065: 'PACKAGE_STRING' : undeclared identifier
    mod_authnz_crowd.c(547) : warning C4047: 'function' : 'const char \*' differs inlevels of indirection from 'int'
    mod_authnz_crowd.c(547) : warning C4024: 'ap_log_perror' : different types for formal and actual parameter 6
    mod_authnz_crowd.c(547) : error C2143: syntax error : missing ')' before 'string
    mod_authnz_crowd.c(547) : error C2059: syntax error : ')'
    apxs:Error: Command failed with rc=131072
    
    1. Hi Olav,

      The code you've found is an unfinished work in progress.

      We plan to finish it in the near future.

      1. Anonymous

        Adrian,

         

        It's almost a year since your update. Is this still a work in progress or has it been abandoned?

  5. is there any update yet for the 2.0 connector on windows?

  6. Anonymous

    is there any update apache 2.0 connector on windows?

  7. Any update on this?

    1. Anonymous

      I am disappointed as a paid customer in terms of Atlassian's response to this.

  8. Can I use version 1.3 of the Crowd Apache Connector for single sign-on with Crowd 2.6 or Crowd 2.7?

    I would like to use Crowd SSO with SVN on Windows, is it possible?

    Thanks

  9. I gave up and stopped renewing this product.