[turba] user's account bind problem
Silver Salonen
silver at ultrasoft.ee
Mon Oct 3 23:54:41 PDT 2005
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
More information about the turba
mailing list