Joomla 学习笔记----LDAP插件支持

2 篇文章 0 订阅
1 篇文章 0 订阅

Joomla 学习笔记----LDAP插件支持






PHP编译安装支持

我所用的Centos 6.4 搭建环境。
在内网搭建joomla 安装LDAP验证插件需要PDP 支持LDAP

在网站的后台 ----系统 -----系统信息 ----PHP信息
可以查看 LDAP项


如果 没有 可能 PHP还未集成,需要安装。

我之前使用的是wdlinux一键安装的,没有集成LDAP支持,
查看之前的编译配置信息:
./configure --prefix=/www/wdlinux/apache_php-5.4.8 --with-config-file-path=/www/wdlinux/apache_php-5.4.8/etc --with-mysql=/www/wdlinux/mysql  --with-iconv=/usr --with-mysqli=/www/wdlinux/mysql/bin/mysql_config  --with-pdo-mysql=/www/wdlinux/mysql --with-freetype-dir  --with-jpeg-dir --with-png-dir  --with-zlib   --with-libxml-dir=/usr --enable-xml  --disable-rpath --enable-discard-path --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring  --with-mcrypt=/usr --with-gd  --enable-gd-native-ttf --with-openssl --with-mhash  --enable-ftp --enable-bcmath   --enable-exif l  --enable-sockets  --enable-zip  --with-apxs2=/www/wdlinux/apache/bin/apxs  

自己重现编译增加了LDAP支持的参数
--with-ldap --with-ldap-sasl 

完整的参数:
./configure --prefix=/www/wdlinux/apache_php-5.4.8 --with-config-file-path=/www/wdlinux/apache_php-5.4.8/etc --with-mysql=/www/wdlinux/mysql  --with-iconv=/usr --with-mysqli=/www/wdlinux/mysql/bin/mysql_config  --with-pdo-mysql=/www/wdlinux/mysql --with-freetype-dir  --with-jpeg-dir --with-png-dir  --with-zlib   --with-libxml-dir=/usr --enable-xml  --disable-rpath --enable-discard-path --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring  --with-mcrypt=/usr --with-gd  --enable-gd-native-ttf --with-openssl --with-mhash  --enable-ftp --enable-bcmath   --enable-exif --with-ldap --with-ldap-sasl  --enable-sockets  --enable-zip  --with-apxs2=/www/wdlinux/apache/bin/apxs  

在编译过程中出现了
configure: error: Cannot find ldap.h
错误 

需要安装
yum install openldap

yum install openldap-devel

安装完成之后在编译 
make
 make test
make install
安装完成之后  开启LDAP 长出现的HTTP 500 错误消失。

 LDAP插件的设置


先从shmanic网站下载插件


第一个步骤是从Shmanic下载LDAP包pkg_jmapmyldap.zip。  



在您的Joomla网站安装该软件包。 



去你的插件管理器,找到“ Authentication - JMapMyLDAP”插件。 


你将需要启用这个插件,然后单击基本选项标签自定义某些设置。





接下来,您将需要从Shmanic下载并安装pkg_jssomysite_plugins.zip。


启用SSO - HTTP插件。 






参考资料


一个功能齐全的仪表板和管理模板,带有精心设计的UI元素、组件、小部件和页面。超级干净和灵活的布局将使您可以轻松地构建Web应用程序。它可用于创建基于SaaS的界面、自定义管理面板、仪表板、CRM、CMS、电子商务面板等。 Hyper is a fully featured dashboard and admin template comes with tones of well designed UI elements, components, widgets and pages. The super clean and flexible layout would enable you to easily build web applications. It can be used to create a saas based interface, custom admin panels, dashboard, CRM, CMS, e-commerce panel, etc. Features: Built on latest bootstrap (v4.3.1) Easy customizations with extensive use of SCSS variables Fully responsive and works across all modern/supported browsers, devices Documentation on all available components, widgets, etc Easy development and tooling with Gulp workflow Components: All of Bootstrap components Icons Multiple widgets Toast Notifications Chartjs Charts Brite Charts Apex Charts Select2, Date Range Picker, Input Mask included Bootstrap form wizard Timepickers Spinner Max Length Validator Advanced Datatables Dragula – Simple Drag and Drop Multiple File Uploads WYSIWYG Editors (Summernote and SimpleMDE) Google and Vector Maps Layouts: Vertical Horizontal Detached Sidenav Light Sidenav Collapsed Sidenav Boxed (Fixed width) – Vertical and Horizontal Apps: Calendar Projects (List page, Detail Page) Tasks (List Page, Detail Modal, Add Task Modal) Ecommerce (Product listing, product detail, order listing, order detail, shopping cart, checkout, seller listing, etc) Pages: Sample Dashboard Profile Invoice FAQ Pricing Maintenance Login (Two variations) Register (Two variations) Logout (Two variations) Recover Password (Two variations) Lock Screen (Two variations) Confirm Mail (Two variations) Error 404 Error 500
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值