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

          LDAP 學習

          Posted on 2007-05-28 15:56 change 閱讀(280) 評論(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

          主站蜘蛛池模板: 阿瓦提县| 宁乡县| 麻城市| 互助| 枣强县| 天柱县| 蚌埠市| 景洪市| 印江| 和林格尔县| 宁强县| 景谷| 汕头市| 兴义市| 富平县| 江达县| 理塘县| 赣榆县| 乌拉特中旗| 盐亭县| 宁津县| 辽宁省| 特克斯县| 乐安县| 新河县| 蓬溪县| 香河县| 临朐县| 奈曼旗| 毕节市| 乌鲁木齐市| 武陟县| 台北县| 泰来县| 紫金县| 龙川县| 濮阳县| 大余县| 宁波市| 通化县| 沈阳市|