使用ldap客户端创建zimbra ldap用户的格式

cat << EOF | ldapadd -x -W -H ldap://:389 -D "uid=zimbra,cn=admins,cn=zimbra"
dn: uid=jak1,ou=people,dc=mail,dc=xxxxx2021,dc=com
zimbraAccountStatus: active
displayName: jak1
givenName: jak1
sn: jak1
zimbraMailStatus: enabled
objectClass: inetOrgPerson
objectClass: zimbraAccount
objectClass: amavisAccount
zimbraId: e2214a66-3ga2-4241-9223-44f222ce0522
zimbraCreateTimestamp: 20191102062818.876Z
zimbraMailHost: mail.xxxx2021.com
zimbraMailTransport: lmtp:mail.xxxx2021.com:7025
zimbraMailDeliveryAddress: [email protected]
mail: [email protected]
cn: jak1
uid: jak1
userPassword:: e1NTSEE1MTJ9ZzBzZGlXRlBjbDQxa2xmZ200YXc1ZkJzSGQzVXNBdVBydUlKRnZ
 LTExYby9HWXBoUkNTMzZYMEx5VnpCZUJPMGJNTCtTV2IwSnhkaHdudTViR0c1bTJabFVhU3R1N1J3
EOF

使用ldap客户端创建zimbra ldap用户的格式_第1张图片

 

 

zimbraAccountStatus 为账户设置中的状态

zimbraId 唯一的值

givenName 姓
displayName 显示名字

参考官网文档 https:///zimbraAdmin/help/en_US/admin/html/managing_accounts/user_interface_features.htm

你可能感兴趣的:(使用ldap客户端创建zimbra ldap用户的格式)