Title: SoJ CAS/LDAP Login
Author: sojweb
Published: <strong>2009 年 4 月 1 日</strong>
Last modified: 2009 年 4 月 1 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/soj-casldap.svg)

# SoJ CAS/LDAP Login

 由 [sojweb](https://profiles.wordpress.org/sojweb/) 開發

[下載](https://downloads.wordpress.org/plugin/soj-casldap.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/soj-casldap/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/soj-casldap/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/soj-casldap/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/soj-casldap/#developers)

 [技術支援](https://wordpress.org/support/plugin/soj-casldap/)

## 外掛說明

**THIS IS FOR DEVELOPMENT PURPOSES, NOT FOR USE ON PRODUCTION SITES**

This plugin is meant to be a reference; I’ve talked to several people who have similar
setups, and thought it would beneficial to share some code.

This plugin allows users to be authenticated via CAS, and logins to be controlled
via LDAP. Default user roles can be assigned based on LDAP group membership, and
accounts can be auto-created for users that exist in LDAP, but not yet in WordPress.

It assumes that, for CAS authentication, the user is redirected to an outside address,
then back to the referring address; that’s how it works where I’m at :-). You can
also specify a group in LDAP that will always have admin privileges; useful for 
tech staff.

Before the plugin is used, the constants in `soj-ldap_constants.inc.php` must be
filled out. The CAS default password is the one the user is registered with in WordPress;
so all WP users will have this password. Be aware of that. There is obviously more
that could be done there, and I’m happy to work with others who have ideas.

I’ve adapted this from an in-house plugin I made, so there might be leftover code
bits or things that look strange… feel free to harass me about that, I did this 
in a bit of a rush.

I’ve only ever used this plugin on one environment, so it might not work out-of-
the-box for you. I’m interested in making this plugin more robust, however, so please
let me know of any issues.

Contact me: jj56@indiana.edu

## 安裝方式

 1. Edit `soj-ldap_constants.inc.php` to contain the appropriate values.
 2. Upload the folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常見問題集

Nothing here yet.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈SoJ CAS/LDAP Login〉的開發相關工作。

參與者

 *   [ sojweb ](https://profiles.wordpress.org/sojweb/)

[將〈SoJ CAS/LDAP Login〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/soj-casldap)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/soj-casldap/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/soj-casldap/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/soj-casldap/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/soj-casldap/)。

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **17 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 2.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.7.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/soj-casldap/)
 * 標籤:
 * [cas](https://tw.wordpress.org/plugins/tags/cas/)[ldap](https://tw.wordpress.org/plugins/tags/ldap/)
 *  [進階檢視](https://tw.wordpress.org/plugins/soj-casldap/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/soj-casldap/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/soj-casldap/reviews/)

## 參與者

 *   [ sojweb ](https://profiles.wordpress.org/sojweb/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/soj-casldap/)