Cyrus with LDAP
Shashank Agrawal
shashank3 at gmail.com
Fri Apr 1 10:13:59 EST 2005
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
#
# shashank, Users, domain.com
dn: uid=shashank,ou=Users,dc=domain,dc=com
userPassword:: e21kNX1VeWFwRThnOXQ2dGdSSExta1d0ZVN3PT0=
phpgwAccountType: u
phpgwAccountExpires: -1
homeDirectory: /home/shashank
loginShell: /bin/bash
cn: Shashank Agrawal
sn: Agrawal
givenName: Shashank
uid: shashank
uidNumber: 1005
gidNumber: 1001
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: phpgwAccount
phpgwAccountStatus: A
phpgwAccountLastLogin: 1112318289
phpgwAccountLastLoginFrom: 21.57.17.24
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[root at mail openldap]#
On Apr 1, 2005 7:04 AM, Craig White <craigwhite at azapple.com> wrote:
> On Fri, 2005-04-01 at 06:11 -0800, Shashank Agrawal wrote:
> > ok. how would i resolve this issue. i think user and password are good.
> >
> > On Mar 31, 2005 9:22 PM, Craig White <craigwhite at azapple.com> wrote:
> > > On Thu, 2005-03-31 at 20:42 -0800, Shashank Agrawal wrote:
> > >
> > > > Mar 31 20:35:54 mail saslauthd[7752]: Authentication failed for
> > > > shashank/domain.com: Bind to ldap server failed (invalid
> > > > user/password or insufficient access) (-7)
> > > ----
> > > bingo
> > >
> > > Craig
> > >
> ----
> make it work...
>
> ldapsearch -x -h localhost -D 'uid=????,ou=Users,dc=domain,dc=com' -W
> '(uid=????)'
>
> if you can't do it from command line, saslauthd sure as heck can't do it
> either.
>
> 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