zoukankan      html  css  js  c++  java
  • openLDAP

    错误提示:

    D:OpenLDAP>slapd -d 256
    515a48ae OpenLDAP 2.4.34 Standalone LDAP Server (slapd)515a48af config_build_attrs: error 21 on olcConfigFile value #0
    515a48af config_build_entry: build "cn=config" failed: ""
    515a48af backend_startup_one (type=config, suffix="cn=config"): bi_db_open failed! (-1)
    515a48af slapd stopped.
     
    C:OpenLDAP的slapd.conf
    database	bdb
    suffix		"dc=micmiu,dc=com"
    rootdn		"cn=Manager,dc=micmiu,dc=com"
    # Cleartext passwords, especially for the rootdn, should
    # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
    # Use of strong authentication encouraged.
    rootpw    {SSHA}YcikqAzyPVpVRI8uXw1zdzjRd4EQMmyv
    
    C:OpenLDAP创建文件mydemo.ldif
    dn: dc=micmiu,dc=com 
    objectclass: domain 
    objectclass: top 
    o: Michael Blog 
    dc: micmiu 
    
    dn: ou=Developer,dc=micmiu,dc=com 
    objectclass: organizationalUnit 
    ou: Developer 
    description: Container for developer entries 
    
    dn: ou=Tester,dc=micmiu,dc=com 
    objectclass: organizationalUnit 
    ou: Tester 
    description: Container for test entries 
    
    dn: uid=Michael,ou=Developer,dc=micmiu,dc=com 
    uid: Michael 
    objectClass: inetOrgPerson 
    mail: sjsky_007@gmail.com 
    userPassword: 111111 
    labeledURI: http://www.micmiu.com 
    sn: Sun 
    cn: Michael Sun 
      
    dn: uid=Miumiu,ou=Tester,dc=micmiu,dc=com 
    uid: Miumiu 
    objectClass: inetOrgPerson 
    userPassword: 111111 
    labeledURI: http://www.micmiu.com 
    sn: Wu 
    cn: Miumiu Wu 
    
     
    http://blog.itpub.net/22977/viewspace-623810/
     http://blog.sina.com.cn/s/blog_536c644701018bkx.html
    http://wenku.baidu.com/view/6b2304976bec0975f465e261.html
  • 相关阅读:
    地磁室内导航定位
    毛蔚青:图片室内定位
    利用Project Tango进行室内三维建模 精度评定
    傅里叶变换详解
    第四届空间信息智能服务研讨会会议指南
    联想Phab2 Pro Tango手机测评
    Learning ROS for Robotics Programming
    柳景斌:智能手机室内定位与智能位置服务
    VR
    发送get和post请求时常用的content-type
  • 原文地址:https://www.cnblogs.com/Snowfun/p/6034351.html
Copyright © 2011-2022 走看看