主题: ldap_bind: Invalid credentials(49)

书接上回
按照大大的指示把LDAP全删了重新装了IREDMAIL,提示成功,于是乎开始测试添加用户的 操作
按照前辈的指示,用 create_mail_user_OpenLDAP.sh工具
sh create_mail_user_OpenLDAP.sh ymky.com test1 test2 test3 test4 test5
结果返回如下
ldap_bind: Invalid credentials (49)
Add new domain: ymky.com.
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)



求解决,其中create_mail_user_OpenLDAP.sh修改了其中两个地方:
LDAP_SUFFIX="dc=ymky,dc=com"
# Setting rootpw of LDAP.
BINDPW="password"
其他没改变,求解答,谢谢

回复: ldap_bind: Invalid credentials(49)

ldap_bind: Invalid credentials (49)

这个错误提示是说用户名密码错误。请重新检查一下账号和密码 :lol

回复: ldap_bind: Invalid credentials(49)

战神,爱死你了 ,哈哈 ,我 糊涂 了 撒,谢谢,改了密码,现在显示如下
sh create_mail_user_OpenLDAP.sh ymky.com test1 test2 test3 test4 test5
adding new entry "ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"
ldapadd: Already exists (68)

adding new entry "ou=Groups,domainName=ymky.com,o=domains,dc=ymky,dc=com"
ldapadd: Already exists (68)

adding new entry "mail=test1@ymky.com,ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"

adding new entry "mail=test2@ymky.com,ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"

adding new entry "mail=test3@ymky.com,ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"

adding new entry "mail=test4@ymky.com,ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"

adding new entry "mail=test5@ymky.com,ou=Users,domainName=ymky.com,o=domains,dc=ymky,dc=com"


这回成功了吧???

回复: ldap_bind: Invalid credentials(49)

yes

回复: ldap_bind: Invalid credentials(49)

测试成功,下一步就是增加邮箱空间了,默认10兆太小了,哈哈