[Date Prev][Date Next] [Chronological] [Thread] [Top]

is it possible to control attribute name in ldap-backend?



Running openldap with MS/outlook address book.
 
I type "Jane" in 'To' field, and press 'alt-K'.
but it show "003Jane001".
 
 
I want to show ONLY "Jane" in 'To' field.
what can I doing??
 
 
is it possible with rewriteRule?
then, Could you show me the example code?
 
It's urgent.
plz.... give me your advice..
 
 
#### Test structure #####
outlook express <--------> openldap proxy <----------> aphelion directory
MS/outlook   ---------------- ldap-backend ------------ 2003 version
#####################
 
 
##### this is aphelion data #########
dn: cn=003Jane001,o=company
objectclass: person
cn: 003Jane001
displayName: Jane
###############################
 
##### and next is slapd.conf ###########
database    ldap
lastmod        off
suffix        "o=company"
uri            ldap://IP:PORT
 
map    attribute    cn    displayName
###################################
 
 
 
####### LOG.... ldap-backend ###########
Dec 12 13:09:57 Rathon2 slapd[3753]: [ID 998954 local4.debug] conn=22 op=1 SRCH base="o=company" scope=2 deref=3 filter="(|(mail=Jane*)(|(cn=Jane*)(|(sn=Jane*)(givenName=Jane*))))"
Dec 12 13:09:57 Rathon2 slapd[3753]: [ID 706578 local4.debug] conn=22 op=1 SRCH attr=display-name cn commonName mail otherMailbox givenName sn surname st c co organizationName o ou organizationalUnitName URL homePhone facsimileTelephoneNumber otherFacsimileTelephoneNumber OfficeFax mobile otherPager OfficePager pager info title telephoneNumber l homePostalAddress postalAddress streetAddress street department comment postalCode physicalDeliveryOfficeName initials conferenceInformation userCertificate;binary userSMIMECertificate;binary labeledURI Manager Reports IPPhone
Dec 12 13:09:57 Rathon2 slapd[3753]: [ID 362707 local4.debug] conn=22 op=1 SEARCH RESULT tag=101 err=0 nentries=4 text=
####################################
 
 
 
############## LOG... aphelion ##################
2004/12/12 13:09:58.165+-900 R (831da38b/3124/1/2) conn=31 op=27 SRCH base="O=COMPANY" scope=2 filter="(|(mail=Jane*)(|(displayName=Jane*)(|(sn=Jane*)(givenName=Jane*))))"
2004/12/12 13:09:58.252+-900 R (831da38b/3124/1/2) conn=31 op=27 RESULT err=0 tag=101 nentries=4 searched=831 dereferenced=0 bases=1 index1=cn/sub_init/10 index2=mail/sub_init/0
#############################################