[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Help please on Invalid credentials
Hi
Try to use "-D <binddn> -x -w <passwd>" options!
hope it helps!
Best Regards
-------------------
Hugo Tavares
Technical Support Engineer
htavares@vianetworks.pt
Tel.: +351 21 319 9200
Fax.: +351 21 319 9201
VIA NET.WORKS Portugal
local touch global reach
--------------------------
http://www.vianetworks.pt
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Monah Baki
Sent: Wednesday, July 09, 2003 1:11 AM
To: openldaP-software@OpenLDAP.org
Subject: 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