Cyrus with LDAP

Craig White craigwhite at azapple.com
Fri Apr 1 12:26:01 EST 2005


On Fri, 2005-04-01 at 08:56 -0800, Shashank Agrawal wrote:
> yeah. you are right. it doesn't work now.
> 
> [root at mail openldap]# ldapsearch -x -h localhost -D
> 'ou=Manager,dc=emgbank,dc=com' -W '(uid=shashank)'
> Enter LDAP Password: 
> ldap_bind: Invalid credentials (49)
> [root at mail openldap]# 
> 
> On Apr 1, 2005 8:36 AM, Craig White <craigwhite at azapple.com> wrote:
> > On Fri, 2005-04-01 at 07:13 -0800, Shashank Agrawal wrote:
> > > This seems to be working. here is the output.
> > >
> > > [root at mail openldap]# ldapsearch -x -h localhost -D
> > > 'uid=shashank,ou=Users,dc=emgbank,dc=com' -W '(uid=shashank)'
> > > Enter LDAP Password:
> > > # extended LDIF
> > > #
> > > # LDAPv3
> > > # base <> with scope sub
> > > # filter: (uid=shashank)
> > > # requesting: ALL
> > > #
> > ---
> > yeah looks good...
> > 
> > try it with your binddn/bindpw from your saslauthd now...
> > 
> > ldapsearch -x -h localhost -D 'ou=Manager,dc=emgbank,dc=com' \
> > -W '(uid=shashank)'
----
perhaps you need to adjust your binddn setup...

binddn: uid=%u,dc=emgbank,dc=com

or no binddn at all, and let the user login bind - depends upon how your
LDAP is set up

Craig

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list