w876747558: #我这里的域名为,这里的加密密码使用第9步生成的密码 dn: olcDatabase={1}monitor,cn=config changetype: modify replace: olcAccess olcAccess: {0}to * by ="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by ="cn=admin,dc=eryajf,dc=net" read by * none dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcSuffix olcSuffix: dc=eryajf,dc=net dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcRootDN olcRootDN: cn=admin,dc=eryajf,dc=net dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcRootPW olcRootPW: {SSHA}此处填写上一步生成的密码 dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcAccess olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=admin,dc=eryajf,dc=net" write by anonymous auth by self write by * none olcAccess: {1}to ="" by * read olcAccess: {2}to * by dn="cn=admin,dc=eryajf,dc=net" write by * read
C/S与P2P的主要区别以及相同点
Go-Ldap-Admin | openLDAP 同步钉钉、企业微信、飞书组织架构实践和部分小坑