[turba] user's account bind problem
Joselito Fenix
jojo_mti at yahoo.com
Tue Oct 4 02:49:41 PDT 2005
tnx for the reply Mr. Silver, but it's the same config
i used before in sources.php...when i choose the
personal_addressbook and click the search button in
turba window no ldap entries were displayed instead of
ldap entries should display in the list of ldap
addressbook (w/ write access only on his/her account).
pls take a look (if you have time only :-) ) on my
slapd.conf...coz im newbie on both php and openldap
service :(
database ldbm
suffix "o=mycompany"
rootdn "ou=group,o=mycompany"
rootpw password
directory /var/lib/ldap/example
access to *
by * write
by * none
#access to dn="ou=group,o=mycompany"
# by dn="cn=$1, o=roadrunner" write
# by * none
schemacheck on
lastmod on
index cn,sn,st eq,pres,sub
tnx again.
jOjO
--- Silver Salonen <silver at ultrasoft.ee> wrote:
> Hi.
>
> I just set Turba to get addressbook from LDAP and it
> works perfectly :)
>
> What do you have in sources.php?
>
> I found source $cfgSources['personal_ldap'] to be
> quite good. In this source
> Horde is binding with user's username and password.
> I guess you're using the
> same?
>
> Do you have something like:
> $uid = Auth::getBareAuth();
> $basedn = 'o=mycompany';
> ...
> 'root' => 'cn=' . $uid . ',ou=group,' . $basedn,
> 'bind_dn' => 'cn=' . $uid . ',ou=group,' . $basedn,
> 'bind_password' => Auth::getCredential('password'),
> ...
>
> Silver
>
> > hi,
> >
> > i have
> >
> > whitebox linux ver.3
> > apache 2.0.54
> > php 5.0.4
> > openldap-2.0.27-11
> > imap-2002d-2
> > mysql-3.23.58-1
> > horde 3.0.5
> > imp 4.0.3
> > turba 2.0.3
> > and content of my ldif(ldap entries) is something
> like
> > this:
> >
> > dn: o=mycompany
> > objectClass: top
> > objectClass: organization
> > o: mycompany
> > description: company
> >
> > dn: cn=admin,o=mycompany
> > objectClass: organizationalRole
> > cn: jojoadmin
> > description: LDAP Directory Administrator
> >
> > dn: ou=group,o=mycompany
> > ou: group
> > objectClass: top
> > objectClass: organizationalUnit
> > description: Group of Companies
> >
> > dn: cn=user1,ou=group,o=mycompany
> > cn: user1
> > ou: group
> > o: mycompany
> > cn: user1
> > objectClass: top
> > objectClass: person
> > objectClass: organizationalPerson
> > objectClass: inetOrgPerson
> > mail: user1 at mycompany.com
> > givenname: user1
> > sn: mail
> > uid: user1
> > userPassword: password
> > .....
> > .....
> >
> > everything works fine (horde-imp based login
> > authentication, mail service etc.) except for the
> > turba. i used ldap service as my addressbook but
> > turba-mysql based addressbook works
> perfectly...anyway
> > when i tried to use
> http://xx.xx/horde/turba/test.php
> > for testing,but it gives me an error of "UNABLE TO
> > BIND AS USER1 TO LDAP SERVER". i think problem is
> on
> > the source.php in turba/config but for the past
> 3weeks
> > searching for the right configuration in the web,
> > still i haven't found the right settings in
> > source.php.hope you guys can give me the solutions
> > regarding this, and also if you can give the
> config in
> > slapd.conf of openldap regarding acl user's
> access.
> >
> > any help would be appreciated .tnx in advance
> >
> > jOjO
> --
> Turba mailing list - Join the hunt:
> http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail:
> turba-unsubscribe at lists.horde.org
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the turba
mailing list