[turba] (no subject)

jasper redhat at techspace.nl
Tue Mar 21 05:30:55 PST 2006


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.



More information about the turba mailing list