測試網速的命令:
ping -n 5 -l 1472 -f www.sina.com.cn
LDAP:
如果你把 ldap 安裝為 windows 服務,你可以像我一樣啟動:
net start OpenLDAP-slapd
net stop OpenLDAP-slapd
ldapadd -x -D "cn=Manager,dc=grid,dc=nwu" -W -f example.ldif
** 注意: 在第一次添加的時候要講默認的庫 添加進去才可以,否則會報錯誤 Object 找不到?。?!
dc=example,dc=com is not there by default, you have to add it as the first entry.
Your when you are trying to add you are assuming dc=example,dc=com is there,
just remove the fred walter and try again
將每一個目錄ENTRY看作是一個統一表的一行,然后把屬性看作列
FAQ:
1:
windows下的openldap,filter 不能家單引號 如下(去掉單引號)
ldapsearch -x -b dc=grid,dc=nwu (objectclass=*)
2:
用到的objectclass (處在schema中定義) 必須在 slapd.conf 中include進來,否則報錯誤
3:
dn: cn=JSmith,ou=Managerment,dc=grid,dc=nwu
cn: James Smith,Jim Smith,Jimmy Smith
這里的dn中的cn 和屬性中的cn 必須是一樣的,否則報錯誤:alue of naming attribute 'cn' is not present in entry
4:擴展schema
http://blog.csdn.net/wcy1323/archive/2006/04/26/678459.aspx