AI实战之小程序05-搜索建议点赞评论怎么收口,我这样把互动链路补成闭环
2026/6/8 6:30:41
在LDAP复制环境中,写入操作只能在主服务器上进行。影子服务器实际上是只读的,若客户端尝试在影子服务器上修改条目,服务器会拒绝执行该操作,示例如下:
$ ldapmodify -x -W -D "uid=matt,ou=users,dc=example,dc=com" -H \ ldap://localhost Enter LDAP Password: dn: uid=matt,ou=users,dc=example,dc=com changetype: modify replace: description description: testing modify against shadow. modifying entry "uid=matt,ou=users,dc=example,dc=com" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral不过,影子服务器可以配置为将客户端重定向到主服务器。只需在数据库部分(通常在syncrepl指令下方)添加updateref指令,指定要重定向的服务器,如:
updateref ldap://directory.example.com此时,