[turba] workNumber not displaying LDAP search

John P Reber John.P.Reber at mail.jci.tju.edu
Fri Dec 13 14:44:14 PST 2002


I was able to select the 'Work Phone' from within columns to display

I have selected to see email and workphone number

When I do a search I see the email address, but the work phone is left blank


I'm using Turba 1.1

Horde log shows:

Dec 13 14:32:01 HORDE [debug] [turba] LDAP search by reber@mail.jci.tju.edu:
root = o=Thomas Jefferson University, c=US (mail.tju.edu); filter =
"(|(|(cn=*Reber*)))"; attributes = "dn, cn, mail, telephoneNumber, sn" [on line
166 of "/var/www/html/horde/turba-1.1/lib/Driver/ldap.php"]

My horde/turba/config/sources.php:

$cfgSources['tju'] = array(
    'title' => 'TJU Directory',
    'type' => 'ldap',
    'params' => array(
        'server' => 'mail.tju.edu',
        'port' => 389,
        'root' => 'o=Thomas Jefferson University, c=US'
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'workPhone' => 'telephoneNumber'

    ),
    'search' => array(
        'name',
        'email',
        'workPhone'
    ),
    'strict' => array(
        'dn'
    ),
    'public' => true,
    'readonly' => true,
    'export' => false
);


unix ldapsearch returns:
>>>>ldapsearch -hmail.tju.edu "(sn=Reber)"

version: 2

#
# filter: (sn=Reber)
# requesting: ALL
#

# John P Reber, People, TJU, Lookup Services, Thomas Jefferson University, US
dn: cn=John P Reber, ou=People, ou=TJU, ou=Lookup Services, o=Thomas Jefferson
  University, c=US
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: quipuObject
objectClass: cdsFaxInformation
objectClass: cdsUser
objectClass: cdcDirSync
objectClass: tjuPerson
objectClass: tjuEmployee
objectClass: tjuDialupUser
objectClass: tjuEmailUser
cn: John P Reber
sn: Reber
ou: Kimmel Cancer Center
telephoneNumber: 503-4174
oldmail: John.P.Reber@mail.tju.edu
oldmail: reber@mail.jci.tju.edu
roomNumber: 812 BLSB
lastModifiedTime: 020618152711Z
lastModifiedBy: cn=tjuManager, o=Thomas Jefferson University, c=US
mhsORAddresses: /I=P/G=John/S=Reber/O=tju/P=tju/A= /C=us/
mhsORAddresses: /I=P/G=John/S=Reber/OU=smtp/O=tju/P=tju/A= /C=us/
mail: John.P.Reber@mail.tju.edu
preferredRfc822Recipient: reber@mail.jci.tju.edu
preferredX400Originator: /I=P/G=John/S=Reber/O=tju/P=tju/A= /C=us/
preferredX400Recipient: /I=P/G=John/S=Reber/OU=smtp/O=tju/P=tju/A= /C=us/
pcMailType: SMTP
uniqueUserId: reber1
userPasswordControls: 931094541:
barcodeID: IE32LAP
tjuRole: IPManage:access
tjuRole: RadiusReports:access
tjuRole: SysAdmin-KCC:super-admin
employeeID: 000605981
dialupType: 2

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


-- 
Perdida, Alberg30 #456

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the turba mailing list