[turba] (no subject)

Björn Köster bjoern.koester at mediata.net
Tue Mar 21 06:14:22 PST 2006


Please try to set 'scope' => 'sub'


Quoting jasper <redhat at techspace.nl>:

> the only thing i want is a global addressbook reat an write to all
> but i cant get noting from te ldap directory when i run the test   
> turba/test.php it comes
> back with an entry
> but under turba noting fount when i add a entry i end up with a blank screen.
> can some one help me here i'v made about 50 diferent configurations   
> what am i doing wrong
> i made the pach core.schema core.schema.patch  no problems.
>
> please some help.
>
> my ldif
>
> dn: dc=test,dc=nl
> dc: test
> o: test
> objectClass: top
> objectClass: dcObject
> objectClass: organization
>
> dn: ou=People,dc=test,dc=nl
> ou: People
> objectClass: organizationalUnit
> objectClass: top
>
> dn: cn=Jasper Hendriks,ou=People,dc=test,dc=nl
> cn: Jasper Hendriks
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> mail: jasper at test.nl
> givenName: Jasper
> sn: Hendriks          ou: people
> street: 14 Cherry St.
> l: Dallas
> st: TX
> postalCode: 76888
> telephoneNumber: (800)555-1212
> homePhone: 800-555-1313
>
> sldap.conf
>
> include          /etc/openldap/schema/core.schema
> include          /etc/openldap/schema/cosine.schema
> include          /etc/openldap/schema/inetorgperson.schema
> include          /etc/openldap/schema/nis.schema
> include       /etc/openldap/schema/horde.schema
> include       /etc/openldap/schema/rfc2739.schema
>
> allow bind_v2
>
> pidfile          /var/run/slapd.pid
> argsfile     /var/run/slapd.args
>
> database     bdb
> suffix          "dc=test,dc=nl"
> rootdn          "cn=root,dc=test,dc=nl"
> rootpw             {SSHA}7kCrf9GWdBtFUgbe8SnP1I/qTAl92pkY
> access to * by * read
> encoding = 'iso-8859-1'
>
> directory     /var/lib/ldap/test.nl
>
> # Indices to maintain for this database
> index objectClass                                             eq,pres
> index ou,cn,mail,surname,givenname            eq,pres,sub
> index uidNumber,gidNumber,loginShell         eq,pres
> index uid,memberUid                                        eq,pres,sub
> index nisMapName,nisMapEntry                    eq,pres,sub
>
> cachesize 10000
> checkpoint 128 15
> dbnosync
> dirtyread
> searchstack 8
>
> sources.php
>
> <?php
> $cfgSources['localldap'] = array(
> #    'title' => _("Shared Directory"),
>    'type' => 'ldap',
>    'params' => array(
>        'server' => '127.0.0.1',
>        'port' => 389,
>        'tls' => false,
>        'root' => 'dc=test,dc=nl',
>        'bind_dn' => 'cn=root,dc=test,dc=nl',
>        'bind_password' => 'secret',
>        'sizelimit' => 200,
>        'dn' => array('cn'),
>        'objectclass' => array('top',
>                              'person',
>                              'organizationalPerson',
>                              'inetOrgPerson'),
>        'scope' => 'one',
>        'charset' => 'iso-8859-1',
>        // Consult the LDAP schema to verify that all required attributes for
>        // an entry are set and add them if needed.
>        'checkrequired' => false,
>        // Value used to fill in missing required attributes.
>        'checkrequired_string' => ' ',
>        // Check LDAP schema for valid syntax. If this is undefined an
>        // address field is assumed to have postalAddress syntax; otherwise
>        // the schema is consulted for the syntax to use.
>        'checksyntax' => true,
>        'version' => 3
>    ),
>    'map' => array(
>        '__key' => 'dn',
>        '__uid' => 'uid',
>        'name' => 'cn',
>        'email' => 'mail',
>        'homePhone' => 'homephone',
>        'workPhone' => 'telephonenumber',
>        'cellPhone' => 'mobiletelephonenumber',
>        'homeAddress' => 'homepostaladdress',
>        // 'freebusyUrl' => 'calFBURL',
>    ),
>    'search' => array(
>        'name',
>        'email',
>        'homePhone',
>        'workPhone',
>        'cellPhone',
>        'homeAddress'
>    ),
>    'strict' => array(
>        'dn',
>    ),
>    'export' => true,
>    'browse' => true,
> );
>
>
>
> --
> Dit bericht is gescanned op virussen en andere gevaarlijke
> inhoud door Techspace mailscanner en lijkt schoon te zijn.
>
> --
> 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
>



Mit freundlichem Grüßen
Best Regards

Björn Köster


======================================================================
MEDIATA Communications GmbH
Internetagentur - Software-Entwicklung - Kommunikation
Koelner Strasse 94-96 / 53840 Troisdorf / Germany

Email: info at mediata.net Internet: http://www.mediata.net

Tel: +49 (0) 22 41 / 972-900 Fax: +49 (0) 22 41 / 972-910
======================================================================



More information about the turba mailing list