2013 年文章归档
共 6 篇文章
open ldap
sudo env CPPFLAGS="-I/usr/BerkeleyDB/include" LDFLAGS="-L/usr/BerkeleyDB/lib" ./configure --prefix=/usr/openldap-2.4.34 --sysconfdir=/etc --enable-ldbm --enable-lmpasswd --enable-spasswd --enable-dbb -enable-ldap ./configure --prefix=/usr/openldap-2.4.34 --sysconfdir=/etc --enable-ldbm --enable-lmp…
2013-04-15 13:15
linux 安装 mysql
http://www.cnblogs.com/chenjunbiao/archive/2011/01/24/1940256.html
2013-04-12 15:36 · linux
Ubuntu 安装 ftp [转]
vsftpd是Linux系统下非常常用的一款FTP程序,天缘也是事隔多年又用起这个软件,安全及性能不在话下,当然前提是要摸索着如何配置,本文汇总vsftp常用的安装和配置命令,均是入门级的,就像天缘博客一样。(注:以下命令均在终端中输入) 一、安装、重装、卸载vsftp 全新安装:apt-get install vsftpd 重新安装:apt-get --reinstall install vsftpd 卸载并清除配置文件:apt-get -purge remove vsftpd 关于如何卸载最干净问题,每种软件在安装时可能包含多个安装包模块,所以单纯的remove主程序包一般来讲肯定不干净…
2013-03-19 11:49 · linux
Spring Security , authenticate use LDAP& DataBase.
基础部分参见: http://suene.iteye.com/blog/1829807 <authentication-manager> <authentication-provider ref="authenticationProvider" /> </authentication-manager> <beans:bean id="authenticationProvider" class="org.e.simple.authtication.LdapAndDbAuthenticationProvider"> <beans:property name="authenticateByLdap…
2013-03-18 17:32 · java
搭建 Apache Directory Server
先下载 Apache DS http://directory.apache.org/apacheds/downloads.html 然后下载 Apache Directory Studio http://directory.apache.org/studio/downloads.html 然后使用 Studio 连接 Apache DS,url指向那个机器,端口是 10389 . 下面是默认的样子. 然后右键点击 dc=example,dc=com. 可以创建 Entry ,这样就能构建自己的想要的目录结构了. 创建目录成功后,可以编辑它的属性. 比如用户 uin ,userPassword…
2013-03-18 15:24 · java
Spring Security Embadded LDAP
Reference : http://lengyun3566.iteye.com/blog/1358310 http://www.zytrax.com/books/ldap/ch5/index.html#step1-ldif http://krams915.blogspot.hk/2011/01/spring-security-mvc-using-embedded-ldap.html http://static.springsource.org/spring-security/site/docs/3.2.x/reference/ldap.html pom.xml,这里只写了 LDAP 的部分…
2013-03-15 09:28 · java