[Date Prev][Date Next] [Chronological] [Thread] [Top]

Help please on Invalid credentials



Hi all,

/usr/local/bin/ldapsearch -b "o=whywire, c=net" "uid=mbaki"# extended LDIF
#
# LDAPv3
# base <o=whywire, c=net> with scope sub
# filter: uid=mbaki
# requesting: ALL
#


# mbaki, People, whywire, net
dn: uid=mbaki,ou=People,o=whywire,c=net
uid: mbaki
cn: mbaki
objectClass: account
objectClass: posixAccount
objectClass: top
userPassword:: e2NyeXB0fSQxJEdxVmw5VVI1JGVoLk1aRlVxMWVCNTRrR1ZPbUswSDE=
uidNumber: 1001
gidNumber: 0
homeDirectory: /home/mbaki

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
-------------------------------------

I keep getting this error when i try to ssh using my userid.

Jul 8 23:54:33 bank2 sshd[13472]: pam_ldap: error trying to bind as user "uid=m
baki,ou=People,o=whywire,c=net" (Invalid credentials)
Jul 8 23:54:33 bank2 sshd[13470]: error: PAM: authentication error



MY LDAP.CONF ----------------------

BASE    o=whywire, c=net
HOST    10.0.3.17
pam_crypt local
#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666

scope   sub

#SIZELIMIT      12
TIMELIMIT       15
#DEREF          never
pam_filter objectclass=posixAccount
pam_login_attribute     uid

suffix          "o=whywire, c=net"
rootdn          "cn=Manager, o=whywire, c=net"
rootpw          secret

index cn, sn, uid, gidnumber pres, eq, approx

index objectclass pres,eq

dbcachesize 500000
index default none


MY SLAPD.CONF ------------------------

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema

moduleload      back_bdb.la
moduleload      back_shell.la

database        bdb
suffix          "o=whywire, c=net"
rootdn          "cn=Manager, o=whywire, c=net"
rootpw          secret
directory       /usr/local/var/openldap-data
index   objectClass     eq



Thank you