日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

windows环境下OpenLDAP安装与客户端连接配置

發布時間:2023/12/10 windows 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 windows环境下OpenLDAP安装与客户端连接配置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

2019獨角獸企業重金招聘Python工程師標準>>>

1.下載安裝OpenLDAP版本
C:\Users\Administrator>slapd -V
OpenLDAP 2.4.42 Standalone LDAP Server (slapd)

2.安裝過程中,全部用默認的操作執行即可。

3.修改OpenLDAP文件如下:

# MDB Backend configuration file
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
ucdata-path?? ?./ucdata
include?? ??? ?./schema/core.schema
include?? ??? ?./schema/cosine.schema
include?? ??? ?./schema/nis.schema
include?? ??? ?./schema/inetorgperson.schema
include?? ??? ?./schema/openldap.schema
include?? ??? ?./schema/dyngroup.schema


pidfile?? ??? ?./run/slapd.pid
argsfile?? ?./run/slapd.args


# Enable TLS if port is defined for ldaps


TLSVerifyClient never
TLSCipherSuite HIGH:MEDIUM:-SSLv2
TLSCertificateFile ./secure/certs/server.pem
TLSCertificateKeyFile ./secure/certs/server.pem
TLSCACertificateFile ./secure/certs/server.pem


#######################################################################
# mdb database definitions
#######################################################################


database?? ?mdb
suffix?? ??? ?"dc=maxcrc,dc=com"
rootdn?? ??? ?"cn=Manager,dc=maxcrc,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}drJjDix6yL/v4cyZid5ADT/ej+RcI0RS

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory ./data
searchstack 20
# Indices to maintain
index mail pres,eq
index objectclass pres
index default eq,sub
index sn eq,sub,subinitial
index telephonenumber
index cn
?

說明:suffix:支持的域后綴,"dc=maxcrc,dc=com",表示支持maxcrc與com的域名,rootdn :此OpenLDAP的根域。可根據自己的需求修改,rootpw:管理員密碼:默認值secret,默認基于{SSHA}加密

可以根據:

C:\Users\Administrator>slappasswd
New password: 123
Re-enter new password: 123
{SSHA}2e49d0L/XomzoVsO+VuWQbC5qixCdKK/

命令修改:出現上面信息,表示修改成功。

2通過客戶端工具連接:

連接工具:ldapbrowser

安裝打開后,它會連上一個默認的internet public brower服務器。

我們需要建立連接自己主機的openLADP服務器目錄:

1.1 file》新建:

1.2 選根自己的目錄

?

1.3 填寫完整的驗證信息

?

下一步即可完成openLADP連接與查詢。

也可以使用LdapAdmin.exe連接操作:

連接操作類似上面。

?

?

?

?

轉載于:https://my.oschina.net/u/2364025/blog/1808313

總結

以上是生活随笔為你收集整理的windows环境下OpenLDAP安装与客户端连接配置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。