类似于dreamhost这类主机服务商,是显示fopen的使用 的。使用php的curl可以实现支持FTP、FTPS、HTTP HTPPS SCP SFTP TFTP TELNET DICT FILE和LDAP。curl 支持SSL证书、HTTP POST、HTTP PUT 、FTP 上传,kerb...
分类:
Web程序 时间:
2015-01-17 11:10:59
阅读次数:
283
客户端IP:192.168.1.11服务端IP:192.168.1.12目的:检查eip用户的java进程是否存在客户端配置脚本名:check_pid.sh脚本如下:#!/bin/bashsi=`ps-ef|grepjava|grepeip|wc-l`if[$si-eq1];thenecho"statusok"exit0elseecho"Theproisdown,plaesecheck!"exit1fi放在/home/monitor/n..
分类:
移动开发 时间:
2015-01-15 01:54:01
阅读次数:
198
客户端IP:192.168.1.11服务端IP:192.168.1.12目的:检查eip用户的java进程是否存在客户端配置脚本名:check_pid.sh脚本如下:#!/bin/bashsi=`ps-ef|grepjava|grepeip|wc-l`if[$si-eq1];thenecho"statusok"exit0elseecho"Theproisdown,plaesecheck!"exit1fi放在/home/monitor/n..
分类:
移动开发 时间:
2015-01-15 01:53:04
阅读次数:
178
在公司上班,我们经常需要上各种各样的内网系统,都是需要账号登陆,要是每个系统都使用独立的账号系统的话,我们就要记住好多的账号密码,十分不方便。但是单点登陆——LDAP就可以解决这个问题。
LDAP的站点:http://www.python-ldap.org/docs.shtml
LDAP可以说是一个数据储存服务器,里面存放着我们的一些信息(姓名。账号,密码,邮箱等我们可以自定)。总而言之,...
分类:
其他好文 时间:
2015-01-09 12:44:24
阅读次数:
212
====AddaLDAPDirectory====1.LoginJIRA2.Setting3.Usermanagement4.UserDirectories5.AddDirectory(InternalwithLDAPAuthentication,Next)6.ToConfigureInternal...
分类:
其他好文 时间:
2015-01-08 11:17:58
阅读次数:
413
About LDAP:
LDAP stands for Lightweight Directory Access Protocol. It is usually used to fetch (and sometimes update) data in a directory of people.
Using Net::LDAP module in Perl can provide a way ...
分类:
其他好文 时间:
2015-01-04 15:24:17
阅读次数:
163
[05/Oct/2014:20:50:37 +0800] - ERROR - Resource Limit - conn=-1 op=-1 msgId=-1 - Memory allocation error calloc of 9420 bytes failed; errno 12The serv...
分类:
其他好文 时间:
2015-01-01 01:23:10
阅读次数:
255
问题处理步骤:1、LDAP实例停止2、DSCC控制台启动,提示cacao已停止……3、启动caocaoroot@rusky bin]# ./cacaoadm startInvalid file permission: [/home/ldap/dsee6/cacao_2/etc/opt/sun/cac...
分类:
其他好文 时间:
2014-12-31 19:45:38
阅读次数:
229
一些变态的公司经常对开发者提出一些变态的问题。比如在oa系统中,要求登录验证必须使用ad域进行登录。还有的如登录crm系统必须使用公司的阿里云邮箱账号进行身份验证等等。
作为程序员我们只能按照客户的需求进行完善系统。毕竟客户才是我们的衣食父母,没办法拒绝。我这里就列举一些,在系统中集成ad域身份验证的一些配置信息,并一一解释他们的作用。
直接看代码:public boolean login()...
分类:
编程语言 时间:
2014-12-29 15:22:39
阅读次数:
173