- 论坛徽章:
- 0
|
我在/etc/nsswitch.conf里加上ldap
ssh,dovecot 都可以正常工作,只有 postfix工作不正常,错误是这样的 nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Invalid credentials
请各位给点意见
我的/etc/ldap.conf是这样的
- host 127.0.0.1
- base dc=lwll,dc=net
- timelimit 120
- bind_timelimit 120
- idle_timelimit 3600
- pam_password clear
- nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman
- rootbinddn cn=root,dc=lwll,dc=net
- ssl no
- bindpw 12222222
复制代码
/etc/openldap/ldap.conf是这样的
- URI ldap://127.0.0.1/
- BASE dc=lwll,dc=net
复制代码
/etc/openldap/slap.conf是默认的,只改了 rootdn 和 rootpw
[ 本帖最后由 fangdingj 于 2008-8-28 15:22 编辑 ] |
|