posts - 29, comments - 0, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          LDAP 學習

          Posted on 2007-05-28 15:56 change 閱讀(284) 評論(0)  編輯  收藏

          測試網速的命令:

          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

          主站蜘蛛池模板: 武穴市| 普陀区| 台湾省| 康平县| 姚安县| 阿巴嘎旗| 特克斯县| 日土县| 尤溪县| 汉中市| 灵石县| 临夏市| 辽宁省| 左贡县| 金门县| 陆丰市| 察隅县| 宜川县| 迭部县| 鹤庆县| 韩城市| 三台县| 京山县| 黄山市| 勃利县| 射阳县| 集贤县| 库车县| 石家庄市| 碌曲县| 筠连县| 奉贤区| 德阳市| 绥滨县| 沙坪坝区| 巴彦县| 吉首市| 泊头市| 美姑县| 区。| 文安县|