[英]Compiling mod_spnego for Apache 2.4.3 HTTP Server running on Windows
有沒有人設法為在Windows上運行的Apache 2.4 HTTP Server編譯mod_spnego 0.2.0? 我真的想使用mod_auth_kerb 5.4,但從我讀過的內容來看,在Windows上編譯幾乎沒有希望。
我目前在Windows 2008 R2機器上運行Apache HTTP Server 2.4.3。 我想使用Visual Studio 2012編譯mod_spnego,我認為我差不多了,但是我一直收到以下錯誤:
mod_spnego.obj : error LNK2001: unresolved external symbol _ap_requires
顯然,Apache 2.4不再支持ap_requires()
函數。
我用Google搜索了這個問題,我能找到的最佳答案如下:
它需要注冊一個auth提供者。 舉個簡單的例子,比較捆綁模塊mod_authz_dbm.c的2.2和2.4版本。
說實話,我不知道應該怎么做。 誰能指出我正確的方向? 關於mod_auth_kerb的任何想法?
我最后修改了mod_spnego因為原始版本太不穩定了。 它現在可以在https://github.com/ibauersachs/mod_spnego上找到 ,但它仍然使用ap_requires。
根據2.4發行說明,應該通過向ap_register_auth_provider注冊“Require”來替換ap_requires。 如果你知道一點C,那么在我的修改版本中實現它應該比原始版本容易得多。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.